canon-skills
AGENTS.md9 starsChanged 21 days agoMITView on GitHub
Universal instructions for AI coding agents. Loaded natively by Claude Code, Pi, and Codex CLI. See standards/efficiency.md for the full agent standards (code quality, security, git conventions, token efficiency). - explore → Haiku, thinking minimal — read-only, bounded search/mapping, no judgment calls. - plan creation → Fable or Opus, thinking medium/high — needs design judgment before scope locks in. - implement → Haiku/Sonnet, thinking medium — execution inside an approved plan. Without advisor configured on Sonnet+Opus, bump to Opus for…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,774 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository22 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- ai-auditSkill
- bulk-readSkill
- canon-slidesSkill
- captureSkill
- context-checkSkill
- context-doctorSkill
- dead-code-cleanupSkill
- doc-auditSkill
- learnings-sweepSkill
- mikadoSkill
- mutation-testSkill
- output-validatorSkill
- promote-learningsSkill
- pr-reviewSkill
- repo-auditSkill
- repo-workflow-auditSkill
- sdlc-auditSkill
- skill-evalSkill
- skill-exportSkill
- sprintSkill
- wrapupSkill
The file
We split this AGENTS.md into the rules it gives an agent
3 rules. About 0 are common, 1 is distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 15
If multiple interpretations exist, present them — don't pick silently.
- Very specific: line 16
Never end a turn after only stating a next action: do it.
- Very specific: line 48
Exception — sprint close gates: follow their own rule (may downgrade to the Admin > Model Tiers "Review & Eval" default, applied …
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md 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
canon: Agent Instructions
Universal instructions for AI coding agents. Loaded natively by Claude Code, Pi, and Codex CLI.
Approach
- Non-trivial work needs an open ticket before
sprint start; trivial fixes (typo, one-line config) are exempt. A new file, test/build wiring, a hook or pipeline change, or a coordinated multi-file change is normal tier: eval is mandatory.bugfix(one logic file plus its test) is an eval-only downgrade decided at close from the diff. Seeskills/sprint/SKILL.md's Workflow tiers. - Think before coding. Surface tradeoffs, don't hide confusion.
- Minimum code that solves the problem. Nothing speculative.
- Touch only what you must. Clean up only your own mess.
- A research-only subagent with full tool access (e.g.
general-purpose) must be told not to edit or write any file. - Subagents return a structured report (Result, Output, Evidence, Learnings:
skills/sprint/reference/subagent-report.md), not raw tool noise; give them the active branch only. - Define success criteria before starting. Verify when done.
- User decisions and the approved plan are settled: reopen them only on new evidence or when the user does — and always surface a mistake you find in earlier work.
- If multiple interpretations exist, present them — don't pick silently.
- Never end a turn after only stating a next action: do it. The exceptions are canon's approval checkpoints (
sprint start's plan approval,sprint complete's close confirmation), where stopping is required. - Be concise in output, thorough in reasoning.
- Test before declaring done, with only the tests that matter: add or keep a test only when it protects a prod path (a shipped command, a board or daemon route, the release or a close gate) and names it, never for an unused feature or to repeat another test (
skills/sprint/reference/start-checklist.mdstep 6). While building, run only the suites that cover the change; run the full suite once, for the stamp. - Editing
tools/sprint-check-app/(the board)? Readtools/sprint-check-app/CLAUDE.mdfirst — board-specific gotchas (Cockpit fetch scoping, id prefixes, Playwright setup). Harnesses don't all load a nested CLAUDE.md on their own.
Standards
See standards/efficiency.md for the full agent standards (code quality, security, git conventions, token efficiency).
<!-- MODEL-TIERS:BEGIN -->Model Tiers
Match model to the sprint work being done. plan creation and grill usually run inline
in the main session rather than as separate dispatches — the tier below still applies to
whichever session/dispatch does that work.
explore→ Haiku, thinkingminimal— read-only, bounded search/mapping, no judgment calls.plan creation→ Fable or Opus, thinkingmedium/high— needs design judgment before scope locks in.implement→ Haiku/Sonnet, thinkingmedium— execution inside an approved plan. Withoutadvisorconfigured on Sonnet+Opus, bump to Opus for high-risk sprints instead.review/grill→ Opus, thinkinghigh— adversarial, judgment-heavy; a weaker model would rubber-stamp.
Close-gate model rules (sprint reviewer/evaluator) live in skills/sprint/reference/complete.md, not here.
<!-- MODEL-TIERS:END -->Model Tiers: canon internals (not copied to projects)
The board's Gate model: dropdown and its Admin registry: tools/sprint-check-app/CLAUDE.md.
Close-gate effort comes from canon's gate agent definitions (agents/canon-reviewer.md,
canon-evaluator.md: effort: high, a claude-sonnet-5 model floor, read-only tools with Bash/execute shells), not from this prose.
A dispatch can set only the model, never effort (t-c774).
Exception — sprint close gates follow their own rule (may downgrade to the Admin > Model
Tiers "Review & Eval" default, applied unconditionally to every interactive close since
2026-09-23; to Haiku on a demo: true ticket, evaluator only; or via an explicit user
Gate model: override, which always wins) — see the
"Model tier for gates" note in skills/sprint/reference/complete.md, not this block.
Cross-harness note. Codex and pi dispatch differ (per-agent model only through a ~/.codex/agents/*.toml custom agent; pi gates run on the pi session model): see complete.md's "Cross-harness caveat" and pi-dispatch bullets.
North-star (gate floor). Only structural risk may reduce close gates, and a sprint never drops below the binding evaluator. The one documented exception is a user-set demo: true light-close (the evaluator still runs). The full policy — demo mode, the model tier for gates, and the north-star amendments — lives in skills/sprint/reference/complete.md (see also DECISIONS.md 2026-07-25 / 07-30 / 08-02).
<!-- AI-SKILLS:BEGIN -->Active canon skills
Managed by
skills.sh— useadd/removeto change. Platforms: on Windows canon's commands run in Git Bash, never PowerShell or cmd. Details: standards/efficiency-notes.md › Platforms (canon install).
| Skill | Category | Source |
| sprint | dev | skills/sprint/SKILL.md |
<!-- AI-SKILLS:END -->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.

