research-and-learn
AGENTS.md0 starsChanged 58 days agoMITView on GitHub
The operating guide for every agent in this workspace: the orchestrator, every worker, and any session the owner opens. Read it first. It builds a guide to a subject that its reader must understand by a date. The guide is a local HTML portal of ranked topics in tiers. Each topic explains its subject from the ground up, then offers a few ranked materials for depth. docs/method.md has the method on one page, and docs/concept.md has the whole design. Find…
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,196 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 repository4 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- no-ai-slopSkill
- scaffoldSkill
- set-upSkill
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
- Very specific: line 22
No invented facts: Every outside claim has a source you opened in this session.
- Distinctive: line 85
If your agent can't start subagents, the playbook's full mode runs each worker as a separate session instead.
- Very specific: line 91
Ask only when a wrong guess would waste a worker's run.
≈ “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
AGENTS.md
The operating guide for every agent in this workspace: the orchestrator, every worker, and any session the owner opens. Read it first.
What this workspace is
It builds a guide to a subject that its reader must understand by a date. The guide is a local HTML portal of ranked topics in tiers. Each topic explains its subject from the ground up, then offers a few ranked materials for depth. docs/method.md has the method on one page, and docs/concept.md has the whole design.
Where to start
Find the first line that fits, and follow it.
A skill is a folder in .agents/skills/ with a SKILL.md that says what to do. Most coding agents load these on their own, and .claude/skills links to the same folder for Claude Code. If your agent doesn't load skills, read the skill's SKILL.md and follow it as written.
docs/request.mdstill reads "Status: template, not filled yet." The workspace has no guide yet. Run the set-up skill (.agents/skills/set-up/). It interviews the owner and writes the settings.- The request is filled, and
curriculum/topic-map.mdstill reads "Status: template, not filled yet." Run the scaffold skill (.agents/skills/scaffold/). It researches the case and proposes the topic map. - The topic map exists. You are the orchestrator unless a brief says otherwise. Read
orchestration/playbook.md, thenorchestration/board.md. No worker starts before the owner has answered the kickoff. - You have a brief. You are a worker. Your brief names your goal, your reading and the files you own. End by writing a handoff in
orchestration/handoffs/.
Hard rules
- No invented facts. Every outside claim has a source you opened in this session. Every fact about the case carries a provenance tag. An unknown is written as an open question, never as a guess.
context/README.mdlists the tags. - Evidence and interpretation stay apart. The context notes are a first reading made before anyone knew the case well. When your research contradicts them, the evidence wins, and you say so in your handoff.
- Private stays private. A fact from a private source sits in a private block. What is on
context/never-publish.mdnever enters a topic, and the build fails if it reaches the portal. - Sources are frozen. Nobody edits a file in
context/sources/. A correction goes into the worker pack, so every later worker sees it. - One word per concept, one home per concept.
context/glossary.mdholds the words. The topic map names the topic that explains each shared concept; the others link to it. - Write only the files your brief names. Propose changes to shared files in your handoff.
- Only the orchestrator runs git. Workers share one folder, and a git command in one can capture or wipe another's files.
engine/andtools/hold no guide content. An owner upgrades by copying them from a newer release, so anything written there would be lost.
When documents disagree
The higher one wins. Say in your handoff that you found a conflict.
docs/request.md: the owner's own words.docs/decisions.md: decisions the owner has confirmed.docs/standards/, with the values inguide.toml.curriculum/topic-map.mdorchestration/worker-pack.md- Your brief.
Document map
| File | Read it when |
docs/method.md | You need the method: tiers, ranks, a topic's parts, depth, visuals, evidence, privacy, words |
docs/request.md | You need the owner's request, the goal, the date, or the assumptions still to confirm |
docs/decisions.md | You are about to reopen something that looks settled |
docs/standards/topic-page.md | You write or review a topic |
docs/standards/sources.md | You pick, check or rank a source or a material |
docs/standards/visuals.md | You consider a diagram |
docs/standards/writing.md | You write a sentence the reader will see |
docs/standards/portal.md | You touch the portal or share it |
engine/format.md | You write a topic file |
guide.toml | You need a number: a size band, a limit, a quota total. The standards name the setting |
context/ | You need a fact about the reader, the goal or the case. Start at context/README.md |
curriculum/topic-map.md | You need what a topic sets out to answer, its rank and size, or a concept's home |
orchestration/worker-pack.md | You are a worker: it condenses the request, the reader and the standards |
orchestration/playbook.md | You are the orchestrator |
orchestration/board.md | You need the status of a topic |
Commands
The engine needs Python 3.11 or later. If python3 is older, call python3.11.
| To | Run |
| Check a topic you wrote | python3 engine/topic.py content/<tier>/<id>-<slug> |
| Lint it | python3 tools/lint.py content/<tier>/<id>-<slug> |
| Build the portal and run the checks (orchestrator only) | python3 engine/build.py |
| See which topics changed since their concept pass | python3 engine/concepts.py |
| Build a copy to share, without the private blocks | python3 engine/build.py --share |
| Scan that copy before it goes to anyone | python3 tools/scan.py files site-share/ --terms <the owner's list> |
engine/README.md explains the build and its checks.
Writing
Write in the Google developer documentation style: one idea per sentence, active voice, present tense, and exact words for certainty. docs/standards/writing.md has the guide's rules. Before you hand off any prose, run the slop pass in .agents/skills/no-ai-slop/ in detect mode, and fix what it finds.
Subagents
Set the model on every spawn; a subagent otherwise inherits its parent's. Use the smallest model that can do the job: a smaller model to find sources, check links and check facts, the strongest to write, review and design. orchestration/playbook.md has the table. The docs name models by that job, not by brand, so they hold for any agent.
If your agent can't start subagents, the playbook's full mode runs each worker as a separate session instead.
Working with the owner
- The owner may run several sessions and come back cold. Lead with what the guide now does, or with the decision you need.
- Recommend one path, with its reasoning. Don't list the options you would not take.
- Ask only when a wrong guess would waste a worker's run. Otherwise decide as a careful colleague would, and log it in
docs/decisions.md.
This repository
If you are working on research-and-learn itself rather than on a guide: no file from a real guide ever enters this repository. A lesson from a real guide comes back only as a general rule, re-authored, with no fact about its case. The git hooks in .githooks/ scan every commit and push for private terms and secrets; turn them on with git config core.hooksPath .githooks. PORTING.md records which features from the private guide this project has assessed, and what it did with each; read it before you port one.
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.

