Sync skills, hooks, and instruction files across AI coding agents
One source tree, symlinked or copied into Claude Code, Codex, Copilot, Gemini CLI, Antigravity, OpenCode, and more. Most agent configs are just plain files, and agentcfg manages them as such.
Works with
Install
Go installs and source builds require Go 1.24 or newer.
Homebrew
brew install jorgenosberg/tap/agentcfggo install
go install github.com/jorgenosberg/agentcfg/cmd/agentcfg@latestFrom source
git clone https://github.com/jorgenosberg/agentcfg
cd agentcfg && make buildOne source tree
Skills, hooks, and instruction files like CLAUDE.md and AGENTS.md live in one directory you choose, and get installed into each agent from there.
Link or copy
Symlink so edits show up everywhere immediately, or copy for agents that can't follow symlinks. Set the strategy globally or per target.
Discovery & import
agentcfg knows the usual install directories (~/.claude, ~/.codex, and so on) and can import what it finds there into your source tree. Nothing is scanned unless you ask.
Sandbox mode
Set AGENTCFG_HOME to a throwaway directory and every command reads and writes only there. Try things out without touching your real agent configs.