Claude Code, OpenAI Codex, Google Antigravity Configuration Sync Guide
Keywords: AI Coding Assistant, Claude Code, Antigravity, Codex, Gemini CLI, Configuration Management, Developer Productivity
The Problem: Multi-dimensional Explosion of AI Development Tools
- Multiple tools: Antigravity, Codex, Claude Code, Gemini CLI
- Multiple config files: Each tool has its own configuration. Claude Code alone has 3 configs:
CLAUDE.md,.claude/CLAUDE.md,~/.claude/CLAUDE.md - Multiple projects
- Codex and Gemini CLI support
AGENTS.md - Antigravity has
.agent/workflow
The Solution: Maintain a Single Source of Truth, Sync to All Tools
- Principle 1: Use Claude Code as the Source of Truth, symlink to other tools’
AGENTS.md/.agent(Antigravity) - Principle 2: Build the simplest iterable system, avoid over-engineering
Once you organize the sync strategy, just let AI handle the execution.
Sync Strategy & Usage
Usage: Copy the following to a new project and let AI execute it
Execute symlinks according to the table below
| Config | Description | Sync Method |
|---|---|---|
CLAUDE.md | Project-specific: coding standards, business logic | Claude Code /init handles automatically |
~/.claude/CLAUDE.md | Global config (e.g., “respond in Chinese”) | No action needed |
.claude/CLAUDE.md | — | No action needed |
~/.claude/ | Global directory | No action needed |
AGENTS.md | Codex / Gemini CLI | ln -s ./CLAUDE.md ./AGENTS.md (source → target) |
~/.claude/skills/*/SKILL.md | Sync Skills to Antigravity | For each skill, run ln -s ~/.claude/skills/<skill-name>/SKILL.md ./.agent/workflows/<skill-name>.md |
Open Source Project
The complete configuration sync solution is open source. Feel free to reference and contribute:
🔗 GitHub: darklight2064/agentdev
Tags: #AIDevelopment #ConfigurationManagement #Claude #DeveloperProductivity #DevOps