/toolbelt:skill-stocktakefrom toolbelt
Use when auditing Claude skills and commands for quality. Supports Quick Scan (changed skills only) and Full Stocktake modes with sequential subagent batch evaluation.
Ships in toolbelt. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Audits all Claude skills (and, where present, commands) using a quality checklist + AI holistic judgment. Supports two modes: Quick Scan for recently changed skills, and Full Stocktake for a complete review.
This version has no bundled scripts/*.sh — the original ECC skill shipped scan.sh, quick-diff.sh, and save-results.sh. Their logic (reviewed for safety: pure local file scanning, no network calls) is documented below as bash you run directly with the Bash tool during the audit, rather than as checked-in executables.
Targets the following paths relative to the directory where the audit is invoked:
| Path | Description |
|---|---|
~/.claude/skills/ | Global skills (all projects) |
{cwd}/.claude/skills/ | Project-level skills (if the directory exists) |
At the start of Phase 1, explicitly list which paths were found and scanned.
To include project-level skills, run from that project's root directory. If the project has no .claude/skills/ directory, only global skills are evaluated.
| Mode | Trigger | Duration |
|---|---|---|
| Quick Scan | results.json exists (default) | 5–10 min |
| Full Stocktake | results.json absent, or explicitly requested | 20–30 min |
Results cache: ~/.claude/skill-stocktake-results.json
Re-evaluate only skills that have changed since the last run (5–10 min).
~/.claude/skill-stocktake-results.json.evaluated_at.quick-diff.sh)For each .md file under the global dir (and project dir if present):
date -u -r "$file" +%Y-%m-%dT%H:%M:%SZ.~-relative form for comparison against results.json paths.results.json's .skills[].path list → it's new, always include it.evaluated_at (ISO 8601 strings compare correctly this way).evaluated_at in results.json must match ^[0-9]{4}-[0-9]{2}-[0-9]{2}T[0-9]{2}:[0-9]{2}:[0-9]{2}Z$; if it doesn't (missing/malformed), treat the cache as invalid and fall back to a Full Stocktake.scan.sh)For each of the global dir and, if present, the project dir:
find "$dir" -name "*.md" -type f | sortname and description from the YAML frontmatter (the first ----delimited block; single-line key: value or key: "value" — no multi-line YAML blocks) and its UTC mtime.~-relative), name, description, mtime.Usage-frequency counts (use_7d / use_30d) are optional telemetry from an observations log at ~/.claude/observations.jsonl (one JSON object per line, {"tool":"Read","path":...,"timestamp":...}). This file is not created by default — if it doesn't exist, report 0 for both counts rather than guessing, and say usage data is unavailable rather than implying the skill is unused.
Present the scan summary and inventory table:
Scanning:
found ~/.claude/skills/ (N files)
found/not found {cwd}/.claude/skills/ (N files / not found — global skills only)
| Skill | 7d use | 30d use | Description |
|---|
Delegate evaluation to a subagent (in Claude Code: the Agent tool with subagent_type="general-purpose"; in another harness, whatever sub-task/delegation mechanism is available — or, if none exists, evaluate the batch directly yourself) with the full inventory and checklist:
Evaluate the following skill inventory against the checklist.
[INVENTORY]
[CHECKLIST]
Return JSON for each skill:
{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }
The evaluator reads each skill, applies the checklist, and returns per-skill JSON:
{ "verdict": "Keep"|"Improve"|"Update"|"Retire"|"Merge into [X]", "reason": "..." }
Chunk guidance: Process ~20 skills per batch to keep context manageable. Save intermediate results to results.json (status: "in_progress") after each chunk.
After all skills are evaluated: set status: "completed", proceed to Phase 3.
Resume detection: If status: "in_progress" is found on startup, resume from the first unevaluated skill.
Each skill is evaluated against this checklist:
- [ ] Content overlap with other skills checked
- [ ] Overlap with MEMORY.md / CLAUDE.md checked
- [ ] Freshness of technical references verified (use web search if tool names / CLI flags / APIs are present)
- [ ] Usage frequency considered
Verdict criteria:
| Verdict | Meaning |
|---|---|
| Keep | Useful and current |
| Improve | Worth keeping, but specific improvements needed |
| Update | Referenced technology is outdated (verify with a web search) |
| Retire | Low quality, stale, or cost-asymmetric |
| Merge into [X] | Substantial overlap with another skill; name the merge target |
Evaluation is holistic AI judgment — not a numeric rubric. Guiding dimensions:
Reason quality requirements — the reason field must be self-contained and decision-enabling:
"Superseded""disable-model-invocation: true already set; superseded by X which covers all the same patterns plus confidence scoring. No unique content remains.""Overlaps with X""42-line thin content; Step 4 of Y already covers the same workflow. Integrate the 'Z' tip as a note in that skill.""Too long""276 lines; Section 'Framework Comparison' (L80–140) duplicates another skill; delete it to reach ~150 lines.""Unchanged""mtime updated but content unchanged. Unique reference explicitly relied on elsewhere; no overlap found."| Skill | 7d use | Verdict | Reason |
|---|
Actual archive/delete operations should go through config-gc's confirm-each-deletion workflow rather than being done ad hoc here — this skill's job is to produce the verdict, not to silently execute it.
~/.claude/skill-stocktake-results.json:
evaluated_at: Must be set to the actual UTC time of evaluation completion.
Obtain via Bash: date -u +%Y-%m-%dT%H:%M:%SZ. Never use a date-only approximation like T00:00:00Z.
{
"evaluated_at": "2026-02-21T10:00:00Z",
"mode": "full",
"batch_progress": {
"total": 80,
"evaluated": 80,
"status": "completed"
},
"skills": {
"skill-name": {
"path": "~/.claude/skills/skill-name/SKILL.md",
"verdict": "Keep",
"reason": "Concrete, actionable, unique value for X workflow",
"mtime": "2026-01-15T08:30:00Z"
}
}
}
save-results.sh)When writing results back:
evaluated_at to the current UTC time (date -u +%Y-%m-%dT%H:%M:%SZ), not a value carried over from input.results.json doesn't exist yet, create it directly from the new evaluation output plus evaluated_at..skills entries override existing ones by key; skills not touched in this run are kept as-is; .mode and .batch_progress are updated only if the current run provides them.results.json.config-gc — executes the Retire/Merge verdicts this skill produces, with its own confirm-each-deletion safety net.context-budget — audits token cost; this skill audits content quality. A skill can be cheap but bad, or expensive but excellent — run both.What SKILL.md sets; muted values are Claude Code's defaults
40 skills in this plugin
/agent-self-evaluationUse after completing any non-trivial task. The agent self-rates its output on 5 axes — accuracy, completeness, clarity, actionability, conciseness — with concrete evidence per criterion. Produces a structured 1-5 scorecard with specific improvement suggestions./architecture-audit프로젝트의 설계(데이터/스키마 생명주기, API·인터페이스 계약, 상태 머신, 실패·경계 처리, 결합도·확장성, 신뢰 경계)가 얼마나 견고한지 근거와 함께 감사하는 스킬. structure-audit(파일·계층 조직)과 다르다 — 이 스킬은 "어디에 있는가"가 아니라 "이 모델링이 맞는가"를 본다. 코드 수정 없이 조사·보고만 한다. Triggers - "설계 감사", "아키텍처 감사", "설계 검토", "이 스키마 설계 괜찮은지", "API 계약 검토", "이 상태 머신 맞게 짰는지", "design audit", "architecture review", "schema design review"/article-writingWrite articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive voice derived from supplied examples or brand guidance. Use when the user wants polished written content longer than a paragraph, especially when voice consistency, structure, and credibility matter.Other plugins' skills for the same job
npx claudepluginhub jh3779/agent-toolbelt-public --plugin toolbelt