grand-rounds
AGENTS.md19 starsChanged 15 days agoMITView on GitHub
- One folder per skill in skills/, with SKILL.md (frontmatter name = folder name) and agents/openai.yaml (Codex display name and short description). - Model-invoked skills: the description starts with "Use when…" and lists triggering situations only, never the skill's workflow (agents follow a workflow summary instead of reading the skill). - User-invoked skills (grill-deck, audit-deck): disable-model-invocation: true in SKILL.md and policy.allow_implicit_invocation: false in agents/openai.yaml. Keep the two in sync. A user-invoked skill may call model-invoked skills, never the reverse. -…
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 35,117 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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- audit-deckSkill
- deck-grillingSkill
- deck-planningSkill
- evidence-auditSkill
- evidence-researchSkill
- grill-deckSkill
- html-deck-buildingSkill
- medical-deckSkill
- medical-figuresSkill
- pptx-deck-buildingSkill
- slop-auditSkill
- template-matchingSkill
The file
We split this AGENTS.md into the rules it gives an agent
4 rules. About 0 are common, 1 is distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 23
Keep SKILL.md short (under ~500 words).
- Very specific: line 28
Write the scenario first, run it without the change, and record what goes wrong.
- Distinctive: line 54
Never send user content to third-party services other than the literature APIs (NCBI, Europe PMC, Crossref, ClinicalTrials.gov).
- Very specific: line 57
Every script gets a unit test in tests/unit/test_tools.py that runs offline.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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
Contributing to Grand Rounds (for humans and agents)
Skills
- One folder per skill in
skills/, withSKILL.md(frontmattername= folder name) andagents/openai.yaml(Codex display name and short description). - Model-invoked skills: the description starts with "Use when…" and lists triggering situations only, never the skill's workflow (agents follow a workflow summary instead of reading the skill).
- User-invoked skills (
grill-deck,audit-deck):disable-model-invocation: trueinSKILL.mdandpolicy.allow_implicit_invocation: falseinagents/openai.yaml. Keep the two in sync. A user-invoked skill may call model-invoked skills, never the reverse. - Skills refer to each other by telling the agent to call the Skill tool with the skill's
name. On harnesses without a Skill tool, the agent reads that skill's
SKILL.md. Don't link across skill folders with relative paths. Shared material lives in the skill that owns it. - Shared code has one copy, in the skill that owns it.
deck_text.pylives inevidence-audit/scripts/;slop-audit/scripts/lint_slop.pyand the hooks load it from the sibling folder. Never copy it (a unit test checks there is only one). Installing skills one by one therefore needs bothevidence-auditandslop-audit. - Quote a frontmatter value that contains
:(YAML would otherwise drop the whole frontmatter at load time; a unit test andclaude plugin validatecatch it). - Keep
SKILL.mdshort (under ~500 words). Move references to sibling.mdfiles and tools toscripts/.
Changing behaviour: test first
Write the scenario first, run it without the change, and record what goes wrong. Then make
the change and re-run. See tests/scenarios/. A skill edit that no scenario exercised is
an untested change.
Hooks
hooks/hooks.json (Claude Code) wires three scripts through hooks/run-hook.sh, which picks
whichever Python 3 is installed and does nothing if there is none:
route_prompt.py(UserPromptSubmit): when a prompt asks for slides, a deck or a presentation, adds a reminder to start frommedical-deckand make the first reply the interview. Claude Code drops the descriptions of rarely used skills when many plugins are installed, so the skill list alone cannot be relied on to route the request.plan_gate.py(PreToolUse): inside a talk folder (a folder withSTATUS.mdandbrief.md), refuses writes tobuild/andout/, and deck-builder commands, until the Plan row ofSTATUS.mdsaysapproved.GRAND_ROUNDS_NO_GATE=1turns it off.slop_on_save.py(PostToolUse): lints saved.htmlslides underbuild/orout/and reports blocking slop findings (S01–S04) to the agent.
Hooks must stay silent outside a talk folder and fail open on their own errors. Keep them fast: they run on every prompt and every Write, Edit and Bash call.
Scripts
- Standard library first. PyMuPDF, python-pptx and Playwright are optional dependencies, and each script says which one it needs and exits with an install hint if it is missing.
- Never send user content to third-party services other than the literature APIs (NCBI, Europe PMC, Crossref, ClinicalTrials.gov). Never include a user's email or name in API requests.
- Every script gets a unit test in
tests/unit/test_tools.pythat runs offline.
python -m unittest discover -s tests/unit -v
claude plugin validate .claude-plugin/plugin.jsonCI (.github/workflows/ci.yml) runs the unit tests on Linux, Windows and macOS with
PyMuPDF and python-pptx installed, and claude plugin validate on both manifests.
Releases
Bump version in .claude-plugin/plugin.json, .claude-plugin/marketplace.json,
.codex-plugin/plugin.json and .antigravity-plugin/plugin.json together. A test checks that
they agree.
Examples
Example decks must use fictional or openly licensed data. Never commit a hospital's template, a patient's data, or a copyrighted figure.
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.

