Loading...
Loading...
Sync skills (symlinks) and MCP settings from Claude to Gemini CLI and Codex CLI
npx skill4agent add levnikolaevich/claude-code-skills ln-004-agent-config-syncPaths: File paths (,shared/,references/) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root.../ln-*
| Parameter | Required | Default | Description |
|---|---|---|---|
| targets | No | both | |
| mode | No | full | |
| dry_run | No | false | Show planned actions without executing |
Detect OS → Discover Configs → Sync Skills → Sync MCP → Report| Check | Result | Impact |
|---|---|---|
| win32 / darwin / linux | Junction vs symlink |
| Home directory | | Config paths |
| Agent | Windows | macOS / Linux |
|---|---|---|
| Claude | | |
| Gemini | | |
| Codex | | |
~/.claude/settings.jsonmcpServersmcpServers~/.gemini/settings.jsonmcpServers~/.codex/config.toml[mcp_servers.*]~/.claude/plugins/*/plugin.json~/.gemini/skills~/.codex/skillsCurrent State:
| Agent | Skills | MCP Servers | Config Exists |
|-------|--------|-------------|---------------|
| Claude (source) | 5 plugins | 4 servers | yes |
| Gemini | no link | 2 servers | yes |
| Codex | → ~/.claude/plugins | 4 servers | yes |~/.gemini/skills~/.codex/skills| OS | Command |
|---|---|
| Windows | |
| macOS / Linux | |
~/.claude/settings.jsonmcpServersmcpServerssettings.json{}settings.jsonmcpServersconfig.toml| Claude JSON field | Codex TOML field | Notes |
|---|---|---|
| | Same |
| | JSON array → TOML array |
| | Nested table |
| | HTTP transport |
| | SSE transport |
"context7": {
"command": "npx",
"args": ["-y", "@upstash/context7-mcp"]
}[mcp_servers.context7]
command = "npx"
args = ["-y", "@upstash/context7-mcp"]config.tomlbearer_token_env_varenabled_toolsdisabled_toolsSync Complete:
| Action | Target | Status |
|--------|--------|--------|
| Skills symlink | Gemini | Created → ~/.claude/plugins/... |
| Skills symlink | Codex | Already linked |
| MCP sync | Gemini | 4 servers synced (2 new, 2 updated) |
| MCP sync | Codex | 4 servers synced (1 new, 3 updated) |.bakdry_run=true| # | Criterion |
|---|---|
| 1 | Claude settings read successfully |
| 2 | Skills symlinks created/verified for each target |
| 3 | MCP settings synced with format conversion (JSON→TOML for Codex) |
| 4 | Backup files created before any config modification |
| 5 | Report shown with all actions and warnings |