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

@bydeusz/agent-md-docs

v1.0.3

Published

A CLI tool that downloads framework documentation and generates a minified docs index for AGENTS.md or CLAUDE.md

Readme

byDeusz agent MD docs

A CLI tool that downloads up-to-date framework documentation and generates a minified docs index for your AGENTS.md or CLAUDE.md file -- so AI coding agents always know where to find the right docs.

Inspiration

This project was inspired by Vercel's research showing that a compressed docs index in AGENTS.md achieved a 100% pass rate on their agent evals, outperforming skill-based approaches. The key insight: passive context (always available in AGENTS.md) beats active retrieval (skills the agent must decide to invoke).

Read the full article: AGENTS.md outperforms skills in our agent evals

This tool extends that approach beyond Next.js to 12 frameworks across multiple categories, so any project can benefit from retrieval-led reasoning.

Supported Frameworks

Frontend

Backend

Bundlers

ORMs

Styling

Usage

The CLI will:

  1. Ask which AI tool you use (GitHub Copilot, Cursor, or Claude Code)
  2. Ask which framework documentation to download (frontend / backend / bundler / ORM / styling)
  3. Clear the .docs/ folder and download fresh docs
  4. Generate a minified index and insert it into AGENTS.md or CLAUDE.md
  5. Save a manifest (.docs/manifest.json) to track installed docs

Via npx

npx @bydeusz/agent-md-docs

Upgrade existing docs

To re-download and update all previously installed docs without going through the prompts:

npx @bydeusz/agent-md-docs --upgrade

This reads the manifest and re-downloads everything in one go.

Local development

npm install
npm run build
node dist/index.js

What it does

The tool downloads markdown documentation from a framework's GitHub repository and saves it locally in a .docs/ folder. It then scans the downloaded docs and generates a compact, single-line index wrapped in HTML comment markers, like:

<!-- NESTJS-AGENTS-MD-START -->[NestJS Docs Index]|root: ./.docs/nestjs|...|cli:{libraries.md,overview.md,...}|...<!-- NESTJS-AGENTS-MD-END -->

This index is inserted into your AGENTS.md or CLAUDE.md file. AI agents can use this index to quickly locate and read the relevant documentation for the framework being used in the project.

Adding more frameworks

To add a new framework, create a config file in src/frameworks/ and register it in src/frameworks/registry.ts. Each framework config specifies:

  • Category (frontend, backend, bundler, orm, or styling)
  • GitHub repository and branch
  • Path to the documentation content
  • File extensions to download (.md, .mdx, etc.)
  • Optional extension conversion (e.g. .txt.md for Django)
  • Comment markers for the index block