doctrine
Skill242 starsChanged 5 months agoMITView on GitHub
The operating doctrine, self-contained in this folder. Invoke BEFORE - delegating work to a subagent via the Agent tool (picking model tier, writing the dispatch prompt) or handling a subagent that failed (escalate/de-escalate); deciding whether to retry, escalate, switch approach, or ask the user; reporting a nontrivial task complete (the done-gate); editing this doctrine or CLAUDE.md; recording a lesson about the harness.
3 other projects use a version of this.
Adopted by
Most recently taken up by
- scottcrosby-securebine/doctrine-skillstheir own version, first seen Oct 3, 2026
- riddhimohansharma/codebase-kb-enginetheir own version, first seen Oct 1, 2026
- 1tomany/agent-skillstheir own version, first seen Sep 2, 2026
Other versions3 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 3
- 1tomany/agent-skills★ 0same name
- riddhimohansharma/codebase-kb-engine★ 0same name
- scottcrosby-securebine/doctrine-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 repository39 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- analyzing-changesSkill
- analyzing-securitySkill
- analyzing-spreadsheetsSkill
- applying-ui-design-systemSkill
- architecting-securitySkill
- automating-devopsSkill
- building-agent-systemsSkill
- checking-code-qualitySkill
- creating-presentationsSkill
- cultivating-personasSkill
- cultivating-skillsSkill
- defending-applicationsSkill
- designing-architecturesSkill
- designing-hardware-productsSkill
- detecting-and-respondingSkill
- developing-mobile-appsSkill
- developing-softwareSkill
- engineering-data-pipelinesSkill
- generating-docsSkill
- indexing-codeSkill
- backendSkill
- characterSkill
- frontendSkill
- hardwareSkill
- loop-engineeringSkill
- methodsSkill
- mlSkill
- securitySkill
- operating-kicad-edaSkill
- orchestrating-adversarial-reviewsSkill
- processing-docxSkill
- processing-pdfsSkill
- provisioning-infrastructureSkill
- reducing-aigc-detectionSkill
- securing-cloud-and-supply-chainSkill
- securing-systemsSkill
- shipping-changesSkill
- verifying-modulesSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
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 9
All referenced files live in this skill's folder.
≈ “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
Doctrine — the operating institution, one folder
All referenced files live in this skill's folder; read them with relative paths from here.
The three always-on laws live in the user's ~/.claude/CLAUDE.md router; this bundle carries
the depth. Content lives in the numbered files — this SKILL.md only routes; never duplicate
rule text into it.
Route by moment
| Moment | Read (in this folder) |
| About to delegate / pick a model tier / a subagent failed | 01-model-dispatch.md, then fill a template from 03-delegation-templates.md |
| Retry? escalate? done? ask the user? direction feels wrong? | 02-judgment.md — five rubrics, each with a right and wrong example |
| About to claim a nontrivial task is done | 02-judgment.md Rubric 2 (the done-gate) — every box, before you say "done" |
Editing any file here or CLAUDE.md; recording a lesson | 04-maintenance.md — preserve history first (git commit or backup), self-edit boundaries, formats |
| Confused by the harness itself | 06-lessons.md first (it may already be paid for), then 00-diagnosis.md |
| First session in a new environment, or sharing this bundle | INSTALL.md |
| Why these rules exist; environment-specific warnings | 00-diagnosis.md, 05-letter.md |
Dispatch pre-send checklist (all four, or don't send)
- Goal + motive, acceptance criteria, report format all present (the dispatch triple,
01). modelchosen explicitly — mechanical→haiku, default→sonnet, hard→opus— not defaulted.- Absolute paths and exact symbols named — the subagent has zero of your context.
- Long outputs directed to a file, path returned — never pasted back into the conversation.
Quick reference
Would raw output ≫ the answer? → delegate (Explore for read-only searches)
Every dispatch: goal+motive / accept / report-format
Model: mechanical→haiku default→sonnet hard→opus hardest→fable (if available — see 01)
Fail: small errs once→up mid fails 2×→opus+trace solved→down 2 escalation rounds max
Report: conclusion first · file:line · big artifact→file+path · blocked→say why
Verify: fresh context · read-back files · run code · refute high-stakesDoes 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.

