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

agenticgrade

v0.2.0

Published

Scans a repo and scores its agentic-coding readiness across Documentation, Architecture, Testing, Automation Guard Rails, AI Context, and Maintainability.

Readme

agenticgrade

Scans a repository and scores its agentic-coding readiness — whether the repo has what an AI coding agent needs to work well unaided — across six categories: Documentation, Architecture, Testing, Automation Guard Rails, AI Context, and Maintainability.

The scan also detects which agentic-tooling provider convention a repo uses (openspec, claude, a generic AGENTS.md-based universal setup, or none) and applies provider-specific bonus metrics on top of the base catalog.

See docs/METRICS.md for the full metric reference — every metric's description, fix instruction, and remediation explanation in one table.

Setup

npm install
npm run build

Run

npx agenticgrade scan [path]             # human-readable report, defaults to the current directory
npx agenticgrade scan [path] --json      # structured JSON output
npx agenticgrade scan [path] --summary   # condensed report: overall, top improvements, providers, category totals — no per-metric detail
npx agenticgrade scan [path] --detailed  # expanded report: each failing metric is followed by a remediation explanation
npx agenticgrade scan [path] --html      # renders a self-contained HTML report and opens it in your browser

A simple scan

https://github.com/user-attachments/assets/a92951e2-ced9-48d2-9b7b-2b65643dc9f6

Detailed HTML report

https://github.com/user-attachments/assets/81d58ff2-f674-4ec5-b5e0-193ec3cae5d0

The human-readable report prints, top to bottom: detected providers, the category/metric breakdown, a divider, then the overall score/grade and Top Improvements — the summary comes last so it's still on screen after a long breakdown, without scrolling.

--summary can be combined with --json or --html to trim per-metric detail the same way: each category omits its individual metric rows/metrics array.

--detailed can be combined with --json or --html to include each failing metric's remediation text (a remediation field in JSON; an indented explanation in the text/HTML report). Without --detailed, JSON metric results have no remediation field. --detailed has no effect when --summary is also set, since --summary already omits per-metric output entirely.

--html and --output

npx agenticgrade scan [path] --html                        # writes a temp HTML file and opens it in your default browser
npx agenticgrade scan [path] --html --output report.html   # writes the HTML report to the given path instead
npx agenticgrade scan [path] --json --output report.json   # writes the JSON report to the given path instead of stdout

--html renders the scan as a self-contained HTML document (inline styles, no external assets) — handy for sharing or printing as a PDF via your browser's print dialog. Its section order is Overall → Top Improvements → providers → categories (unlike the terminal report, an HTML/PDF document has no scrollback problem, so the summary stays at the top).

--output <path> redirects --html or --json output to a file (creating any missing parent directories) instead of opening a browser or printing to stdout, and prints a confirmation naming the file. If both --html and --json are passed, --html takes precedence and --output writes the HTML. --output has no effect unless --html or --json is also passed.

During development, run directly against source without building:

npm run dev -- scan [path]

Known issue: npx agenticgrade scan [path] currently exits silently with no output. dist/cli.js's main-module check (import.meta.url === new URL(process.argv[1], 'file:').href) fails when the CLI is invoked through the node_modules/.bin/agenticgrade symlink that npx uses, because import.meta.url resolves through the symlink to a different path than process.argv[1]. Until that's fixed, run the built CLI directly instead:

npm run build
node dist/cli.js scan [path]        # e.g. node dist/cli.js scan . to score this repo
node dist/cli.js scan [path] --json

Test

npm test