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

@polarpoint/agentsmd-validator

v1.1.0

Published

Validate AGENTS.md files against a zone-structured schema

Readme

@polarpoint/agentsmd-validator

Validates AGENTS.md files against a zone-structured schema. Designed for use in CI pipelines across platform engineering repos.

Usage

npx @polarpoint/agentsmd-validator \
  --schema https://raw.githubusercontent.com/your-org/platform-standards/main/schema.json \
  --file AGENTS.md

Options

| Flag | Description | |---|---| | --file <path> | Path to the AGENTS.md file to validate (required) | | --schema <url\|path> | URL or local path to a schema.json (optional) | | --strict | Treat warnings as errors (non-zero exit) |

What it checks

  1. Zone markers present<!-- zone:1:start --> / <!-- zone:1:end --> exist
  2. Zone order — zones appear in ascending numeric order
  3. Required Zone 1 sections## Sync model, ## Forbidden paths, ## Naming conventions, ## Running tests all present
  4. Running tests is actionable — the section contains at least one executable command (code block or inline command)
  5. Zone 1 hash — if a schema is supplied, warns when Zone 1 content has drifted from the template version

Zone structure

<!-- zone:1:start -->
## Sync model
...
## Forbidden paths
...
## Naming conventions
...
## Running tests
...
<!-- zone:1:end -->

<!-- zone:2:start -->
## Team conventions
...
<!-- zone:2:end -->

<!-- zone:3:start -->
## Repo-specific notes
...
<!-- zone:3:end -->

GitHub Actions

Copy .github/workflows/validate-agents-md.yml into your repo, update the --schema URL to point at your platform-standards repo, and the validator runs on every PR that touches AGENTS.md.

Schema format

{
  "templateVersion": "1.0.0",
  "zone1Hash": "98dfe660cbdaf240",
  "requiredSections": ["Sync model", "Forbidden paths", "Naming conventions", "Running tests"]
}

After editing your template, regenerate zone1Hash:

node -e "
  const c=require('crypto'), f=require('fs');
  const z=f.readFileSync('templates/default-agents-md.md','utf8')
    .match(/zone:1:start[\s\S]*?zone:1:end/)[0];
  console.log(c.createHash('sha256').update(z.replace(/\s+/g,' ').trim()).digest('hex').slice(0,16))
"