用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill arc-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | arc-sync |
| description | > Use when this capability is needed. |
MCP servers in this environment are managed by Arc Relay. Never edit .mcp.json or .codex/config.toml directly - use arc-sync commands.
Before running any arc-sync command, check if arc-sync is configured:
Run arc-sync status --json 2>/dev/null. If it fails or returns {"error": ...}:
arc-sync binary exists: which arc-syncarc-sync init if they have credentialsarc-sync init to set upIf status succeeds but shows missing Claude integration, suggest:
arc-sync setup-claude for personal skill installationarc-sync setup-codex for personal Codex CLI instructionsarc-sync setup-project for team-shared project instructions!arc-sync status --json 2>/dev/null || echo '{"error": "arc-sync not installed or not configured - run: arc-sync init"}'
| Command | Description |
|---|---|
arc-sync | Interactive sync - add new relay servers to project |
arc-sync list | Show all servers (use --json for machine-readable) |
arc-sync add <name> | Add a specific server to this project |
arc-sync remove <name> | Remove a server from this project |
arc-sync reset | Clear the skip list for this project |
arc-sync status | Show config and project details |
arc-sync setup-claude | Install Claude Code skill and CLAUDE.md instructions |
arc-sync setup-codex | Install Codex CLI AGENTS.md instructions |
arc-sync setup-project | Add MCP instructions to project .claude/CLAUDE.md and AGENTS.md |
arc-sync server add <name> --type remote <url> | Register a remote MCP server on the relay |
arc-sync server add <name> --type stdio --build python --package <pkg> | Register an auto-build server |
arc-sync server add <name> --type stdio --image <img> | Register a Docker stdio server |
arc-sync server add <name> --type http --image <img> --port <p> | Register a Docker HTTP server |
arc-sync server remove <name> | Delete a server from the relay |
arc-sync server start <name> | Start a relay server |
arc-sync server stop <name> | Stop a relay server |
Use --non-interactive or -y for automation. Use --dry-run for preview.
arc-sync manages .mcp.json and .codex/config.toml, which are project MCP configs for Claude Code and Codex CLI. Agent sessions load MCP connections at session start, so changes do not take effect in the current conversation.
After arc-sync remove <name>:
After arc-sync add <name> or interactive sync that adds servers:
After arc-sync server stop <name>:
Use this skill whenever the conversation involves:
.mcp.json.codex/config.tomlAlways prefer arc-sync over manually editing .mcp.json or .codex/config.toml.
If arguments are provided, run: arc-sync $ARGUMENTS
Otherwise, run arc-sync list first to show status, then ask the user what they'd like to do.
Source: comma-compliance/arc-relay — distributed by TomeVault.