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

skill-compiler

v0.3.0

Published

Converts skill/framework documentation into compressed AGENTS.md indexes for AI coding agents

Downloads

1,002

Readme

AgentCompiler (skill-compiler)

Converts skill/framework documentation into compressed AGENTS.md indexes for AI coding agents

npm version GitHub

📖 Background

This project is inspired by and based on Vercel's groundbreaking research: AGENTS.md outperforms skills in our agent evals.

Key Findings from Vercel's Study

| Configuration | Pass Rate | |--------------|-----------| | Baseline (no docs) | 53% | | Skills (default) | 53% | | Skills with instructions | 79% | | AGENTS.md docs index | 100% |

Why passive context wins:

  1. No decision point - Agents don't need to decide "should I look this up?"
  2. Consistent availability - Content is in system prompt for every turn
  3. No ordering issues - Avoids sequencing decisions (read docs first vs explore first)

This tool automates the process of generating these compressed doc indexes for any project.

🚀 Quick Start

# In your project directory
npx skill-compiler

This will:

  1. 🔍 Detect frameworks from your package.json
  2. 📥 Download version-matched documentation
  3. 📦 Compress into <8KB indexes
  4. ✅ Generate/update your AGENTS.md

Usage

# One-time generation
npx skill-compiler

# Watch mode (auto-update on dependency changes)
npx skill-compiler watch

# Preview without writing
npx skill-compiler --dry-run

# Only specific frameworks
npx skill-compiler --only nextjs,react

# Force refresh cached docs
npx skill-compiler --refresh

# Add custom skill
npx skill-compiler add ./my-skill-docs/

# Run evaluation suite
npx skill-compiler eval

Supported Frameworks

| Framework | Package Match | |-----------|--------------| | Next.js | next | | React | react | | Vue.js | vue | | Astro | astro | | SvelteKit | @sveltejs/kit | | Supabase | @supabase/supabase-js | | Tailwind CSS | tailwindcss | | Prisma | prisma, @prisma/client | | Drizzle ORM | drizzle-orm | | tRPC | @trpc/server, @trpc/client | | Zod | zod | | TanStack Query | @tanstack/react-query |

Generated Output

The tool generates a managed section in your AGENTS.md:

<!-- BEGIN SKILL-COMPILER MANAGED SECTION -->

## Framework Documentation Indexes

[Next.js Docs Index]|root: ./.agent-docs/nextjs
|IMPORTANT: Prefer retrieval-led reasoning over pre-training-led reasoning for Next.js tasks.
|01-app\01-getting-started:{01-installation.mdx,02-project-structure.mdx,...}
|...

<!-- END SKILL-COMPILER MANAGED SECTION -->

Your existing AGENTS.md content is preserved—only the managed section is updated.

Evaluation Suite

Run Vercel-methodology evals to verify improvements:

npx skill-compiler eval

Outputs Build, Lint, Test, and Pass Rate metrics comparing baseline vs AGENTS.md configurations.

How It Works

  1. Scanner - Detects frameworks from package.json, .agent/skills/, and config files
  2. Fetcher - Downloads version-matched docs from GitHub (cached for 7 days)
  3. Compressor - Compresses to <8KB using pipe-delimited format
  4. Injector - Merges into AGENTS.md while preserving user content

Configuration

Create .skill-compiler.json to customize behavior:

{
  "out": "./AGENTS.md",
  "only": ["nextjs", "react"],
  "conflicts": {
    "hooks/*": "prefer:react"
  }
}

Background Automation

npm postinstall

{
  "scripts": {
    "postinstall": "skill-compiler --silent"
  }
}

Watch mode with dev server

{
  "scripts": {
    "dev": "concurrently 'next dev' 'skill-compiler watch'"
  }
}

Git pre-commit hook

# .husky/pre-commit
npx skill-compiler --check || exit 1

🙏 Acknowledgments

This project would not exist without the research and insights from:

  • Vercel - For their comprehensive research on AGENTS.md vs skills, published in this blog post
  • Jude Gao - Research and evals at Vercel
  • Next.js Team - For the @next/codemod agents-md implementation that inspired the compression format
  • AGENTS.md Standard - For establishing the convention for agent context files
  • Agent Skills - For the skills standard that drove the comparative research

🤝 Contributing

Contributions are welcome! See CONTRIBUTING.md for guidelines.

Ways to contribute:

  • Add new framework registries
  • Improve compression algorithms
  • Enhance the eval suite
  • Report bugs and suggest features
  • Improve documentation

📄 License

MIT