Sync custom instructions, skills, and MCP servers across every AI coding CLI — write once, all six agents get the same config simultaneously.
agent-sync keeps your AI tool configuration consistent. Write once, sync everywhere.
Auto-detects prompt files (AGENTS.md, CLAUDE.md,
COPILOT.md, CODEX.md, etc.) and writes your unified instructions to
4 targets simultaneously:
One .agent/skills/ directory is the source of truth. Symlinks are
created so every agent discovers the same skills — no duplication, no drift.
One ~/.agent-sync/mcp.json is synced to 6 different CLI
config files with automatic format conversion — JSON for most, TOML for Codex.
Each agent gets its own native config format — instructions, skills, and MCP servers all synced at once.
An interactive wizard walks you through everything. No config files to create manually.
Install globally from npm.
Launch the interactive wizard. It auto-detects your project and guides you through prompt, skills, and MCP setup.
All 6 agents now share the same config. Use individual commands for targeted syncs.
Your ~/.agent-sync/mcp.json is automatically transformed and
written to each CLI's native format.
| Target | Config Path | Format |
|---|---|---|
| Claude Code | ~/.mcp.json | JSON mcpServers |
| Codex | ~/.codex/config.toml | TOML [mcp_servers.*] |
| Gemini CLI | ~/.gemini/settings.json | JSON mcpServers |
| OpenCode | ~/.config/opencode/opencode.json | JSON mcp |
| Copilot | ~/.copilot/mcp-config.json | JSON mcpServers |
| Antigravity | ~/.gemini/antigravity/mcp_config.json | JSON mcpServers |
All agent-sync data lives in ~/.agent-sync/. The unified MCP config is your single
source of truth. Backups are created automatically when conflicts are detected.