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

@biroai/agentdocs-cli

v0.2.0

Published

Portable, structured documentation that AI agents can actually use. CLI for the AgentDocs format — brief.md + tasks.yaml + playbooks/.

Downloads

42

Readme

agentdocs

Portable, structured documentation that AI agents can actually use. CLI for the AgentDocs format — brief.md + tasks.yaml + playbooks/.

Think of it as npm or cargo, but for AI-agent-consumable tool docs. Your repo declares what tools exist, how to call them, and what playbooks orchestrate them — and any agent (Claude Code, Cursor, Codex, MCP clients, your own glue) can read the same thing.

Install

npm install -g @biroai/agentdocs-cli

Or use it with pnpm dlx / npx:

pnpm dlx agentdocs init stripe

Quickstart

# Scaffold a new pack under .agentdocs/stripe/
agentdocs init stripe --kind api

# Fill in brief.md (keep it under ~500 tokens) and add actions to tasks.yaml.
# Then:
agentdocs validate
agentdocs preview stripe

A pack is three things, always in the same shape:

.agentdocs/
  stripe/
    brief.md         # injected at session start (<=500 tokens)
    tasks.yaml       # structured action catalog
    playbooks/       # multi-step flows (markdown or YAML DAG)
      create-charge.md

Commands

| Command | What it does | | --- | --- | | agentdocs init <name> | Scaffold .agentdocs/<name>/brief.md, tasks.yaml, playbooks/. Flags: --kind <api\|cli\|sdk\|internal\|process>, --path <dir>, --force. | | agentdocs validate [path] | Validate brief + tasks + playbooks against the spec. Default target: ./.agentdocs. | | agentdocs preview <name> | Print the brief, action summary, and playbook list for a pack. | | agentdocs add <name> | (stub) Registry pull — coming soon. |

Root flags: --version, --help, --json. Pass --json to get machine-readable output for any command.

Exit codes

| Code | Meaning | | --- | --- | | 0 | Success (warnings are OK) | | 1 | Validation error, usage error, or missing pack | | 2 | Unexpected crash |

Schemas

Schemas and validators live in @biroai/agentdocs and are also published to npm. If you want to validate packs inside your own tooling without shelling out to this CLI, depend on that package directly.

Roadmap

  • agentdocs add <name> — pull published packs from the AgentDocs registry.
  • agentdocs init --from-openapi <file> — scaffold tasks.yaml from an OpenAPI document.
  • agentdocs init --from-mcp <endpoint> — scaffold from an MCP server's tool list.
  • Markdown playbook validation — v1 only validates YAML DAG playbooks; markdown playbooks are displayed as-is.

See github.com/Tim-ReJet/agentdocs-cli for the roadmap, and @biroai/agentdocs on npm for the spec schemas.

License

MIT © 2026 Biro AI