/skill-curator:skill-curatorfrom skill-curator
This skill should be used to keep a skill library from only growing — the user says "curate my skills", "which skills are unused", "prune stale skills", "clean up the skill library", "are there duplicate skills", "what should I retire", or a periodic maintenance run is due (weekly, or before adding many skills). Counts real usage from Claude Code transcripts, classifies each skill active / stale / archive-candidate with pinned and depended-on skills exempt, optionally proposes merges, and lands every change as a reviewable PR — never deletes, never retires on an LLM's judgement alone.
Ships in skill-curator. 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.
Read when SKILL.md points to them; scripts run unread.
A library that only grows turns into noise: near-duplicates compete for the same trigger,
descriptions get truncated once the listing passes its budget (about 1% of the context
window in Claude Code), and stale procedures send agents down dead routes. This is the
pruning half of the loop harvest (retain) and capability-broker (retrieve) do not cover.
Ported from the Hermes Agent curator (MIT, NousResearch/hermes-agent,
docs/user-guide/features/curator), keeping its thresholds and safety rules and replacing
its runtime with what this fleet already has: transcripts for usage, git for the ledger,
PRs for approval.
┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐ ┌───────────┐
│ 1. Count │-->│ 2. Check │-->│ 3. Decide │-->│ 4. (opt) │-->│ 5. Land │
│ usage │ │ window │ │ per state │ │ merges │ │ one PR │
└───────────┘ └───────────┘ └───────────┘ └───────────┘ └───────────┘
python3 <this skill>/scripts/skill-usage.py --repo <content-repo-checkout> # add --json for data
It reads every transcript under ~/.claude/projects and counts a skill as used when the
model called the Skill tool with it, or the user typed /<name> (a plugin's own skills,
<plugin>:<skill>, count for the plugin). It then classifies each entry in the content
repo's .claude-plugin/marketplace.json:
| State | Rule (defaults from Hermes) |
|---|---|
pinned | Listed in index/curation.json → pinned. Never proposed. |
exempt | Another entry's files name it in backticks — it is depended on (Hermes skips cron-referenced skills for the same reason). |
active | Used within stale_after_days (14), or never used but younger than 14 days: zero uses is absence of evidence, not proof. |
stale | Idle ≥ 14 days. Report only. |
archive-candidate | Idle ≥ archive_after_days (30). Propose retirement. |
deprecated | Its SKILL.md frontmatter has deprecated: true (harvest's deprecate operation). Propose retirement whatever the usage. |
Third-party skills that were used are listed, report only: this curator never edits content it does not own (Hermes treats hub-installed skills the same way).
Check: the header says how many days the transcripts cover.
Absence of use only counts over the days the transcripts actually cover. The script caps "idle" at that window, so a fresh machine or a short window proposes nothing, and says so.
Two limits of the signal, stated in the PR every time:
stale at most.cleanupPeriodDays (default 30).
To see further back, raise it in the declared settings; otherwise 30 days is the ceiling.replaced_by.plugins list enables nothing). Where
that switch lives depends on who owns the plugin's enabledPlugins key in
~/.claude/settings.json. On the kattakath fleet (nix-config modules/home/claude-plugins.nix,
since 2026-11-07; the older local.claudePlugins.declared map is retired):
alwaysOnIds or operatorIds) is written by Nix on
every activation, so retiring it is a nix-config change, landed as that repo lands changes;/plugin, or
claude plugin disable <name>@<marketplace>), which persists because Nix writes no key
for it. That is a toggle, not a PR: the curation PR records the proposal and its evidence,
and the operator flips the switch.
The skill stays published and one switch restores it: re-enabling is the rollback Hermes needed snapshots for.purge is also explicit-only).Off by default, as in Hermes (consolidate: false); run it only when asked. Read the
descriptions of stale/archive-candidate skills and of any pair whose descriptions share
their trigger phrases. For each overlap, propose one of: keep both (they trigger on different
requests), merge into an umbrella, or fold the smaller one into the larger one's
references/. Treat a skill with scripts/, references/ or assets/ as a whole package:
move its files with it or keep it standalone; never flatten only its SKILL.md.
Merges rewrite content, so each is its own PR in the content repo, re-tested with
skill-creator's evals when it is installed, and with index/routes.json updated so CI's
index check passes.
Human gate: a person merges it. The PR carries:
Window: <N days from YYYY-MM-DD, host(s)>
Retire: <archive-candidates, idle days, last use> -> harness change (always-on id) or operator toggle
Watch: <stale>
Exempt: <pinned / depended-on, and by what>
Merges: <proposals, or "not run">
Limits: <per-machine, retention>
Everything is reversible by reverting the PR. The git history is the ledger.
skill-creator's trigger tuning, not a curation decision.What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub kattakath/skills --plugin skill-curator