skill-lifecycle
Skill47 starsChanged 12 days agoApache-2.0View on GitHub
Witnessed lifecycle for the project skill pack — usage-telemetry sidecar, value/idle-driven auto-archive (never delete, restorable), pin-exemption, journaled reversible transitions. Use to record skill usage, review archive verdicts, archive or restore a skill, or pin one exempt. Max action is archive; nothing is ever deleted. Use when this named workflow matches the task.
6 other projects use a version of this.
Adopted by
Most recently taken up by
- ceilf6/FrontAgenttheir own version, first seen Nov 8, 2026
- loganware05/captains-compass-cursortheir own version, first seen Oct 12, 2026
- Koooki3/skill-loomtheir own version, first seen Oct 6, 2026
- SwimmingLiu/easy-skillstheir own version, first seen Aug 16, 2026
- alexgrebeshok-coder/dirigent-skillstheir own version, first seen Jul 12, 2026
- ZHOUKAILIAN/skillstheir own version, first seen Jun 18, 2026
Other versions6 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 6
- ceilf6/FrontAgent★ 124same name
- Koooki3/skill-loom★ 2same name
- loganware05/captains-compass-cursor★ 2same name
- SwimmingLiu/easy-skills★ 1same name
- ZHOUKAILIAN/skills★ 1same name
- alexgrebeshok-coder/dirigent-skills★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository150 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- llms-full.txtllms.txt
- llms.txtllms.txt
- agent-readinessSkill
- appeal-scoreSkill
- bottleneck-mapSkill
- ci-repairSkill
- claim-repro-scoreSkill
- clear-out-wipSkill
- commit-cleanSkill
- conflation-scoreSkill
- cross-validateSkill
- curate-clusterSkill
- debt-cleanSkill
- debt-orchestratorSkill
- disambiguation-scoreSkill
- dojo-rsi-scoreSkill
- dos-dispatch-loopSkill
- dos-dispatchSkill
- dos-next-upSkill
- dos-replanSkill
- dos-witness-claimSkill
- field-borrowSkill
- fleet-waveSkill
- git-subagent-syncSkill
- goalSkill
- guard-rsi-scoreSkill
- harness-creatorSkill
- harness-gardenSkill
- industry-scoreSkill
- issue-orchestratorSkill
- issue-queueSkill
- issue-triageSkill
- lightgap-scoreSkill
- memory-compactSkill
- milestone-scoreSkill
- modularizeSkill
- negframe-scoreSkill
- opencode-waveSkill
- operator-heaviness-scoreSkill
- persona-scoreSkill
- phased-planSkill
- plan-auditSkill
- quality-scoreSkill
- question-loopSkill
- refresh-cachedoc-numbersSkill
- refresh-readmeSkill
- releaseSkill
- resume-watchdog-auditSkill
- run-it-all-nightSkill
- score-2xSkill
- scorecardSkill
- scout-loopSkill
- signal-firstSkill
- skill-overlapSkill
- skill-scoreSkill
- slop-scoreSkill
- sota-checkSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
4 rules. 0 are common, 0 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 6 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
All state lives beside the skills, inside the claude lane:
- Very specific: line 53
Run status and sweep (dry-run) and show the operator the verdicts.
- Very specific: line 54
Only sweep --apply or archive after the operator confirms.
- Very specific: line 56
After any transition, show the tail of .lifecycle-journal.jsonl so the operator sees the journaled, reversible record.
“Common” is measured: kept by at least 6 in 10 of the 6 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
/skill-lifecycle — witnessed skill lifecycle (never delete)
Keeps .claude/skills/ from rotting without ever destroying work: per-skill
usage telemetry, auto-archive of stale low-witnessed-value skills, and a
journaled, reversible archive/restore path. Hermes-curator parity (#2941), with
fak's twist: transitions are driven by witnessed value, not idle time alone.
All state lives beside the skills, inside the claude lane:
| Path | Role |
.claude/skills/.usage.json | telemetry sidecar (use/view/patch counts, last activity, state, pin, origin) |
.claude/skills/.lifecycle-journal.jsonl | append-only archive/restore transition log |
.claude/skills/.archive/<name>/ | where an archived skill lives — moved, never deleted |
.claude/skills/.archive/.snapshots/ | pre-archive tar.gz backups |
Hard rules
- Never delete. Archive is a move; a collision is a structured refusal.
- Pinned is exempt — sidecar
pinned: trueorpin: truein SKILL.md front-matter blocks both auto- and manual archive. - Bundled/core skills are never auto-archived. Origin comes from the sidecar, else git (tracked SKILL.md = bundled); unwitnessable = bundled.
- Value guards idle. Auto-archive needs idle >
--idle-daysand witnessed value (use_count + patch_count) <--min-value. An emergency-only skill with proven uses stays live.
Commands
python .claude/skills/skill-lifecycle/skill_lifecycle.py record <skill> [--kind use|view|patch]
python .claude/skills/skill-lifecycle/skill_lifecycle.py status
python .claude/skills/skill-lifecycle/skill_lifecycle.py sweep [--idle-days 30] [--min-value 1] [--apply]
python .claude/skills/skill-lifecycle/skill_lifecycle.py archive <skill> --reason "..."
python .claude/skills/skill-lifecycle/skill_lifecycle.py restore <skill>
python .claude/skills/skill-lifecycle/skill_lifecycle.py pin <skill> | unpin <skill>sweep is dry-run by default and prints one verdict per live skill with the
reason; --apply executes only the archive verdicts (snapshot → move →
sidecar state → journal entry, in that order).
When invoked as a skill
- Run
statusandsweep(dry-run) and show the operator the verdicts. - Only
sweep --applyorarchiveafter the operator confirms;restoreis always safe to run on request. - After any transition, show the tail of
.lifecycle-journal.jsonlso the operator sees the journaled, reversible record.
Witness
python .claude/skills/skill-lifecycle/skill_lifecycle_test.py — 12 tests,
including the acceptance witness: an idle unpinned agent skill is archived
(bytes preserved, snapshot taken, journaled) while a pinned one is untouched,
and restore reverses the move exactly.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

