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

@adlc/skill-rot

v1.1.0

Published

Validates the verifiable claims inside skills — cache invalidation for skill rot (P7/C10).

Readme

skill-rot

ADLC phase: P7 — cache invalidation (C10)

Skills are caches. skill-rot validates that the verifiable claims inside each SKILL.md file still hold against the current repository. Stale skills deliver misinformation with the authority of a cached expert — worse than no skill at all. Run weekly in CI to keep the skill corpus honest.

Usage

skill-rot [path ...] [--write] [--json]

Default search roots (searched only when they exist):

  • .claude/skills
  • .agents/skills
  • skills

Pass one or more explicit path arguments to override the defaults.

Flags

| Flag | Description | |------|-------------| | --write | When all claims in a skill are ok, upsert last-verified: <YYYY-MM-DD> into the skill's frontmatter (created if absent). Skills with stale claims are never stamped. | | --json | Machine-readable output for orchestrators. Prints a JSON object with skills[] and summary. |

What gets verified

For each SKILL.md file found recursively (skipping node_modules and .git):

  1. Commands — backtick-enclosed spans and fenced code block lines whose first token looks like a command name. Verified via:

    • ./node_modules/.bin/<cmd> presence, OR
    • sh -c 'command -v <cmd>'

    Placeholder tokens are skipped: <ANGLE_BRACKETS> and UPPERCASE_VARS (3+ chars, all caps/underscores/digits) are never counted as stale.

  2. File paths — tokens containing / and a file extension (e.g. src/index.mjs). Checked via existsSync from the repo root and from the skill's own directory.

  3. Script referencesnpm run X, npx X, pnpm X, yarn X patterns. Key X is looked up in scripts of the root package.json. If no package.json exists, the claim is unverifiable.

Claim statuses:

  • ok — verifiable and passes
  • stale — verifiable but fails (counts toward gate failure)
  • unverifiable — cannot determine truth (URLs, no package.json, ambiguous)

Unverifiable claims are never counted as stale.

Exit codes

| Code | Meaning | |------|---------| | 0 | Gate passes — all skills clean | | 1 | Operational error — no SKILL.md files found, bad input | | 2 | Gate fails — at least one skill has stale claims |

Examples

# Check defaults (.claude/skills, .agents/skills, skills)
skill-rot

# Check specific directories
skill-rot .claude/skills .agents/skills

# Stamp clean skills with today's date
skill-rot --write

# JSON output for CI integrations
skill-rot --json

Relationship to sibling tools

  • lesson-foundry (C9) — produces skills; skill-rot validates they stay fresh
  • review-calibration (C8) — calibrates review quality; skill-rot prevents outdated guidance corrupting that calibration loop
  • gate-manifest (C11) — can consume skill-rot exit code as a provenance signal

Core gaps

None. This tool uses only Node 18+ built-ins and @adlc/core for CLI utilities (parseArgs, pass, gateFail, opError, printJson).