blocks-skills / bootstrap
AGENTS.md42 starsChanged 12 days agoMITView on GitHub
Part of the BOOTSTRAP.md runbook. Step 0 uses this file to decide which front doors to build; front-doors.md uses it to add or drop one agent. When an agent's behavior changes, this is the only file to update. What each agent reads, verified against its own documentation on 2026-09-19 unless marked. The two "reads" columns decide what to build: a no in the skills column means a stub directory, a no in the AGENTS.md column means a pointer file. A…
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 31,774 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 repository27 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- blocks-bootstrapSkill
- blocks-captchaSkill
- blocks-data-gateway-configurationSkill
- blocks-data-gateway-crudSkill
- blocks-data-storageSkill
- blocks-frontend-local-httpsSkill
- blocks-functionsSkill
- blocks-iam-access-controlSkill
- blocks-iam-accountSkill
- blocks-iam-mfaSkill
- blocks-iam-organizationsSkill
- blocks-iam-sso-oidc-configurationSkill
- blocks-iam-sso-oidc-implementationSkill
- blocks-iam-usersSkill
- blocks-localization-configurationSkill
- blocks-localization-implementationSkill
- blocks-mailSkill
- blocks-notificationSkill
- blocks-notifierSkill
- blocks-proxySkill
- blocks-release-deploymentSkill
- blocks-secretsSkill
- blocksSkill
- blocks-storage-configurationSkill
- blocks-workflowSkill
The file
We split this agents.md into the rules it gives an agent
3 rules. About 0 are common, 0 are distinctive, and 3 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.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 40
Treat this table as a snapshot.
- Very specific: line 42
Only root-level instruction files (CLAUDE.md, GEMINI.md, QWEN.md, IFLOW.md) ever get a pointer file.
- Very specific: line 54
Use those answers exactly like a table row.
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 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 — who reads what, and how to tell who is here
Part of the BOOTSTRAP.md runbook. Step 0 uses this file to decide which front doors to build; front-doors.md uses it to add or drop one agent. When an agent's behavior changes, this is the only file to update.
The agent table
What each agent reads, verified against its own documentation on 2026-09-19 unless marked. The two "reads" columns decide what to build: a no in the skills column means a stub directory, a no in the AGENTS.md column means a pointer file. A blank own-directory cell means the agent has no native location besides .agents/skills/.
| Agent | Reads .agents/skills/ | Own project skills dir | Reads AGENTS.md | Own instruction file | Detect by |
| Claude Code (CLI, desktop, IDE) | no | .claude/skills/ | no | CLAUDE.md | claude on PATH, ~/.claude/ |
| Codex | yes | yes | codex on PATH, ~/.codex/ | ||
| Cursor | yes | .cursor/skills/ | yes | cursor-agent or cursor on PATH, ~/.cursor/ | |
| Gemini CLI | yes | .gemini/skills/ | no — only via context.fileName | GEMINI.md | gemini on PATH, ~/.gemini/ |
| GitHub Copilot (CLI, VS Code, coding agent) | yes | .github/skills/ | yes | .github/copilot-instructions.md | copilot on PATH, ~/.copilot/ |
| OpenCode | yes | .opencode/skills/ | yes | opencode on PATH, ~/.config/opencode/ | |
| Amp | yes | yes | amp on PATH, ~/.config/amp/ | ||
| Zed | yes — its only location | yes | zed on PATH, ~/.config/zed/ | ||
| Windsurf | yes | .windsurf/skills/ | yes | .windsurf/rules/ | windsurf on PATH, ~/.codeium/windsurf/ |
| Kilo Code | yes | .kilo/skills/ | yes | kilo on PATH, ~/.kilo/ | |
| Kimi Code CLI | yes | .kimi-code/skills/ | unverified | kimi on PATH, ~/.kimi-code/ | |
| Qwen Code | no | .qwen/skills/ | no | QWEN.md | qwen on PATH, ~/.qwen/ |
| Kiro | no | .kiro/skills/ | yes | .kiro/steering/ | kiro-cli on PATH, ~/.kiro/ |
| TRAE | no | .trae/skills/ | yes | .trae/rules/project_rules.md | ~/.trae/ |
| ZCode (Z.ai) | no | .zcode/skills/ | unverified | zcode on PATH, ~/.zcode/ | |
| CodeBuddy (Tencent) | no | .codebuddy/skills/ | unverified | codebuddy on PATH, ~/.codebuddy/ | |
| Qoder / Lingma (Alibaba) | changelog says yes; unverified | .qoder/skills/ | unverified | qoder on PATH, ~/.qoder/, ~/.qoder-cn/, ~/.lingma/ | |
| iFlow CLI | unverified | .iflow/skills/ ᴿ | no | IFLOW.md | iflow on PATH, ~/.iflow/ |
| MiniMax Code | unverified | .minimax/skills/ ᴿ | unverified | ~/.minimax/ | |
| Cline | yes ᴿ | yes | .clinerules/ | .clinerules/ in the repo | |
| Roo Code | unverified | .roo/skills/ ᴿ | yes | ~/.roo/ | |
| Factory Droid | yes ᴿ | yes | droid on PATH, ~/.factory/ | ||
| Goose | unverified | .goose/skills/ ᴿ | yes | goose on PATH, ~/.config/goose/ | |
| Junie (JetBrains) | unverified | .junie/skills/ ᴿ | yes | ~/.junie/ |
ᴿ — path taken from the skills CLI registry, not from the vendor's own docs. "Unverified" means neither source settles it. Treat unverified as no — a stub an agent ignores costs one directory; a missing stub costs the whole install for that agent.
Treat this table as a snapshot. Agents add .agents/skills/ support regularly, and one that gained it since this was written just ends up with a harmless extra stub.
Only root-level instruction files (CLAUDE.md, GEMINI.md, QWEN.md, IFLOW.md) ever get a pointer file. Agents whose own file lives in a subdirectory — Copilot, Windsurf, Kiro, TRAE, Cline — all read AGENTS.md too, so they need no pointer.
Unknown agents
Anything not in the table — including you, if you are the agent running this and don't see yourself above — answers three questions from its own documentation, which it knows better than this file does:
- Which project-relative directory do you discover skills from, and does that include
.agents/skills/? - Which instruction file do you read at the repo root, and does that include
AGENTS.md? - What is your name, in lowercase, for the provenance stamp?
Use those answers exactly like a table row. If the user names an agent neither of you can answer for, install .agents/skills/ and AGENTS.md only, and say so in the report.
Detecting the agents in use
Three sources, merged. Existence checks only — never read inside any of these directories; several hold credentials.
1. The agent running this runbook. That is you. State which agent you are (Claude Code, Codex, Cursor, Gemini CLI, …) and include yourself. You are, by definition, in use here. If you are not in the table, answer the Unknown agents questions for yourself now.
2. The machine. Binaries on PATH catch CLIs; configuration directories under $HOME catch desktop apps and IDE integrations that install no binary — Claude Code's desktop app, Cursor, Windsurf, TRAE, Kiro.
for bin in claude codex cursor-agent cursor gemini copilot opencode amp zed windsurf kilo kimi qwen kiro-cli zcode codebuddy qoder iflow droid goose; do
command -v "$bin" >/dev/null 2>&1 && echo "PATH: $bin"
done
for d in .claude .codex .cursor .gemini .copilot .config/opencode .config/amp .config/zed .codeium/windsurf .kilo .kimi-code .qwen .kiro .trae .zcode .codebuddy .qoder .qoder-cn .lingma .iflow .minimax .roo .factory .config/goose .junie; do
[ -d "$HOME/$d" ] && echo "HOME: ~/$d"
done3. The repo. An agent the repo is already configured for stays configured, whatever the machine says — a teammate may be the one using it.
for p in .claude .cursor .gemini .github/copilot-instructions.md .github/skills .opencode .windsurf .kilo .kimi-code .qwen .kiro .trae .zcode .codebuddy .qoder .iflow .minimax .roo .junie .clinerules CLAUDE.md GEMINI.md QWEN.md IFLOW.md; do
[ -e "$p" ] && echo "REPO: $p"
doneMap every hit to a row of the table above. What happens with the list next — confirming it with the user and writing it down — belongs to whichever file sent you here.
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.

