review-skills

review-skills is a command for Claude Code from KevinZai/commander. It costs 38 tokens per session (4,200 once invoked), scanned A, original, MIT.

A review command for checking changed coding-agent skills. It runs shell checks and evaluates structural and intent-related rules before giving a pass or fail result.

In plain words
What is it for?
Use it after editing skills to detect problems across their files, related shared files, and referenced dependent skills.
Why use it?
It finds broken structure, missing requirements, and mismatches between a skill's instructions and its intended behavior. It can also apply fixes directly to the reviewed files.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md; mentions AGENTS.md.

Good fit Use it after editing skills to detect problems across their files, related…

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kevinzai/commander/review-skills
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/KevinZai/commander

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for review-skills

README.md
[![agentmods](https://agentmods.dev/badge/commands/kevinzai/commander/review-skills.svg)](https://agentmods.dev/commands/kevinzai/commander/review-skills)
Your own site
<a href="https://agentmods.dev/commands/kevinzai/commander/review-skills"><img src="https://agentmods.dev/badge/commands/kevinzai/commander/review-skills.svg" alt="Measured on agentmods" height="20"></a>
Per session 38 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,200 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00038 $0.04200
Opus 5 $0.00019 $0.02100
Sonnet 5 $0.00008 $0.00840
Haiku 4.5 $0.00004 $0.00420

Measured 3d ago against content hash bc47002fd253, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

review-skills scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 3d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/.claude/commands/review-skills.md · 326 lines

How it starts

The opening of the file, as written. The whole thing — 326 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Skill Coherence Review

You review changed skills with automated bash checks (Phase 2), 9 structural dimensions (D1-D9), and 5 intent checks (M1-M5). Fix issues in-place. Report with PASS/FAIL verdict.

Phase 1: Scope Detection

If $ARGUMENTS provided: treat each token as a skill directory prefix (e.g., ln-400 matches ln-400-story-executor/). Glob {prefix}*/SKILL.md per token.

If $ARGUMENTS empty: auto-detect from git:

git diff --name-only HEAD
git diff --name-only --cached
git ls-files --others --exclude-standard

Extract unique skill dirs (pattern ln-\d+-[^/]+) and shared paths (shared/). If shared files changed, Grep all ln-*/SKILL.md for references to changed filenames.

Build scope:

  1. Primary — skills with directly changed files
  2. Affected — skills referencing changed shared files
  3. Dependencies — for each primary skill, extract ln-\d{3,4} references from its SKILL.md (callers, callees, worker tables)

Deduplicate. Report: Scope: N primary, M affected, K dependency skills.

Phase 2: Automated Verification

Run these bash commands for every SKILL.md in scope. Record failures — they feed D7/D8 as pre-verified violations. Every FAIL is a confirmed violation — no judgment needed, no skipping allowed.

Frontmatter check (D7):

for f in {scoped SKILL.md files}; do
  head -5 "$f" | grep -q "^---" || echo "FAIL: no frontmatter: $f"
  grep -q "^name:" "$f" || echo "FAIL: no name: $f"
  grep -q "^description:" "$f" || echo "FAIL: no description: $f"
done

Version/date check (D7):

for f in {scoped SKILL.md files}; do
  grep -q "\*\*Version:\*\*" "$f" || echo "FAIL: no version: $f"
  grep -q "\*\*Last Updated:\*\*" "$f" || echo "FAIL: no date: $f"
  grep -q "\*\*Changes:\*\*" "$f" && echo "FAIL: has Changes section: $f"
done

Size check (D8):

for f in {scoped SKILL.md files}; do
  lines=$(wc -l < "$f")
  [ "$lines" -gt 800 ] && echo "FAIL: $lines lines (>800): $f"
done

Read the full file on GitHub · 326 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 3d ago First seen · 326 lines · 38 tokens per session scan A bc47002fd253

Subscribe to this mod's changes

review-skills is a command published in the GitHub repository KevinZai/commander (6 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 4,200 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-04.