coograph
AGENTS.md17 starsChanged 7 months agoMITView on GitHub
If the user types /coograph-init, $coograph-init, or asks to "initialize the project" / "set up coograph" / "wire up coograph in this repo", follow .github/skills/coograph-init/SKILL.md exactly. That single procedure is the source of truth across every tool. Note for Codex CLI: / is reserved for built-in commands. The Codex skill at .agents/skills/coograph-init/SKILL.md auto-triggers from description match, or invoke explicitly with $coograph-init. When working on this codebase: If .github/copilot-instructions.md has unfilled sections (FILL or _TBD_), ask the user before coding. No…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 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 repository14 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- coograph-initSkill
- coograph-applySkill
- coograph-archiveSkill
- coograph-disable-multi-modelsSkill
- coograph-exploreSkill
- coograph-initSkill
- coograph-new-ticketSkill
- coograph-proposeSkill
- coograph-rebuild-graphSkill
- coograph-retroSkill
- coograph-suggest-multi-modelsSkill
- coograph-ultra-reviewSkill
The file
We split this AGENTS.md into the rules it gives an agent
6 rules. About 0 are common, 1 is distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 13
If the user types /coograph-init, $coograph-init, or asks to "initialize the project" / "set up coograph" / "wire up coograph in this …
- Distinctive: line 19
When working on this codebase:
- Very specific: line 26
Communication: Read .github/instructions/brutal-honesty.instructions.md at session start and apply throughout.
- Very specific: line 28
Retro: After archiving, run python3 .github/retro/retro.py --status.
- Very specific: line 30
If .github/copilot-instructions.md has unfilled sections (FILL or _TBD_), ask the user before coding.
- Very specific: line 43
No separate @Implementer — the agent that plans also implements.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
Agent Context
<!--
Quick summary for AI agents that auto-read AGENTS.md
(VS Code Copilot, OpenAI Codex CLI, OpenCode, generic AGENTS.md-aware agents).
Other tools have native config files: .cursor/rules/, .windsurfrules,
CONVENTIONS.md (Aider), .clinerules. CLAUDE.md is loaded by Claude Code.
Full conventions: .github/copilot-instructions.md
-->Invocation
If the user types /coograph-init, $coograph-init, or asks to "initialize the project" / "set up coograph" / "wire up coograph in this repo", follow .github/skills/coograph-init/SKILL.md exactly. That single procedure is the source of truth across every tool.
Note for Codex CLI: / is reserved for built-in commands. The Codex skill at .agents/skills/coograph-init/SKILL.md auto-triggers from description match, or invoke explicitly with $coograph-init.
Conventions
When working on this codebase:
- Rules: Follow
.github/copilot-instructions.md. - Pre-flight: On session start, call
get_minimal_contextto verify code-graph availability. Code-graph is MANDATORY for ALL navigation — fall back to grep/glob ONLY when the DB is genuinely absent. Checkopenspec/changes/for in-progress work. - OpenSpec gate: Any change that modifies 2+ files, touches a spec, alters a public interface, or adds new behavior MUST go through
openspec/changes/<date>-<slug>/with user approval before code. Exemptions are narrow and literal: typo fix, comment-only edit, user-dictated config bump, or follow-up on an approved in-progress OpenSpec. "Trivial", "obvious", "small" are NOT exemptions. - Stack:
<!-- FILL: e.g. "Next.js 16, React 19, TypeScript, TanStack Query" --> - Structure:
<!-- FILL: e.g. "src/app/ pages, src/components/ shared, src/lib/ utilities" --> - Communication: Read
.github/instructions/brutal-honesty.instructions.mdat session start and apply throughout. Direct, evidence-based, severity-rated. Every finding citesfile:linewith verbatim quotes. - Workflow: Plan → Propose (OpenSpec) → Apply → Quality Gates → Review Gate → Archive. Skip only for exemptions above. After 3 failed attempts, stop and ask.
- Retro: After archiving, run
python3 .github/retro/retro.py --status. Exit 0 means enough sessions were captured; ask one line,Run /coograph-retro now? (<n> sessions since last retro), and wait. Missing file: skip silently. Never run a retro unprompted.
If .github/copilot-instructions.md has unfilled sections (FILL or _TBD_), ask the user before coding.
Agents
| Agent | Purpose |
@Reviewer | Read-only code review |
@Debugger | Root-cause analysis, minimal fixes |
@Planner | Interview-driven planning |
@Verifier | Evidence-based completion checks |
@Explore | Codebase search and Q&A |
@Retro | Measures guardrail violations and session cost, proposes instruction and hook edits as an OpenSpec |
No separate @Implementer — the agent that plans also implements.
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.

