These are the global instructions I give to my AI chat clients and coding agents: how to talk to me, how to write code for me, and when to stop and ask. They are personal preferences, kept in one place so every client gets the same rules and every change goes through review.
You probably arrived here by accident. You are welcome to read, copy, and adapt anything.
| Client | File | Goes to |
|---|---|---|
| ChatGPT | chatgpt/astra-6-2.md |
Custom instructions |
| Claude | claude-chat/fable-5-2.md |
User preferences |
| Gemini app | gemini/gemini-4.md |
Instructions for Gemini |
| Claude Code | claude-code/fable-5-2.md |
~/.claude/CLAUDE.md |
| Codex | codex/gpt-6-2.md |
~/.codex/AGENTS.md |
| Antigravity | antigravity/gemini-4.md |
~/.gemini/GEMINI.md |
| Pi | pi/all-models.md |
~/.pi/agent/AGENTS.md |
| OpenCode | opencode/all-models.md |
~/.config/opencode/AGENTS.md |
setup.sh installs the files for the coding agents it finds on your machine, in the directories those agents actually read, and leaves the chat clients to be pasted by hand:
curl -fsSL https://raw.githubusercontent.com/nervouna/agent-instructions/main/setup.sh | bashTo install for one agent only, name it with --agent (claude-code, codex, opencode, pi, or antigravity):
curl -fsSL https://raw.githubusercontent.com/nervouna/agent-instructions/main/setup.sh | bash -s -- --agent piTo see which installed files differ from main, and how, without changing anything, add --check:
curl -fsSL https://raw.githubusercontent.com/nervouna/agent-instructions/main/setup.sh | bash -s -- --check- Each file above is generated. Its source lives under
src/, and paragraphs used by several clients live once undershared/. notes/records why each rule exists: what was read or observed, and what a client refused to accept.- A linter checks formatting, stale output, and missing notes on every pull request.
python3 scripts/build.py
python3 scripts/lint.pyThe full conventions are in AGENTS.md, which is written for the agents that maintain this repository.
