npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@arkyn/cli

v3.0.8

Published

Command-line tool for the Arkyn ecosystem, generates and maintains an AGENTS.md file so AI coding assistants know how to use installed @arkyn/* packages.

Readme

@arkyn/cli

Command-line tool for the Arkyn ecosystem, generates and maintains an AGENTS.md file so AI coding assistants (Claude Code, Cursor, Copilot, and others that read AGENTS.md/CLAUDE.md) know how to use the @arkyn/* packages installed in your project.

npm version License TypeScript

🎯 What it solves

When an AI assistant works inside a project that consumes Arkyn packages, it has no built-in knowledge of which components, hooks, or utilities are available, or how to use them correctly. @arkyn/cli closes that gap without requiring a permanent install: it inspects your project's package.json, finds which @arkyn/* packages are installed, and wires their AGENTS.md docs (shipped inside each package) into your project's own AGENTS.md, so your AI assistant picks them up automatically.

✨ Features

  • 🔍 Detects installed packages, reads dependencies/devDependencies to find every @arkyn/* package in your project
  • 🔗 Wires up AGENTS.md, links to each installed package's shipped AGENTS.md from your project's root AGENTS.md
  • ♻️ Idempotent, safe to run multiple times, it updates its own block instead of duplicating content
  • ✍️ Non-destructive, never touches content outside its own managed block, your existing AGENTS.md notes are preserved
  • 📦 Zero install, designed to be run with npx/bunx, nothing lingers in your project afterward

📋 Prerequisites

  • Node.js >=18.0.0
  • Bun >=1.0.0

📦 Installation

No installation needed. Run it directly with npx or bunx from your project root.

npx @arkyn/cli init --agents
# or
bunx @arkyn/cli init --agents

If you prefer, you can still add it as a dev dependency and run it through a script:

npm install --save-dev @arkyn/cli

🚀 Quick Start

cd my-app
npx @arkyn/cli init --agents
Updated AGENTS.md with docs for: @arkyn/components, @arkyn/server

Re-run the same command any time you install or remove @arkyn/* packages, it keeps the list in AGENTS.md in sync.

📖 Commands

arkyn init --agents

Creates AGENTS.md in the current directory if it doesn't exist, or updates it in place if it does. It:

  1. Reads package.json in the current working directory.
  2. Collects every @arkyn/* package listed in dependencies or devDependencies.
  3. For each one, checks whether node_modules/@arkyn/<package>/AGENTS.md exists.
  4. Writes a <!-- arkyn:agents:start --> / <!-- arkyn:agents:end --> block in your AGENTS.md linking to each doc found.

If no @arkyn/* package is installed, or none of them ship an AGENTS.md yet, the command logs why and exits without modifying anything.

arkyn --help

Prints usage information.

📚 Documentation

Full documentation: https://docs.arkyn.dev/docs/cli/introduction

📄 License

This project is licensed under the Apache 2.0 License - see the LICENSE file for details.