working-memory-kit / template
AGENTS.md2 starsChanged 12 days agoMITView on GitHub
This project uses a two-tier working memory at _working-memory/. AGENT INSTRUCTION: scan this section BEFORE deciding what to read. If your task matches a row in the on-demand table, that file is required reading before you proceed. - After completing a feature or making a significant decision, update activeContext.md and the relevant on-demand file. - activeContext.md is a queue: evict completed items to decisionLog.md. - decisionLog.md and antipatterns.md are both append-only. Never edit a past entry's body. To mark an…
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 33,398 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 repository9 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- hydrate-discoverSkill
- hydrate-draftSkill
- hydrate-extractSkill
- hydrate-proposeSkill
- hydrate-reconcileSkill
- initSkill
The file
We split this AGENTS.md into the rules it gives an agent
2 rules. About 0 are common, 0 are distinctive, and 2 are 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 35
After completing a feature or making a significant decision, update activeContext.md and the relevant on-demand file.
- Very specific: line 38
Never let activeContext.md exceed 20 lines.
≈ “Common” is an estimate: at least 1 in 5 of the 43,423 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
Stack
<!-- One line per layer. Detected from project. -->Build / Test / Lint
<!-- Copy exact commands so agents don't guess. --><!-- working-memory:start -->Working Memory
This project uses a two-tier working memory at _working-memory/.
AGENT INSTRUCTION: scan this section BEFORE deciding what to read. If your task matches a row in the on-demand table, that file is required reading before you proceed.
Always read on session start:
_working-memory/activeContext.md: current focus, last decision, known risks (≤20 lines, local only / gitignored)
Read on demand:
| File | Read when... |
projectOverview.md | Before starting a feature, or onboarding to the codebase |
decisionLog.md | Before an architectural or scoping decision; check what's already been settled |
dataContracts.md | Before creating or changing anything that produces or consumes shared data |
conventions.md | Before writing new code, or when reviewing a pattern |
openQuestions.md | When you hit ambiguity; check here before guessing |
antipatterns.md | Before proposing a refactor, library swap, or architectural change; check whether it's been tried |
Updating working memory:
- After completing a feature or making a significant decision, update
activeContext.mdand the relevant on-demand file. activeContext.mdis a queue: evict completed items todecisionLog.md.decisionLog.mdandantipatterns.mdare both append-only. Never edit a past entry's body. To mark an entry superseded, setstatus: supersededand addsuperseded_by:directly under its heading.- Never let
activeContext.mdexceed 20 lines.
<!-- working-memory:end -->Conventions
<!-- Populated from detection or manually. Keep to ≤10 rules. -->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.

