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-tools

v0.4.1

Published

Validate, lint, and score Agent Skills (SKILL.md) files

Readme

skill-tools

The ESLint + Lighthouse for Agent Skills. Validate, lint, and score SKILL.md files. 20 spec checks, 10 lint rules, 0-100 quality scoring.

Try it now

npx skill-tools check ./my-skill/

Getting Started

# 1. Install
npm install -g skill-tools

# 2. Scaffold a skill
skill-tools init my-first-skill

# 3. Check it
skill-tools check ./my-first-skill/

Output:

  my-first-skill  PASS
  ──────────────────────────────────────────────────
  ✓  File is readable
  ✓  Valid YAML frontmatter
  ✓  Has name field
  ✓  Has description field
  ✓  Has markdown body
  ✓  Within token budget
  ...
  20 checks  │  20 passed

  ✓  Description uses specific verbs
  ✓  No hardcoded paths
  ✓  No embedded secrets
  ...
  10 rules  │  9 passed  │  1 warning

  Quality Score  72/100  ★★★☆☆
  ──────────────────────────────────────────────────
  Description Quality       ██████░░░░  18/30
  Instruction Clarity       ████████░░  21/25
  Spec Compliance           ██████████  20/20
  Progressive Disclosure    ██████████  15/15
  Security                  ██████████  10/10

  Suggestions
  1. Add "Use when..." trigger context to description  +6 pts
  2. Add more specific verbs in description  +4 pts

Commands

Core

skill-tools validate <path>   # 20 spec compliance checks
skill-tools lint <path>        # 10 quality rules
skill-tools score <path>       # 0-100 quality score (5 dimensions)
skill-tools check <path>       # All three combined

Routing

# Find the best skill for a query (BM25 search)
skill-tools route "deploy my app" --skills ./skills/

# Detect conflicting/overlapping skills
skill-tools route --conflicts --skills ./skills/

# Save and load router index snapshots
skill-tools route --index ./skills/ --save snapshot.json
skill-tools route --load snapshot.json "deploy"

Workflow

# Watch for changes — re-checks on save
skill-tools watch ./skills/

# Scaffold a new skill
skill-tools init deploy-vercel

# Generate prompt XML for agent system prompts
skill-tools to-prompt ./skills/

# Install a git pre-commit hook
skill-tools hook install

CI Integration

# SARIF output for GitHub Code Scanning
skill-tools check ./skills/ --format sarif > results.sarif

# Exit code 1 on warnings (default: only errors)
skill-tools check ./skills/ --fail-on warning

# Fail if any skill scores below 70
skill-tools check ./skills/ --min-score 70

Lint Rules

| Rule | Default | Description | |------|---------|-------------| | description-specificity | warn | No generic verbs ("manage", "handle") | | description-trigger-keywords | warn | Has action verbs or "Use when..." | | description-length-optimal | warn | Description length in optimal range | | progressive-disclosure | warn | Large files use references/ | | no-hardcoded-paths | error | No /Users/... or C:\ paths | | no-secrets | error | No API keys, tokens, private keys | | instructions-has-examples | info | Has code blocks or numbered steps | | instructions-has-error-handling | info | Mentions error handling | | consistent-headings | info | No skipping heading levels | | section-count-optimal | info | Optimal number of sections |

Score Dimensions

| Dimension | Points | Key Factors | |-----------|--------|-------------| | Description Quality | 30 | Length, specificity, trigger context | | Instruction Clarity | 25 | Code blocks, steps, error handling | | Spec Compliance | 20 | Name, description, tokens, lines | | Progressive Disclosure | 15 | File size, use of references/scripts | | Security | 10 | No secrets, no hardcoded paths |

GitHub Action

- uses: skill-tools/skill-tools/action@v1
  with:
    path: './skills/'
    min-score: '70'
    fail-on: 'warning'

Inputs:

| Input | Default | Description | |-------|---------|-------------| | path | . | Path to SKILL.md files or directories | | min-score | 0 | Minimum quality score (0-100) | | fail-on | error | Severity threshold: error, warning, info | | version | 0.2.2 | skill-tools version to use |

Library API

import { validate, lint, score, watchSkills, toSarif } from 'skill-tools';

// Validate
const results = await validate('./my-skill/');

// Lint + Score
for (const r of results.filter(r => r.valid)) {
  const lintResult = lint(r.skill);
  const qualityScore = score(r.skill);
  console.log(qualityScore.score); // 0-100
}

// Watch for changes
const handle = watchSkills('./skills/', { debounceMs: 300 },
  (result) => console.log(result.scores),
  (err) => console.error(err),
);

// SARIF for GitHub Code Scanning
const sarif = toSarif(validationResults, lintResults);

See Also

License

Apache-2.0