Coding & DevelopmentπŸ€–claude⌨️cursor🌐universal

AI Global

Unified configuration manager for AI coding assistants

Quick Start

Install this Skill

npx skills add nanxiaobei/ai-global
# AI Global

[δΈ­ζ–‡ζ–‡ζ‘£](README_CN.md)

Unified configuration manager for AI coding assistants. Edit one file, sync to all your AI tools.

## Installation

### curl

```bash
curl -fsSL https://raw.githubusercontent.com/nanxiaobei/ai-global/main/install.sh | bash
```

### npm

```bash
npm install -g ai-global
# or
pnpm add -g ai-global
# or
yarn global add ai-global
# or
bun add -g ai-global
```

## Usage

### First run

```bash
ai-global
```

This will:

1. Scan your system for installed AI tools
2. Backup original configs to `~/.ai-global/backups/`
3. Merge global/skills/agents/rules/commands/prompts from all tools
4. Create symlinks from each tool's config to shared directories

### Commands

| Command                      | Description                            |
| ---------------------------- | -------------------------------------- |
| `ai-global`                  | Scan, merge, update symlinks (default) |
| `ai-global status`           | Show symlink status                    |
| `ai-global list`             | List supported tools                   |
| `ai-global backups`          | List available backups                 |
| `ai-global unlink <tool>`    | Unlink a tool's original config        |
| `ai-global unlink all`       | Unlink all tools                       |
| `ai-global skill <source>`   | Add a skill (file or GitHub repo)      |
| `ai-global agent <source>`   | Add an agent                           |
| `ai-global rule <source>`    | Add a rule                             |
| `ai-global command <source>` | Add a command                          |
| `ai-global prompt <source>`  | Add a prompt                           |
| `ai-global upgrade`          | Upgrade to latest version              |
| `ai-global uninstall`        | Completely remove ai-global            |
| `ai-global version`          | Show version                           |
| `ai-global help`             | Show help                              |

### Add skill/agent/rule/command/prompt

```bash
ai-global skill user/repo
ai-global skill https://github.com/user/repo
```

## How it works

```
~/.ai-global/
β”œβ”€β”€ global.md        <- Shared global (edit this)
β”œβ”€β”€ skills/          <- Shared skills (merged from all tools)
β”œβ”€β”€ agents/          <- Shared agents
β”œβ”€β”€ rules/           <- Shared rules
β”œβ”€β”€ commands/        <- Shared slash commands
β”œβ”€β”€ prompts/         <- Shared prompt templates
└── backups/         <- Original configs (backup)

Each AI tool's config directory contains symlinks:

~/.claude/
β”œβ”€β”€ CLAUDE.md -> ~/.ai-global/global.md        (symlink)
β”œβ”€β”€ skills/   -> ~/.ai-global/skills/          (symlink)
└── commands/ -> ~/.ai-global/commands/        (symlink)

~/.cursor/
β”œβ”€β”€ rules/global.md -> ~/.ai-global/global.md       (symlink)
β”œβ”€β”€ skills/         -> ~/.ai-global/skills/         (symlink)
└── prompts/        -> ~/.ai-global/prompts/        (symlink)

... and more tools
```

## Merge behavior

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/`

The first file found wins (dedup by filename).

## Supported Tools

| Tool              | Global | Skills | Agents | Rules | Commands | Prompts |
| ----------------- | :----: | :----: | :----: | :---: | :------: | :-----: |
| Claude Code       |   βœ“    |   βœ“    |        |       |    βœ“     |         |
| Cursor            |   βœ“    |   βœ“    |        |       |          |    βœ“    |
| GitHub Copilot    |   βœ“    |        |        |       |          |         |
| Factory Droid     |   βœ“    |        |        |       |          |         |
| Gemini CLI        |   βœ“    |   βœ“    |        |       |    βœ“     |         |
| Windsurf          |   βœ“    |   βœ“    |   βœ“    |   βœ“   |          |         |
| Kiro              |   βœ“    |        |   βœ“    |       |          |         |
| Qodo              |   βœ“    |        |   βœ“    |       |          |         |
| Antigravity       |   βœ“    |   βœ“    |        |       |    βœ“     |         |
| Continue          |   βœ“    |        |        |   βœ“   |          |    βœ“    |
| Cline             |   βœ“    |        |        |   βœ“   |          |    βœ“    |
| Roo Code          |   βœ“    |        |        |   βœ“   |          |         |
| Sourcegraph Cody  |   βœ“    |        |        |       |    βœ“     |         |
| CodeGPT           |   βœ“    |        |        |       |          |    βœ“    |
| GPT Engineer      |   βœ“    |        |        |       |          |    βœ“    |
| Smol Developer    |   βœ“    |        |        |       |          |    βœ“    |
| Amp               |   βœ“    |        |        |       |          |         |
| Trae              |   βœ“    |        |        |       |          |         |
| OpenCode          |   βœ“    |        |        |       |          |         |
| OpenAI Codex      |   βœ“    |        |        |       |          |         |
| Aider             |   βœ“    |        |        |       |

... (truncated)
Repository
20stars
2forks
View on GitHub
Details
DiscoveredJan 19, 2026
Last UpdatedJan 19, 2026
Quality Score
43/100