megabytespace

Audit Router — Security skill for Claude Code

Security community

Validate _router.md — check every referenced skill file exists; surface stale entries + orphan files; --fix prunes or stubs.

How to install Audit Router

Installs to ~/.claude/skills/megabytespace-claude-skills-audit-router/SKILL.md

Terminal
mkdir -p ~/.claude/skills/megabytespace-claude-skills-audit-router && curl -fsSL https://raw.githubusercontent.com/megabytespace/claude-skills/HEAD/commands/audit-router.md -o ~/.claude/skills/megabytespace-claude-skills-audit-router/SKILL.md

Restart Claude Code, or start a new session, for it to be picked up.

What Audit Router does


description: Validate _router.md — check every referenced skill file exists; surface stale entries + orphan files; --fix prunes or stubs argument-hint: [--fix] allowed-tools: Bash, Read, Edit, Glob

Audit `_router.md` for dead references and unregistered files. A router pointing at non-existent skills silently misdirects Claude; skill files

Alternatives in Security

  • Security Check — Scan project for security issues — exposed secrets, missing .gitignore entries, unsafe patterns 335 ★
  • Audit Docs — Scan documentation for staleness — broken links, outdated counts, stale version references, and inconsistencie 95 ★
  • Open Skill Sunset — Local, read-only audit for stale AGENTS.md, CLAUDE.md, and generic SKILL.md instructions 84 ★

Full documentation available on GitHub

View Source Repository