/ash:skill-library-builderfrom ash
Builds or refreshes a project-specific skill library under .claude/skills/ by discovering and verifying tribal knowledge from a real repository. Useful before a senior engineer leaves, when onboarding, or to make a codebase workable by smaller AI models.
Ships in ash. 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.
Turn a repository into a project-specific skill library: what the system is, what must not break, how it is set up, run and tested, how it fails, how to prove a fix is real, and how to change it safely. The output is a set of focused runbooks under .claude/skills/, not generic documentation. Reject any skill that only restates the README.
This skill is the method behind the PropOS library (16 skills authored by Fable, reviewed by Sonnet and a domain reviewer, fixed by Opus, on 2026-07-02). The PropOS artefacts docs/PLAN_fable_skill_library.md and docs/FABLE_PROMPT_skill_library.md are a full worked instance of everything below.
Load this when the task is to build or refresh a library of operating knowledge for a repository, especially before a knowledgeable engineer leaves, when onboarding, or when a codebase needs to be workable by a cheaper model. Do not load it to author one skill on a subject you already understand: write that directly. Do not load it to change product code: this is a read-and-author job.
.claude/skills/). The rest of the repo is read-only unless the user explicitly asks for code changes.git log --follow <path> or git show <sha> before writing it. This is the single most common authoring error: the technical facts (function names, config keys, error codes) verify cleanly while the story of when and why a thing landed drifts, especially when two similar artefacts exist.reset, checkout, switch, clean, commit, push, pull, merge, rebase, publish, deploy, and any database or production write.git status --short
git log --oneline --decorate -n 80
Then locate the docs of record, manifests, CI config and tests, and grep the hotspots:
grep -rniE "TODO|FIXME|HACK|deprecated|flaky|workaround|revert|rollback|known issue" .
Expected: a list of the repo's own admissions of debt and fragility. These seed the debugging and failure-archaeology skills.
Write an internal map: domain, durable and runtime state, actors, who or what may mutate each state, the idea-to-release workflow, the known risks and historical failures, the diagnostic tools, and what a real successful change looks like. If the map is thin, keep discovering. A shallow map produces shallow skills.
Adapt this template to the repo. Merge thin categories, split deep ones, add domain categories the repo demands.
<project>-architecture-contract: load-bearing designs, invariants, known-weak points.<project>-change-control: how changes are classified and gated, each rule with its rationale and the incident behind it.<project>-debugging-playbook: symptom-to-triage table for this repo's failure modes.<project>-failure-archaeology: the dated chronicle of settled battles, so none is re-fought.<domain>-reference: the field's theory as it applies HERE, not a textbook.<project>-config-and-flags: every configuration axis, production versus experimental, with re-verify commands.<project>-build-and-env: recreate the environment from scratch.<project>-run-and-operate: run and deploy the thing.<project>-diagnostics-and-tooling: how to measure instead of eyeball; the real scripts with interpretation guides.<project>-validation-and-qa: what counts as evidence; acceptance thresholds; the golden inventory.<project>-docs-and-writing: maintaining the docs of record; house style.<project>-external-positioning: papers, releases, competitors; novel versus known; reproducibility.<project>-<hardest-problem>-campaign (a decision-gated campaign with expected numbers at each gate), <project>-proof-and-analysis-toolkit, <project>-research-frontier, <project>-research-methodology.Each skill is .claude/skills/<name>/SKILL.md with YAML frontmatter (name plus a trigger-rich description stating exactly when to load it and which sibling to use instead). Use imperative runbook voice. Include: purpose, when NOT to use it, source-of-truth files, procedure, commands WITH expected observations, decision gates, known traps, the evidence required for success, and a final "Provenance and maintenance" section with one-line re-verification commands for volatile facts. One home per fact; cross-reference elsewhere.
Three review passes over the complete set, then a fixer:
The fixer applies blocking and important findings without introducing new unverified claims.
If the unslop skills are installed, scan the prose and any scripts. The bar is 0 high-severity.
python ~/.claude/skills/unslop-text/scripts/unslop_text_scan.py <SKILL.md> --severity high
Expected: high: 0. A clean scan clears the surface tells only; the structural ones (a skill that restates the README, an invented command) still need a reviewer.
The efficient shape, proven on PropOS: a pipeline of one author agent per skill, then a review stage, then a conditional fix stage, all running per-skill in parallel. Route the authoring to your strongest available author model and the review to a cheaper independent one, so the reviewer is not biased by the author. Give each author its exact source-file list and its scope plus the sibling that owns what it excludes. Assign a domain reviewer to the regulated skills. See docs/PLAN_fable_skill_library.md for the exact routing used.
A zero-context engineer or a small model can answer, from the skills alone: what is this system and what must not break; how do I set it up, run it and test it; how do I debug the real failures; how do I know a fix is real; how do I avoid re-fighting a settled battle; how do I change behaviour safely; how do I advance the project without unverifiable claims.
It does not write good product code, and it has no house style: it captures the project's operating knowledge in the project's own voice. It does not replace the project's change-control, its tests or its docs of record; it makes them findable and executable. For a single self-contained skill on a subject you already know, use anthropic-skills:skill-creator instead.
The knowledge that keeps a complex project safe lives in one or two people's heads: the invariants, the settled debates, the traps that cost a week once. When they leave or when a cheaper session picks up the work, that knowledge is gone and the same mistakes get re-made. A library built to this discipline turns tribal knowledge into executable runbooks that a reader can trust, because every claim was verified against the repo and the volatile ones carry their own re-check command.
Date stamp: 2026-07-02. Distilled from the PropOS engagement: docs/PLAN_fable_skill_library.md, docs/FABLE_PROMPT_skill_library.md, and the pilot that established the git-provenance rule (finding 4 above). Portable: copy this directory to ~/.claude/skills/skill-library-builder/ to use it on any project.
cp -R .claude/skills/skill-library-builder ~/.claude/skills/
Volatile facts and their re-checks:
| Fact | Re-verify with | Expected |
|---|---|---|
| Unslop scanners installed | ls ~/.claude/skills | grep unslop | unslop-text, unslop-code, unslop-ui |
| The worked-example artefacts still present | ls docs/PLAN_fable_skill_library.md docs/FABLE_PROMPT_skill_library.md | both listed |
Skills must encode mechanical steps — grep this, run that, assert this count — not awareness. A documented trap in the worked-example repo recurred anyway until the procedure was fixed mechanically; prose that raises awareness fails exactly when attention is elsewhere, which is when the trap fires. When authoring any skill, convert each "be careful about X" into a command or a check, or expect the lesson to repeat.
prove-it-can-fail line 79 already
existed and did not load; library 39, "It did not load".)What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
skill-library, tribal-knowledge, onboarding, runbooks, knowledge-capture
npx claudepluginhub randommonicle/claude-skills --plugin ash60 skills in this plugin
/ai-surface-disciplineApply input minimisation, output discipline, and a human-in-the-loop gate to every surface that sends data to an LLM. Triggers when building or editing any send-to-LLM path: an Edge Function calling a model, a draft-commentary or summary generator, an auto-resolver, a cash-allocation suggestion, a classification call, or any new AI-assist feature, and when changing the model or the prompt behind one, especially in a RICS or UK GDPR regulated context./blast-radius-grepThe unit of change is the action or the fact, never the list of places someone handed you. Load BEFORE editing when a change reaches code or text it does not name: deleting, moving or renaming anything; rewording a message or label; changing what a status, total or column means; narrowing a grant; adding a constraint, gate or new kind; a lookup on an email, reference or name; fixing one instance of a bug; working from a spec's list of affected places; correcting a duplicated fact; or concluding from a sweep that errored or was truncated. Grep the whole repo and fix every occurrence in one pass. Not for citations in prose (verified-citations)./checkpoint-logKeep a live, committed checkpoint log during any work unit expected to span multiple commits or sessions. Each commit ships with a short note in the log, what the commit did, the key decision and why, any deviation from plan; closing the unit requires an explicit walk of the checklist including the wiring steps. Triggers when starting multi-commit work, when resuming a unit after a crash or a gap, and when declaring a multi-commit work unit done. Does not fire on single-commit fixes, where the commit message carries the note./commission-the-rosterBefore spawning a fleet of agents, publish a roster for the operator's approval - role, model tier, token budget, scope and single artifact per agent - and brief each agent with pre-verified facts instead of questions. Triggers when appointing a lead agent, delegating a multi-agent wave, planning a commission whose shape is not yet known, choosing which model tier does which job, or when a usage window emptied faster than the work justified. Does not fire on spawning one agent for one bounded task, and does not price the result (price-the-spend reports the burn afterwards)./committee-reviewRun a three-lens committee review of a whole project or major subsystem: positive, adversarial, and neutral-chair reviewers over one shared evidence base, with attribution-stripped consolidation and item-by-item voting. Use when the user asks for a committee review, a multi-perspective audit, a "three Fable review", or wants findings that survive adversarial challenge before becoming a work programme. Not for single-file reviews or quick checks; this is a large, deliberate, token-expensive process that needs explicit user opt-in./confirm-before-pushAlways ask explicitly before pushing to a remote or fast-forwarding a protected branch. Per-action authorisation, not standing approval. Triggers on any git push, merge, or branch fast-forward operation, regardless of whether previous pushes in the same session were approved.Other plugins' skills for the same job