English · 简体中文 · 繁體中文 · 日本語 · 한국어
Unified Config Manager for AI Coding Tools.
Edit one file, sync to all your AI tools.
Works both System Mode & Project Mode.
| Tool | Key | AGENTS.md | Rules | Commands | Skills |
|---|---|---|---|---|---|
| Claude Code | claude |
✓ | ✓ | ✓ | |
| OpenAI Codex | codex |
✓ | ✓ | ✓ | |
| Cursor | cursor |
✓ | ✓ | ✓ | ✓ |
| Factory Droid | droid |
✓ | ✓ | ✓ | ✓ |
| Amp | amp |
✓ | ✓ | ✓ | ✓ |
| Antigravity | antigravity |
✓ | ✓ | ||
| Gemini CLI | gemini |
✓ | ✓ | ||
| Kiro | kiro |
✓ | ✓ | ✓ | |
| OpenCode | opencode |
✓ | ✓ | ✓ | |
| Qoder | qoder |
✓ | ✓ | ✓ | ✓ |
| Qodo | qodo |
✓ | |||
| GitHub Copilot | copilot |
✓ | ✓ | ||
| Continue | continue |
✓ | ✓ | ||
| Windsurf | windsurf |
✓ | ✓ | ✓ | |
| Roo Code | roo |
✓ | ✓ | ✓ | ✓ |
| Cline | cline |
✓ | ✓ | ✓ | |
| Blackbox AI | blackbox |
✓ | |||
| Goose AI | goose |
✓ | ✓ | ||
| Augment | augment |
✓ | ✓ | ✓ | |
| OpenClaw | openclaw |
✓ | ✓ | ||
| Command Code | commandcode |
✓ | ✓ | ✓ | |
| Kilo Code | kilocode |
✓ | ✓ | ✓ | ✓ |
| Neovate | neovate |
✓ | ✓ | ✓ | |
| OpenHands | openhands |
✓ | ✓ | ||
| TRAE | trae |
✓ | ✓ | ✓ | |
| Zencoder | zencoder |
✓ | ✓ | ✓ |
Install with curl or npm:
curl -fsSL https://raw.githubusercontent.com/nanxiaobei/ai-global/main/install.sh | bashnpm install -g ai-global
# or
pnpm add -g ai-global
# or
yarn global add ai-global
# or
bun add -g ai-globalRun:
ai-globalThis will:
- Detect the current directory context (system or project)
- Scan for installed AI tools
- Back up original configs to
.ai-global/backups - Merge
AGENTS.mdskillsrulescommandsfrom detected tools to.ai-globalshared configs - Create symlinks from each tool to
.ai-globalshared configs
- System Mode: When run from
~directory, unified configs for system-wide - Project Mode: When run from any project directory (not
~), unified configs for project-specific
ai-global # Update symlinks (default)
ai-global status # Show symlinks status
ai-global list # List all supported AI tools
ai-global backups # List available backups
ai-global unlink <key> # Restore a tool's original config
ai-global unlink all # Restore all tools
ai-global add <user/repo> # Add skills from GitHub repo
ai-global upgrade # Upgrade to latest version
ai-global uninstall # Completely remove ai-global
ai-global version # Show version
ai-global help # Show helpContext-aware: Command behavior depends on the current directory (system or project)
ai-global add user/repo
ai-global add https://github.com/user/repoSkills will be added to your .ai-global/skills, and automatically shared to each tool (because of symlinks).
~/.ai-global/
├── AGENTS.md <- System shared AGENTS.md
├── skills/ <- System shared skills
├── rules/ <- System shared rules
├── commands/ <- System shared commands
└── backups/ <- Original tool configs' backups
~/.claude/
├── CLAUDE.md -> ~/.ai-global/AGENTS.md (symlink)
├── skills/ -> ~/.ai-global/skills/ (symlink)
└── commands/ -> ~/.ai-global/commands/ (symlink)
~/.cursor/
├── AGENTS.md -> ~/.ai-global/AGENTS.md (symlink)
└── skills/ -> ~/.ai-global/skills/ (symlink)
... and more tools
my-project/
├── .ai-global/
│ ├── AGENTS.md <- Project shared AGENTS.md
│ ├── skills/ <- Project shared skills
│ ├── rules/ <- Project shared rules
│ ├── commands/ <- Project shared commands
│ └── backups/ <- Original tool configs' backups
└── .cursor/
├── AGENTS.md -> ../.ai-global/AGENTS.md (symlink)
└── skills/ -> ../.ai-global/skills/ (symlink)
... and more tools
- System Mode: Manages AI tool configs for the system
- Project Mode: Manages AI tool configs for a project
- Automatic Detection: No commands needed to switch
- Context-Aware: Commands will show which context they're operating in
When you run ai-global, it merges items from all tools by filename:
- Cursor has skills:
react/,typescript/ - Claude has skills:
typescript/,python/ - Result in
.ai-global/skills:react/,typescript/,python/
Last file wins (later tools overwrite earlier tools with the same filename).
ai-global uninstallThis will:
- Unlink all tools, restore to their original configs
- Remove all
.ai-globaldirectory - Remove
ai-globalcommand
MIT