specialization
Skill3 starsChanged 4 months agoMITView on GitHub
Use immediately when no installed skill covers a reusable domain, or when feedback, a mistake, or a better process reveals that an existing skill is incomplete or wrong. Record the first observation, create or amend a private candidate, and dogfood it on the triggering case now. Follow provenance to improve the canonical skill instead of forking it. Recurrence strengthens evidence but never delays a proven correction.
In this repository27 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- auto-healerSkill
- build-loopSkill
- calibrationSkill
- coordinateSkill
- eval-captureSkill
- follow-up-handlingSkill
- guardSkill
- harness-authoringSkill
- harness-pr-opsSkill
- host-assumption-bleedSkill
- labSkill
- language-selectionSkill
- learnSkill
- loop-prompt-architectSkill
- nested-reposSkill
- observeSkill
- retrospectionSkill
- roadmapSkill
- routing-learningsSkill
- structural-qaSkill
- stuck-detectionSkill
- vendoring-skillsSkill
- venture-buildSkill
- verifySkill
- windows-host-pathsSkill
- worktreeSkill
The file
We split this skill into the rules it gives an agent
6 rules. About 0 are common, 5 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Read references/evolution-loop.md when classifying evidence or deciding whether a dogfood replay is strong enough.
- Distinctive: line 17
Before minting a new domain, recall related evidence:
- Distinctive: line 89
After authoring and successful dogfood, remove the draft marker and validate:
- Distinctive: line 107
Do not install, push, or open a cross-repository change without approval.
- Distinctive: line 112
Add the triggering case as a regression fixture.
- Distinctive: line 125
Never edit an installed provider cache as canonical source.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Specialization
Turn the first useful observation into a tested candidate. Do not wait for a second session to learn; only permanent canonical changes wait for proof and review.
Read references/evolution-loop.md when classifying evidence or deciding whether
a dogfood replay is strong enough.
1. Recall and classify
Before minting a new domain, recall related evidence:
python3 skills/specialization/needs.py match --domain "kafka consumer groups"Classify the observation exactly once:
gap: no installed skill covers a reusable capability.correction: existing guidance produced or encouraged a wrong result.improvement: existing guidance worked, but feedback revealed a better process.
Project-only facts route to that project's instructions. A code defect routes to
auto-healer. A reusable procedure routes here even on its first occurrence.
2. Record and create immediately
For a new capability:
python3 skills/specialization/needs.py add \
--learning-kind gap --domain "kafka consumer groups" \
--category infra --tags area:streaming,class:rebalance \
--shape "had to derive why a consumer rejoin caused a full rebalance"For an existing skill, follow its provenance to the canonical source and seed an
amendment candidate from that source. Corrections and improvements require all
three provenance arguments and a readable source skill; add rejects a generic
sibling draft when any is missing or the target does not match source frontmatter.
The source must resolve to a literal SKILL.md; a gap cannot carry owner inputs:
python3 skills/specialization/needs.py add \
--learning-kind correction --domain "codex hook output" \
--target-skill hook-authoring \
--target-provenance "GhostlyGawd/recursive-harness@<commit>" \
--source-skill skills/hook-authoring/SKILL.md \
--shape "the documented output shape failed against the current host schema"add appends compact evidence to the provider-neutral private ledger and creates
or updates candidates/<domain-key>/ immediately. Never store transcripts or full
prompts. Multiple observations in one provider session add shapes but count as one
recurrence. If a generic gap later resolves to an existing owner, add archives
the generic draft and rebases from that owner. It rejects a domain already bound
to a different target skill, including a targetless gap observation; continue
through the known owner or resolve the collision instead of clearing provenance.
3. Author and dogfood now
Open the candidate path printed by add. Replace its draft marker with the
smallest evidence-shaped procedure. Use harness-authoring for duplication,
provenance, source-of-truth, and budget checks.
Replay the triggering case with the candidate explicitly in context. Compare the actual before and after behavior, then record the result:
python3 skills/specialization/needs.py candidate dogfood <nid> \
--case "consumer rebalance diagnosis" \
--before "reasoned from scratch and missed the coordinator transition" \
--after "candidate identified the transition and selected the verified fix" \
--outcome worked --generalizes yes \
--verification "replay fixture rebalance-v1 passed"Log failed and partial replays too. Revise the same candidate; do not mint a
sibling. A new gap needs two materially distinct worked cases for the current
revision, including one marked generalizes=yes. A correction or improvement
needs one worked replay with concrete verification.
After authoring and successful dogfood, remove the draft marker and validate:
python3 skills/specialization/needs.py candidate validate <nid>Validation makes the candidate promotion-ready after the first observation when the proof is strong enough. Recurrence >= 3 only surfaces an unvalidated candidate for urgent review; count alone is never proof.
4. Promote through the canonical owner
promote-check shows proof-ready and recurring-unvalidated candidates:
python3 skills/specialization/needs.py promote-checkDo not install, push, or open a cross-repository change without approval. After approval:
- Strengthen the provenance owner when one exists; do not create an overlapping skill.
- Add the triggering case as a regression fixture.
- Regenerate provider packages from the canonical source and run shared fixtures.
- Land through the repository's guarded branch and review workflow.
- Close the loop with
needs.py promoted <nid> --skill <name>.
Boundaries
- A missing binary is acquired and verified; record a specialization only when the reusable acquisition procedure itself was the knowledge gap.
routing-learningschooses the artifact;harness-authoringgoverns its form; this skill owns first-observation capture, candidate evolution, and dogfood.auto-healerrecords code defects and attempted fixes. When the root is wrong or missing reusable guidance, route that learning back here.- Never edit an installed provider cache as canonical source. Follow provenance, update Recursive Harness, then regenerate and reinstall the adapter.
provenance: 2026-06-27, session 9f6014a0, original expert-accretion loop; revised 2026-07-18 after the owner required immediate first-observation creation plus dogfooded improvements to existing skills instead of recurrence-gated learning.
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.

