Connect
AGENTS.md
Laterbase tells agents when to use it as they connect, but not every client passes that on. Add this section to the instructions your repo already gives its agents, and every agent that works there pins what gets left for later and checks for known issues before it starts, whichever client each teammate uses. It's optional.
The section
Adding it to a repo
Most repos already have a file of instructions for their agents, usually AGENTS.md or CLAUDE.md at the root. Copy the section to the end of it and commit, leaving the rest as it is. If your team's agents read different files, check which one each reads below.
Or have your agent do it:
If the repo has no instructions yet, download the section as its AGENTS.md and commit it at the root.
What each client reads
Most clients read AGENTS.md. A few read only their own file, or just the first of several they find, so check the ones your team uses. Claude.ai and ChatGPT don't work in a repo, and get the server's instructions instead.
| Client | Reads |
|---|---|
| Claude Code | CLAUDE.md, and AGENTS.md only when the repo has no CLAUDE.md. If it has both, put the section in AGENTS.md and add a line with @AGENTS.md to CLAUDE.md, or paste the section into CLAUDE.md. |
| Cursor | AGENTS.md alongside its own .cursor/rules. |
| VS Code | AGENTS.md, CLAUDE.md and .github/copilot-instructions.md, all of them together. |
| Codex | AGENTS.md, or AGENTS.override.md in its place. Other names only when project_doc_fallback_filenames in its config lists them. |
| GitHub Copilot | AGENTS.md, CLAUDE.md, GEMINI.md and .github/copilot-instructions.md, all of them together. |
| Antigravity | AGENTS.md or GEMINI.md, alongside its own .agents/rules. |
| JetBrains | .junie/AGENTS.md in Junie, or else AGENTS.md, or else the older .junie/guidelines.md. AI Assistant's chat reads only its own .aiassistant/rules. |
| Windsurf | AGENTS.md alongside its own .windsurf/rules. |
| Cline | AGENTS.md alongside its own .clinerules. |
| Zed | .rules, .cursorrules, .windsurfrules, .clinerules, .github/copilot-instructions.md, AGENT.md, AGENTS.md, CLAUDE.md or GEMINI.md, but only the first it finds, so the section goes in that one. |
| Amp | AGENTS.md, or CLAUDE.md where a folder has no AGENTS.md. |
| opencode | AGENTS.md, or CLAUDE.md when there's no AGENTS.md. |
| Kiro | AGENTS.md alongside its own .kiro/steering. |
| Goose | AGENTS.md and .goosehints. |
| Gemini CLI | GEMINI.md, and AGENTS.md once its settings name it: { "context": { "fileName": ["AGENTS.md", "GEMINI.md"] } }. |
| Other clients | AGENTS.md in most cases, or a file of its own; its docs say which. |
The Claude Code plugin already repeats these rules with every prompt, so a team that all uses it doesn't need the section.