sync-agents-settings 0.4.0 → 0.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.claude-plugin/marketplace.json +31 -0
- package/.claude-plugin/plugin.json +1 -1
- package/README.md +33 -17
- package/dist/cli.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "sync-agents-settings",
|
|
3
|
+
"owner": {
|
|
4
|
+
"name": "Leoyang183"
|
|
5
|
+
},
|
|
6
|
+
"plugins": [
|
|
7
|
+
{
|
|
8
|
+
"name": "sync-agents-settings",
|
|
9
|
+
"source": "./",
|
|
10
|
+
"description": "Sync MCP server configs and instructions from Claude Code to other AI agents (Gemini, Codex, Cursor, Kiro, OpenCode, Kimi, Aider)",
|
|
11
|
+
"version": "0.4.1",
|
|
12
|
+
"author": {
|
|
13
|
+
"name": "Leoyang183"
|
|
14
|
+
},
|
|
15
|
+
"repository": "https://github.com/Leoyang183/sync-agents-settings",
|
|
16
|
+
"license": "MIT",
|
|
17
|
+
"keywords": ["mcp", "sync", "agents", "settings"],
|
|
18
|
+
"commands": [
|
|
19
|
+
"./commands/sync.md",
|
|
20
|
+
"./commands/sync-list.md",
|
|
21
|
+
"./commands/sync-diff.md",
|
|
22
|
+
"./commands/sync-instructions.md",
|
|
23
|
+
"./commands/sync-doctor.md",
|
|
24
|
+
"./commands/sync-validate.md",
|
|
25
|
+
"./commands/sync-reconcile.md",
|
|
26
|
+
"./commands/report-schema.md"
|
|
27
|
+
],
|
|
28
|
+
"skills": ["./skills/"]
|
|
29
|
+
}
|
|
30
|
+
]
|
|
31
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sync-agents-settings",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Sync MCP server configs and instructions from Claude Code to other AI agents (Gemini, Codex, Cursor, Kiro, OpenCode)",
|
|
5
5
|
"repository": "https://github.com/Leoyang183/sync-agents-settings",
|
|
6
6
|
"author": {
|
package/README.md
CHANGED
|
@@ -26,21 +26,24 @@ This tool lets you configure MCP servers and write instructions once in Claude C
|
|
|
26
26
|
|
|
27
27
|
### Option A: Claude Code Plugin (recommended)
|
|
28
28
|
|
|
29
|
-
|
|
29
|
+
Install as a Claude Code plugin via marketplace:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
#
|
|
33
|
-
claude
|
|
32
|
+
# 1. Add the marketplace
|
|
33
|
+
claude plugin marketplace add Leoyang183/sync-agents-settings
|
|
34
34
|
|
|
35
|
-
#
|
|
36
|
-
|
|
35
|
+
# 2. Install the plugin
|
|
36
|
+
claude plugin install sync-agents-settings
|
|
37
|
+
|
|
38
|
+
# Then use slash commands in any conversation:
|
|
37
39
|
# /sync — sync MCP configs (with dry-run preview)
|
|
38
|
-
# /sync-
|
|
39
|
-
# /sync-
|
|
40
|
-
# /sync-
|
|
41
|
-
# /sync-
|
|
42
|
-
# /
|
|
43
|
-
# /sync-instructions
|
|
40
|
+
# /sync-list — list all MCP servers
|
|
41
|
+
# /sync-diff — compare configs between agents
|
|
42
|
+
# /sync-doctor — detect config drift and parse errors
|
|
43
|
+
# /sync-validate — validate schema and target capabilities
|
|
44
|
+
# /sync-reconcile — validate + detect drift + sync only missing
|
|
45
|
+
# /sync-instructions — sync CLAUDE.md to other agents
|
|
46
|
+
# /report-schema — print or write report JSON schema markdown
|
|
44
47
|
```
|
|
45
48
|
|
|
46
49
|
The plugin also includes a **sync-awareness skill** that automatically suggests syncing when you edit MCP settings or CLAUDE.md files.
|
|
@@ -463,7 +466,19 @@ Use `--no-backup` to skip. Target directories that don't exist (CLI not installe
|
|
|
463
466
|
|
|
464
467
|
## Claude Code Plugin
|
|
465
468
|
|
|
466
|
-
This project
|
|
469
|
+
This project is both a Claude Code **plugin** and **marketplace**, providing slash commands and a contextual skill directly inside Claude Code conversations.
|
|
470
|
+
|
|
471
|
+
### Installation
|
|
472
|
+
|
|
473
|
+
```bash
|
|
474
|
+
# From GitHub (remote — clones the repo)
|
|
475
|
+
claude plugin marketplace add Leoyang183/sync-agents-settings
|
|
476
|
+
claude plugin install sync-agents-settings
|
|
477
|
+
|
|
478
|
+
# Or from local path (symlink — reflects local changes instantly)
|
|
479
|
+
claude plugin marketplace add /path/to/sync-agents-settings
|
|
480
|
+
claude plugin install sync-agents-settings
|
|
481
|
+
```
|
|
467
482
|
|
|
468
483
|
### Slash Commands
|
|
469
484
|
|
|
@@ -472,7 +487,11 @@ This project can be used as a Claude Code plugin, providing slash commands and a
|
|
|
472
487
|
| `/sync` | Sync MCP server configs to other agents (with dry-run preview and confirmation) |
|
|
473
488
|
| `/sync-list` | List all MCP servers configured in Claude Code |
|
|
474
489
|
| `/sync-diff` | Compare MCP configs between Claude and other agents |
|
|
490
|
+
| `/sync-doctor` | Detect MCP config drift between Claude and targets |
|
|
491
|
+
| `/sync-validate` | Validate MCP schema and target capability compatibility |
|
|
492
|
+
| `/sync-reconcile` | Validate + detect drift + sync only missing servers |
|
|
475
493
|
| `/sync-instructions` | Sync CLAUDE.md instruction files to other agent formats |
|
|
494
|
+
| `/report-schema` | Print or write report JSON schema markdown |
|
|
476
495
|
|
|
477
496
|
### Sync-Awareness Skill
|
|
478
497
|
|
|
@@ -481,11 +500,8 @@ The plugin includes a skill that automatically detects when you're editing MCP s
|
|
|
481
500
|
### Plugin Development
|
|
482
501
|
|
|
483
502
|
```bash
|
|
484
|
-
# Validate plugin structure
|
|
485
|
-
claude
|
|
486
|
-
|
|
487
|
-
# Test locally (loads plugin for this session only)
|
|
488
|
-
claude --plugin-dir /path/to/sync-agents-settings
|
|
503
|
+
# Validate plugin/marketplace structure
|
|
504
|
+
claude plugin validate /path/to/sync-agents-settings
|
|
489
505
|
```
|
|
490
506
|
|
|
491
507
|
## Limitations
|
package/dist/cli.js
CHANGED
|
@@ -25,7 +25,7 @@ const program = new Command();
|
|
|
25
25
|
program
|
|
26
26
|
.name("sync-agents")
|
|
27
27
|
.description("Sync Claude Code MCP settings to Gemini CLI / Codex CLI / OpenCode / Kiro CLI")
|
|
28
|
-
.version("0.
|
|
28
|
+
.version("0.4.1");
|
|
29
29
|
program
|
|
30
30
|
.command("sync")
|
|
31
31
|
.description("Sync MCP settings from Claude Code to other CLIs")
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sync-agents-settings",
|
|
3
3
|
"packageManager": "pnpm@10.32.1",
|
|
4
|
-
"version": "0.4.
|
|
4
|
+
"version": "0.4.1",
|
|
5
5
|
"description": "Sync MCP server configurations and instruction files from Claude Code to Gemini CLI, Codex CLI, OpenCode, Kiro CLI, Cursor, and Kimi CLI",
|
|
6
6
|
"main": "dist/cli.js",
|
|
7
7
|
"bin": {
|