This repo is a directory for the common source of truth for agent instructions. Edit skills, hooks, and AGENTS.md here. Harnesses read those files through symlinks.
-
Clone the repo
-
Move the repo to ~/.agents directory (or merge with an existing one)
-
For every harness, symlink each path it reads to the matching path in this repo if that harness reads the same format.
lnwill not replace a path that already exists, so move (remove) a real directory aside first.The hook list is a separate format per harness, so
hooks.jsonpoints athooks/cursor.jsonorhooks/codex.json.Cursor:
# ~/.cursor/skills -> ~/.agents/skills ln -s ~/.agents/skills ~/.cursor/skills # ~/.cursor/hooks -> ~/.agents/hooks ln -s ~/.agents/hooks ~/.cursor/hooks # ~/.cursor/hooks.json -> ~/.agents/hooks/cursor.json ln -s ~/.agents/hooks/cursor.json ~/.cursor/hooks.json
Cursor changes the skills directory when "Sync Skills for Cloud Agents" is enabled:
# ~/Library/Application Support/Cursor/AgentStores/cursor_agent_stores/u218146771/files/skills -> ~/.agents/skills ln -s ~/.agents/skills "$HOME/Library/Application Support/Cursor/AgentStores/cursor_agent_stores/u218146771/files/skills"
Codex:
# ~/.codex/AGENTS.md -> ~/.agents/AGENTS.md ln -s ~/.agents/AGENTS.md ~/.codex/AGENTS.md # ~/.codex/hooks -> ~/.agents/hooks ln -s ~/.agents/hooks ~/.codex/hooks # ~/.codex/hooks.json -> ~/.agents/hooks/codex.json ln -s ~/.agents/hooks/codex.json ~/.codex/hooks.json
-
Cursor rules use Cursor's own format in its customization settings. The user copies items from
AGENTS.mdinto those settings by hand.
Agents work on main and commit on main.
When using the implement workflow, skip the tests.