My-Agent-System-and-Skills
AGENTS.md0 starsChanged 11 days agoMITView on GitHub
You are an AI coding agent (Claude Code, Codex CLI, Antigravity, omp, Cursor, OpenCode or similar) helping a user install parts of this repo into their own setup. Follow these steps in order. The user may speak Turkish or English; answer in their language. - Find out the client first. Ask which coding agent(s) the user wants this in (they may want more than one). Then explain the three parts in one line each and ask which ones they want:…
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 35,337 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 repository3 other files it gives its agents.
- codex-imageSkill
- game-dev-directorSkill
- research-reportSkill
The file
We split this AGENTS.md into the rules it gives an agent
9 rules. About 0 are common, 4 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 10
Find out the client first: Ask which coding agent(s) the user wants this in (they may want more than one).
- Distinctive: line 26
If a target file already exists, show the user a diff and ask.
- Distinctive: line 33
Never push the vault to a public repo.
- Very specific: line 34
No paid APIs: Don't set up API keys. Codex CLI signs in with the user's ChatGPT subscription (codex login), and the user does that …
- Very specific: line 44
Never share one vault between brain-windows/ and brain/.
- Very specific: line 67
Ask the user for the vault path.
- Distinctive: line 68
Stop if that path already exists.
- Very specific: line 69
Run merge-settings.py ... --dry-run first and show the user the output.
- Very specific: line 76
Ask which agents to install.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 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: installation guide for AI agents
You are an AI coding agent (Claude Code, Codex CLI, Antigravity, omp, Cursor, OpenCode or similar) helping a user install parts of this repo into their own setup. Follow these steps in order. The user may speak Turkish or English; answer in their language.
Ground rules
- Find out the client first. Ask which coding agent(s) the user wants this
in (they may want more than one). Then explain the three parts in one line
each and ask which ones they want:
- brain: persistent memory across sessions (a Markdown vault + one hook).
- agents: global working rules and orchestration subagents.
- skills:
game-dev-director,research-report,codex-image, and the Claude Code modcontext-meter.
- Support levels. Claude Code and Codex CLI are fully wired and tested.
For any other client, install what maps directly (instructions, skills,
vault in protocol mode) and build the rest by following
docs/PORTING.md; tell the user which parts are ported and untested. - Back up before you change anything in the client's config folder
(
~/.claude/,~/.codex/, or the other client's): settings/hooks files, the global instruction file, the agents and skills folders. - Never overwrite.
- If a target file already exists, show the user a diff and ask.
- Hook config is only ever merged:
brain/merge-settings.pyfor Claude Code (settings.json) and Codex (hooks.json). Never rewrite it by hand. - The global instruction file is only ever appended to or merged section by section, with the user's approval.
- Privacy. The brain vault will hold personal data. If you create a git
remote for it, it must be private (
gh repo create <name> --private). Never push the vault to a public repo. - No paid APIs. Don't set up API keys. Codex CLI signs in with the user's
ChatGPT subscription (
codex login), and the user does that themselves. - Don't run interactive logins or trust prompts yourself.
codex login,gh auth login, Codex's/hookstrust review and Claude Code's/plugincommands are typed by the user (in Claude Code:! <command>for shell commands). - Platform.
brain/targets Linux and macOS. On native Windows with Claude Code, installbrain-windows/instead (PowerShell, copies instead of symlinks; Codex is not wired there yet). For one brain shared across Windows, Linux and macOS, run the agent inside WSL and installbrain/. Never share one vault betweenbrain-windows/andbrain/; seebrain-windows/README.md.
Where things go
| Claude Code | Codex CLI | Other clients | |
| Global instructions | ~/.claude/CLAUDE.md | ~/.codex/AGENTS.md | see docs/PORTING.md |
| Skills (symlink each folder) | ~/.claude/skills/<name> | ~/.agents/skills/<name> | see docs/PORTING.md |
| Subagents | ~/.claude/agents/*.md (copy/symlink) | ~/.codex/agents/*.toml via scripts/codex-agents.py | see docs/PORTING.md |
| Brain hooks | ~/.claude/settings.json via merge-settings.py | ~/.codex/hooks.json via merge-settings.py --client codex | adapter per docs/PORTING.md, or protocol mode |
$CODEX_HOME replaces ~/.codex if the user has set it.
Steps
Clone the repo to a stable location (e.g. ~/src/My-Agent-System-and-Skills)
and run every command from its root. Symlinks into the clone keep everything
current with git pull.
- Brain (if chosen): follow
brain/INSTALL.md(native Windows + Claude Code:brain-windows/INSTALL.md, default vault%USERPROFILE%\Brain).- Ask the user for the vault path; the default is
~/Documents/Brain. Stop if that path already exists. - Run
merge-settings.py ... --dry-runfirst and show the user the output. - Codex: after merging, the user trusts the four new hooks once with
/hooksinside Codex; until then Codex skips them. - Fill
850-Memory/CORE.mdby asking the user a few questions, or leave it for them. - The private git remote is optional; ask.
- Ask the user for the vault path; the default is
- Agents (if chosen): follow
agents/INSTALL.md.- Ask which agents to install. Skip
codex-runnerunless the user runs Codex CLI as a helper from another client (it is pointless inside Codex). - Global instructions: if the file exists, propose the sections to add and get approval. If the brain isn't installed, drop the "Brain (optional)" section. Keep only the "Client notes" block for this client.
- Ask which agents to install. Skip
- Skills (if chosen): follow
skills/INSTALL.md.- Skills are symlinked (or copied) into the client's skills folder.
context-meteris a Claude Code plugin; the user runs the/plugin install …line.
Verify and report
- Brain:
vault-doctor.pyprintsvault-doctor: OK(it checks whichever client the brain is wired into), and the runtime tests pass:python3 -m unittest discover -s "$BRAIN_HOME/runtime/tests". - Brain in a new session: ask the model which
[Brain …]blocks it sees;[Brain — Last Session]and[Brain — Active Threads]must be there. - Agents: Claude Code
/agents; Codex: ask it to spawnrevieweron a tiny task. - Skills: ask for a task the skill covers, or call it by name.
- Finish with a short summary for the user:
- what was installed, for which client, and where
- which files were changed, and where their backups are
- what is ported but untested (other clients)
- anything they still need to do themselves (logins, Codex
/hookstrust,/plugin install, fillingCORE.md) - a reminder that changes take effect in a new session
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.

