agentleFS
servitolaservitola/dotfiles/claude-code/AGENTS.md

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.

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
  1. Very specific:

    Do not touch ~/.codex/skills: it holds only Codex's built-in system skills cache (.system/), written by Codex itself.

    line 24

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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-root AGENTS.md
  • ~/.codex/instructions.md → claude-code/CLAUDE.md
  • ~/.agents/skills → claude-code/skills (Codex skills — current location; ~/.codex/skills is deprecated)

Tool-specific configs (not shared)

  • qwen-code/settings.json — Qwen's own settings (context comes from claude-code/CLAUDE.md via ~/.qwen/QWEN.md symlink)
  • codex/config.toml — Codex's own global config

Detached skills & MCP (opt-in, zero always-loaded context cost)

  • detached_skills/ (+ same dir in dotfiles_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 with skill-attach, remove with skill-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 description exceeds 1024 chars (or name > 64) — enforced by the lint-skill-frontmatter pre-commit hook.
  • skills/openai-docs is 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/codex duplicate back. Never brew uninstall --zap codex — its zap stanza deletes ~/.codex.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.