superwiki
AGENTS.md4 starsChanged 57 days agoMITView on GitHub
docs/ is a wiki you write and keep current, and an Obsidian vault the user reads. Skills. Use these without being asked. For work in this vault they come before any other planning, implementing or debugging skill: - Planning a task, or the user asks what to work on next: sw-plan. - Implementing a task: sw-implement. A change that needs no plan and touches one or two files may be done directly, under the task rules above. - One task…
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,736 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 repository17 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- sw-boardSkill
- sw-configSkill
- sw-doctorSkill
- sw-doSkill
- sw-explainSkill
- sw-implementSkill
- sw-ingestSkill
- sw-initSkill
- sw-lintSkill
- sw-migrateSkill
- sw-planSkill
- sw-runSkill
- sw-statsSkill
- sw-summarizeSkill
- sw-triageSkill
- sw-visualizeSkill
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 19
When you add or rename a wiki page, update its line in index.md.
- Very specific: line 26
Do not start a task while any of its deps is not done.
- Very specific: line 27
If explain <ID> names an area guide (docs/wiki/guide-<area>.md), read it before you change code for the task: where things are, patterns, …
- Distinctive: line 41
If a skill is not installed, follow the rules above by hand.
≈ “Common” is an estimate: at least 1 in 5 of the 16,597 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 instructions
<!-- sw:start (managed by sw-init; write your own rules outside these markers) -->Superwiki (docs/)
docs/ is a wiki you write and keep current, and an Obsidian vault the user reads.
docs/index.md: the open tasks, then the catalog, one line per wiki page. Read it first, then open only the pages you need.docs/log.md: append-only. Add## [YYYY-MM-DD] <kind> | <title>at the end; read it withtail, never whole.docs/raw/: sources. Read, never modify.docs/wiki/: flat, one page per topic, frontmattertype:and one-linesummary:.docs/tasks/<ID>.md: one task per file.docs/plans/<ID>-plan.md: its plan, if any.- Anything else under
docs/belongs to other tools. Leave it alone. - File formats:
docs/.sw/templates/.
Wiki:
- Link vault pages as
[[file-name]]; file names are unique across the vault. Use normal markdown links forraw/files and URLs, and plain paths for code. - When you add or rename a wiki page, update its line in
index.md. - Answer questions from the wiki, index first. Offer to save an answer worth keeping as a wiki page.
Tasks:
- A task's status lives only in its frontmatter. Before you start:
status: in-progressandstarted:. When its "Done when" list is met andsw-summarizehas verified it:status: doneandfinished:. Each change of status gets ataskentry inlog.md, each summary asummaryentry. - The task list in
index.mdis written from the task files. After you add a task or change a task's status, title, milestone or dependencies, runnode docs/.sw/sw.mjs board. Never edit that list by hand. - Do not start a task while any of its
depsis not done. - If
explain <ID>names an area guide (docs/wiki/guide-<area>.md), read it before you change code for the task: where things are, patterns, how to verify. Afterwards add the facts it was missing, one line each. - Work that belongs to no task (a quick fix, a small request) needs no task file. Append one
changeentry tolog.mdinstead: what changed and why, in a line. node docs/.sw/sw.mjs status|ready|check <ID>|explain <ID>|search <words>|next-id <AREA>|lintanswers overview, startable tasks, blockers, a task's place in the chain, where something is mentioned, new ids and structural checks without reading files. Runlintafter you add, rename or relink pages.
Skills. Use these without being asked. For work in this vault they come before any other planning, implementing or debugging skill:
- Planning a task, or the user asks what to work on next:
sw-plan. - Implementing a task:
sw-implement. A change that needs no plan and touches one or two files may be done directly, under the task rules above. - One task from start to done in one command (it decides whether a plan is needed):
sw-do. - Closing a task, or the user asks what a task did and how it was verified:
sw-summarize. - Several tasks in a row without the user at each step:
sw-run. - A question about a task (what, why, what it blocks):
sw-explain. - A bug, failure or unexpected behavior is reported:
sw-triagefirst, before any debugging. - A source to file (article, notes, transcript, URL):
sw-ingest. - If a skill is not installed, follow the rules above by hand.
<!-- sw: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.

