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

claude-skill-validator

v1.0.0

Published

Validate and repair Claude Code skills — detect broken references, deprecated tools, syntax errors, and auto-fix issues

Downloads

73

Readme

claude-skill-validator

Validate and repair Claude Code skills — detect broken references, deprecated tools, syntax errors, and auto-fix issues.

Scans ~/.claude/skills/ and ~/.claude/commands/ in bulk to catch skill corruption caused by CLI updates, tool deprecations, or path changes.

日本語 README

Install

npm install -g claude-skill-validator

Or run without installing:

npx claude-skill-validator

Usage

# Basic scan (scans ~/.claude by default)
claude-skill-validator

# Verbose output
claude-skill-validator --verbose

# Check for updates from source repositories
claude-skill-validator --update-check

# JSON output
claude-skill-validator --json

# Scan skills/ only
claude-skill-validator --skills-only

# Scan commands/ only
claude-skill-validator --commands-only

# Specify a custom Claude config directory
claude-skill-validator --dir /path/to/.claude

# Auto-fix fixable issues (with backup)
claude-skill-validator --fix

# Preview fixes without applying
claude-skill-validator --dry-run

Check Types

| Check | What it verifies | Severity | |-------|-----------------|----------| | frontmatter | name and description fields exist in SKILL.md | WARN | | file-ref | Referenced files in INSTRUCTIONS.md, scripts/, references/ exist | FAIL | | tool-ref | Deprecated MCP tool references are detected | FAIL | | cmd-ref | Bash commands referenced in skills exist in PATH | WARN | | path-ref | Hardcoded absolute paths exist on disk | WARN | | syntax | .js, .py, .sh files in scripts/ have valid syntax | FAIL | | update | Skill source repositories have newer versions available | WARN |

Output Example

📦 nano-banana
  ❌ [tool-ref] Deprecated tool reference: tabs_context_mcp (deprecated — use browser-cli)
  ❌ [tool-ref] Deprecated tool reference: read_page (deprecated — use browser-cli snapshot)

📦 api-design-reviewer
  ❌ [syntax] api_linter.py syntax error: SyntaxError: invalid syntax

============================================================
📊 Scan Summary
  Target directory: /Users/you/.claude
  Total checks: 450
  ✅ PASS: 380  ⚠️ WARN: 60  ❌ FAIL: 10

Options

| Option | Description | |--------|-------------| | --dir <path> | Claude config directory (default: ~/.claude) | | --skills-only | Scan skills/ directory only | | --commands-only | Scan commands/ directory only | | --json | Output results as JSON | | --update-check | Check for updates from source repositories | | --verbose | Verbose output | | --fix | Auto-fix fixable issues (creates backups) | | --dry-run | Preview fixes without applying changes |

Exit Codes

| Code | Meaning | |------|---------| | 0 | No issues (no FAILs) | | 1 | FAILs found (action required) | | 2 | Tool error |

Requirements

  • Node.js 18+
  • No external dependencies (uses fs, path, child_process, os only)
  • Works on Windows, macOS, and Linux

License

MIT