dotfiles / claude-code
AGENTS.md16 starsChanged 4 months agoMITView on GitHub
Single source of truth for commands/, agents/, skills/ shared across Claude Code, Qwen Code, Codex. ~/.claude is a symlink to this directory.
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,773 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 repository105 other files it gives its agents.
- ableton/AGENTS.mdAGENTS.md
- AGENTS.mdAGENTS.md
- aichat/AGENTS.mdAGENTS.md
- aider/AGENTS.mdAGENTS.md
- annepro2/AGENTS.mdAGENTS.md
- atuin/AGENTS.mdAGENTS.md
- btop/AGENTS.mdAGENTS.md
- chromium-vimium-extension/AGENTS.mdAGENTS.md
- codex/AGENTS.mdAGENTS.md
- contextMenu/AGENTS.mdAGENTS.md
- cron/AGENTS.mdAGENTS.md
- crush/AGENTS.mdAGENTS.md
- docker/AGENTS.mdAGENTS.md
- docker-logger/AGENTS.mdAGENTS.md
- docs/AGENTS.mdAGENTS.md
- eqmac/AGENTS.mdAGENTS.md
- eza/AGENTS.mdAGENTS.md
- firefox-vimium-addon/AGENTS.mdAGENTS.md
- fork/AGENTS.mdAGENTS.md
- hammerspoon/AGENTS.mdAGENTS.md
- hermes/AGENTS.mdAGENTS.md
- heroic/AGENTS.mdAGENTS.md
- homebrew/AGENTS.mdAGENTS.md
- iina/AGENTS.mdAGENTS.md
- immich/AGENTS.mdAGENTS.md
- install/AGENTS.mdAGENTS.md
- iterm/AGENTS.mdAGENTS.md
- karabiner/AGENTS.mdAGENTS.md
- keyboard-layout/AGENTS.mdAGENTS.md
- lazydocker/AGENTS.mdAGENTS.md
- lazygit/AGENTS.mdAGENTS.md
- litellm/AGENTS.mdAGENTS.md
- macos/AGENTS.mdAGENTS.md
- macos_cleanup/AGENTS.mdAGENTS.md
- macos_update/AGENTS.mdAGENTS.md
- marta/AGENTS.mdAGENTS.md
- mistral-vibe/AGENTS.mdAGENTS.md
- noti/AGENTS.mdAGENTS.md
- npm/AGENTS.mdAGENTS.md
- opencode/AGENTS.mdAGENTS.md
- python/AGENTS.mdAGENTS.md
- qdrant/AGENTS.mdAGENTS.md
- qwen-code/AGENTS.mdAGENTS.md
- rag/AGENTS.mdAGENTS.md
- rtk/AGENTS.mdAGENTS.md
- tmux/AGENTS.mdAGENTS.md
- uv/AGENTS.mdAGENTS.md
- voiceink/AGENTS.mdAGENTS.md
- vscode/AGENTS.mdAGENTS.md
- xcode/AGENTS.mdAGENTS.md
- zap/AGENTS.mdAGENTS.md
- zsh/AGENTS.mdAGENTS.md
- ableton/CLAUDE.mdCLAUDE.md
- aichat/CLAUDE.mdCLAUDE.md
- aider/CLAUDE.mdCLAUDE.md
- annepro2/CLAUDE.mdCLAUDE.md
- atuin/CLAUDE.mdCLAUDE.md
- btop/CLAUDE.mdCLAUDE.md
- chromium-vimium-extension/CLAUDE.mdCLAUDE.md
- claude-code/CLAUDE.mdCLAUDE.md
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 0 are distinctive, and 1 is 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.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 24
Do not touch ~/.codex/skills: it holds only Codex's built-in system skills cache (.system/), written by Codex itself.
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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
claude-code — shared AI-tool assets (commands, agents, skills) + Claude Code config
Single source of truth for commands/, agents/, skills/ shared across Claude Code, Qwen Code, Codex. ~/.claude is a symlink to this directory.
Symlink targets (created by Makefile)
~/.qwen/commands→claude-code/commands~/.qwen/agents→claude-code/agents~/.qwen/skills→claude-code/skills~/.codex/config.toml→codex/config.toml~/.codex/AGENTS.md→ repo-rootAGENTS.md~/.codex/instructions.md→claude-code/CLAUDE.md~/.agents/skills→claude-code/skills(Codex skills — current location;~/.codex/skillsis deprecated)
Tool-specific configs (not shared)
qwen-code/settings.json— Qwen's own settings (context comes fromclaude-code/CLAUDE.mdvia~/.qwen/QWEN.mdsymlink)codex/config.toml— Codex's own global config
Detached skills & MCP (opt-in, zero always-loaded context cost)
detached_skills/(+ same dir indotfiles_private) — skills excluded from the always-loaded global set so their descriptions don't cost context in every session. Attach per folder:skill-attach <name> [dir](symlinks into<dir>/.claude/skills/), list withskill-attach, remove withskill-attach --detach <name> [dir].detached_mcp/— MCP server snippets removed from global~/.claude.json. Attach per folder:mcp-attach <name> [dir](merges into<dir>/.mcp.json).
Codex operational notes
- Codex picks up shared skills via
~/.agents/skills(symlinked dir works; new skills appear automatically, restart Codex to rescan). - Do not touch
~/.codex/skills: it holds only Codex's built-in system skills cache (.system/), written by Codex itself. - Codex silently skips skills whose frontmatter
descriptionexceeds 1024 chars (orname> 64) — enforced by thelint-skill-frontmatterpre-commit hook. skills/openai-docsis vendored from Codex's built-in system skills (~/.codex/skills/.system/openai-docs); re-copy it manually if a Codex update improves it.- Codex is installed via Homebrew cask only (
cask "codex"); never add the npm@openai/codexduplicate back. Neverbrew uninstall --zap codex— its zap stanza deletes~/.codex.
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.

