Token导航 LogoToken导航

Agent Skill · 研究检索

agent-config-sync(Agent 配置同步)

agent-config-sync 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

agent-config-sync 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有未通过项,按安装量在研究检索类的 73,675 个 Skill 里排第 64,698。

总安装 294周安装 12GitHub Stars 2下载 95核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:agent-config-sync(Agent 配置同步)
来源仓库:https://github.com/liamdmcgarrigle/agent-config-sync
仓库路径:skills/agent-config-sync
安装命令:
npx skills add https://github.com/liamdmcgarrigle/agent-config-sync --skill agent-config-sync
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/liamdmcgarrigle/agent-config-sync --skill agent-config-sync

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

用于在多开发工具间同步 Agent 技能与 MCP 服务器配置,保持环境一致。适合在 Codex、Claude、Cursor、Gemini CLI 中需要跨工具共享技能定义时使用。以 Claude Code 为唯一可信源,通过 vsync 自动传播变更到其他平台。

安装命令:npx skills add https://github.com/liamdmcgarrigle/agent-config-sync --skill agent-config-sync。建议确认权限范围、维护状态及是否触发联网或文件操作后再安装使用。

来源仓库内路径:skills/agent-config-sync

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/liamdmcgarrigle/agent-config-sync --skill agen…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

agent-config-sync 怎么安装?

在终端执行 npx skills add https://github.com/liamdmcgarrigle/agent-config-sync --skill agent-config-s…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

agent-config-sync 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

agent-config-sync 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

agent-config-sync 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

agent-config-sync 用的人多吗?

公开数据是累计安装 294 次,近一周安装 12 次,下载 95 次,GitHub 2 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

agent-config-sync 安全吗?

第三方扫描有未通过项,风险较高。除非你确认过源码,否则不建议直接安装到常用环境。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
agent-config-sync

Agent 配置同步 · 本页

2942调用外部服务未明确未通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Agent Sync Setup

This skill sets up and manages a system where Claude Code, OpenCode, Codex, and Cursor all have identical skills and MCP servers. Claude Code is the single source of truth, and changes propagate to all other tools automatically via vsync and git hooks.

Architecture Overview

Claude Code (.claude/)          -- SOURCE OF TRUTH
    |
    | npx @nicepkg/vsync sync
    |
    +---> Cursor (.cursor/)
    +---> OpenCode (.opencode/)
    +---> Codex (.codex/)

What syncs: Skills (SKILL.md files), MCP servers, agents, commands. What does NOT sync: Plugins. Plugins are Claude Code-only and break cross-tool parity. Use skills instead of plugins whenever possible.

Key tools:

  • vsync (npx @nicepkg/vsync) - Syncs configs across tools, handles format conversion
  • npx skills (from skills.sh / vercel-labs/skills) - Universal skill package manager
  • Git submodules - For version-pinned, team-shared skill repos

Important: When installing skills with npx skills add, always use the --copy flag. By default, the skills CLI installs via symlinks (.claude/skills/foo ->.agents/skills/foo), but vsync cannot follow symlinks when reading the source directory, causing it to see 0 skills. The --copy flag writes real files that vsync can read.

Skill directories per tool:

ToolSkills DirMCP Config
Claude Code.claude/skills/.mcp.json (JSON)
Cursor.cursor/skills/mcp.json (JSON)
OpenCode.opencode/skills/opencode.json (JSON, project root)
Codex.codex/skills/config.toml (TOML)

vsync handles all format conversions automatically.

Sync support per tool:

FeatureClaude CodeCursorOpenCodeCodex
SkillsYes (source)YesYesYes
MCPYes (source)YesYesYes
AgentsYes (source)NoYesNo
CommandsYes (source)YesYesNo

Workflow: setup-agent-sync

Run this once per project to set up the full sync system.

Step 1: Create .vsync.json

Create this file at the project root:

{
  "version": "1.0.0",
  "level": "project",
  "source_tool": "claude-code",
  "target_tools": [
    "codex",
    "cursor",
    "opencode"
  ],
  "sync_config": {
    "skills": true,
    "mcp": true,
    "agents": true,
    "commands": true
  },
  "use_symlinks_for_skills": false
}

Important: use_symlinks_for_skills must be false to avoid errors when no skills directory exists yet. vsync will copy files instead of symlinking.

Step 2: Create post-commit git hook

Create .git/hooks/post-commit with executable permissions (chmod +x):

#!/bin/sh

# Prevent infinite loop when this hook triggers its own commit
[ "$VSYNC_RUNNING" = "1" ] && exit 0

# Sync configs from Claude Code to all target tools
npx @nicepkg/vsync sync -y

# Keep AGENTS.md in sync with CLAUDE.md
if [ -f "CLAUDE.md" ]; then
  if ! cmp -s "CLAUDE.md" "AGENTS.md" 2>/dev/null; then
    cp "CLAUDE.md" "AGENTS.md"
  fi
fi

# All paths that vsync may create or modify
SYNC_PATHS=".mcp.json opencode.json AGENTS.md CLAUDE.md .cursor/skills .codex/skills .opencode"

# Stage any new or modified sync files (handles both tracked and untracked)
git add --ignore-errors $SYNC_PATHS 2>/dev/null

# Check if staging actually picked up changes
if ! git diff --cached --quiet 2>/dev/null; then
  VSYNC_RUNNING=1 git commit --no-verify \
    --author="vsync agent sync <vsync@local>" \
    -m "chore: sync agent configs [vsync]"
fi

Step 3: Create pre-commit git hook

Create .git/hooks/pre-commit with executable permissions (chmod +x):

#!/bin/sh

# Block commit if symlinked skills are detected in .claude/skills/
# vsync cannot follow symlinks, so symlinked skills will NOT sync to other tools.
SYMLINKED_SKILLS=""
if [ -d ".claude/skills" ]; then
  for entry in .claude/skills/*; do
    [ -e "$entry" ] || continue
    if [ -L "$entry" ]; then
      SYMLINKED_SKILLS="$SYMLINKED_SKILLS  $(basename "$entry")\n"
    fi
  done
fi

if [ -n "$SYMLINKED_SKILLS" ]; then
  echo ""
  echo "============================================================"
  echo "  ERROR: Symlinked skills detected in .claude/skills/"
  echo "============================================================"
  echo ""
  echo "  The following skills are symlinks:"
  printf "$SYMLINKED_SKILLS"
  echo ""
  echo "  vsync cannot read symlinked skills and will NOT sync them"
  echo "  to Cursor, OpenCode, or Codex."
  echo ""
  echo "  To fix, reinstall with --copy:"
  echo "    npx skills remove <skill-name>"
  echo "    npx skills add <owner/repo> -a claude-code --copy"
  echo ""
  echo "  Or manually replace the symlink with real files:"
  echo "    rm .claude/skills/<name>"
  echo "    cp -r .agents/skills/<name> .claude/skills/<name>"
  echo "============================================================"
  echo ""
  exit 1
fi

# Warn if plugins are being used instead of skills
# Plugins are Claude Code-only and break cross-tool parity
if [ -f ".claude/settings.json" ]; then
  if grep -q '"enabledPlugins"' .claude/settings.json 2>/dev/null; then
    echo ""
    echo "============================================================"
    echo "  WARNING: Claude Code plugins detected in settings.json"
    echo "============================================================"
    echo ""
    echo "  Plugins only work in Claude Code and break cross-tool"
    echo "  parity with OpenCode, Codex, and Cursor."
    echo ""
    echo "  For cross-tool compatibility, prefer:"
    echo "    npx skills find \"<keyword>\"     # search for a skill"
    echo "    npx skills add <repo> -a claude-code --copy"
    echo ""
    echo "  Skills use the universal SKILL.md format and sync to"
    echo "  all tools via vsync automatically."
    echo "============================================================"
    echo ""
  fi
fi

The symlink check blocks the commit because symlinked skills silently fail to sync. The plugin check warns but does NOT block -- some plugins are legitimately Claude Code-only.

Step 4: Run initial sync

npx @nicepkg/vsync sync -y

Step 5: Verify

Check that target tool directories were created:

ls -la .cursor/  .opencode/  .codex/  2>/dev/null

Workflow: find-skill

Search for and install a skill from the skills.sh registry.

Step 1: Search

npx skills find "<keyword>"

This searches skills.sh, the largest cross-tool skill directory. Results show skill name, description, and install count.

Step 2: Install to Claude Code only

npx skills add <owner/repo> --skill <skill-name> -a claude-code --copy

Always install to claude-code only. Claude Code is the source of truth -- vsync handles distribution to the other tools.

Do NOT use -a cursor -a opencode -a codex. Let vsync do its job.

Step 3: Sync to all tools

npx @nicepkg/vsync sync -y

Or just commit -- the post-commit hook runs vsync automatically.

Example workflow

# User wants a Svelte skill
npx skills find "svelte"

# Install the one they pick
npx skills add spences10/svelte-claude-skills --skill svelte5-runes -a claude-code --copy

# Sync (or just commit and the hook does it)
npx @nicepkg/vsync sync -y

Workflow: add-skill-submodule

Add a skill repo as a git submodule for version-pinned, team-shared skills. Use this instead of npx skills add when:

  • The team needs everyone on the exact same version
  • The skill repo is private
  • You want the skill tracked in your repo's git history

Step 1: Add the submodule

git submodule add <repo-url> .claude/skills/<name>

The repo must contain one or more directories with SKILL.md files in the universal Agent Skills format:

<name>/
  skill-one/
    SKILL.md
  skill-two/
    SKILL.md

Or if the repo IS a single skill:

<name>/
  SKILL.md

Step 2: Commit the submodule

git add .gitmodules .claude/skills/<name>
git commit -m "feat: add <name> skill submodule"

The post-commit hook will automatically run vsync to sync the skill to all target tools.

Step 3: Team members initialize submodules

After cloning, team members need to run:

git submodule update --init --recursive

Updating a submodule to latest

git submodule update --remote --merge .claude/skills/<name>
git add .claude/skills/<name>
git commit -m "chore: update <name> skill submodule"

Workflow: find-mcp

Search for and add an MCP server. MCP servers are runtime services (npm packages, HTTP endpoints) -- they go in .mcp.json, NOT as git submodules.

Step 1: Search

MCP servers can be discovered on these registries:

Help the user search for what they need. If they describe a use case, suggest relevant MCP servers from these registries.

Step 2: Add to Claude Code

For npm-based servers:

claude mcp add <server-name> -- npx -y @package/mcp-server

For HTTP-based servers, edit .mcp.json directly:

{
  "mcpServers": {
    "server-name": {
      "type": "http",
      "url": "https://example.com/mcp"
    }
  }
}

For servers with environment variables:

{
  "mcpServers": {
    "server-name": {
      "command": "npx",
      "args": ["-y", "@package/mcp-server"],
      "env": {
        "API_KEY": "${API_KEY}"
      }
    }
  }
}

Step 3: Sync to all tools

npx @nicepkg/vsync sync -y

vsync reads .mcp.json and converts it to each tool's native format:

  • Cursor: .cursor/mcp.json (JSON, mcpServers key)
  • OpenCode: opencode.json at project root (JSON, mcp key, type: "remote" for HTTP)
  • Codex: .codex/config.toml (TOML, mcp_servers key)

vsync also converts environment variable syntax between tools (${VAR} vs ${env:VAR} vs {env:VAR}).

Step 4: Commit

git add .mcp.json
git commit -m "feat: add <server-name> MCP server"

The .mcp.json file should be committed to version control so team members get the same MCP server configuration.


Workflow: update-agent-tools

Update all skills and MCP configs across all tools.

# Update skills installed via npx skills
# Note: `npx skills update` only works for globally-installed skills.
# For project-scoped skills, re-add them with --copy:
npx skills add <owner/repo> -a claude-code --copy -y

# Update skills installed as git submodules
git submodule update --remote --merge

# Re-sync everything to all tools
npx @nicepkg/vsync sync -y

Run this periodically or whenever you want the latest versions of your skills.

If submodules were updated, commit the changes:

git add .claude/skills/
git commit -m "chore: update skill submodules"

The post-commit hook will handle syncing automatically.


Troubleshooting

vsync reads "0 skills" or says "everything is up to date" but skills aren't synced

  • Run ls -la.claude/skills/ -- if entries show -> arrows, they are symlinks
  • vsync cannot follow symlinks in the source directory and will silently skip them
  • This happens when skills are installed with npx skills add without --copy
  • Fix: reinstall with npx skills add <owner/repo> -a claude-code --copy
  • Or manually: rm.claude/skills/<name> && cp -r.agents/skills/<name>.claude/skills/<name>

vsync says "everything is up to date" but target tools are empty

  • Check that .claude/skills/ actually contains skill directories with SKILL.md files
  • vsync syncs what exists in the source -- if the source is empty, targets will be too
  • Run ls -la.claude/skills/ to verify

vsync fails with "Source skills directory does not exist"

  • Set "use_symlinks_for_skills": false in .vsync.json
  • This happens when symlink mode is enabled but no skills directory exists yet

Pre-commit hook warns about plugins

  • This is expected if you have Claude Code plugins installed
  • For cross-tool parity, prefer npx skills add over /plugin install
  • Some plugins (like LSP servers) are legitimately Claude Code-only -- the warning is informational, not blocking

Skills not appearing in target tools after sync

  • Verify the skill has a valid SKILL.md with YAML frontmatter (name and description required)
  • Run npx @nicepkg/vsync sync -y manually to see any errors
  • Check target directories: .cursor/skills/, .opencode/skills/, .codex/skills/

Git submodule not initialized for team members

  • Team members must run git submodule update --init --recursive after cloning
  • Add this to your README or onboarding docs

平台分布

Codex

33.59%
按下载量换算32

Claude

30.36%
按下载量换算29

Cursor

19.71%
按下载量换算19

Gemini CLI

8.91%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在提醒或未通过项,安装前请自行复核。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills