AI Skill Cross-Platform Synchronization Tool: Copying SKILL.md Skill Packs Between Multi-Terminal Agents

Preface

If you maintain separate sets of Skills in Claude Code, Cursor, and Codex, modifying one usually requires manually copying it again. Although each platform uses a different directory, the Skill itself is based on the open SKILL.md format (YAML front matter plus Markdown instructions, with optional scripts and resources). In theory, you only need to copy the Skill folder from one platform’s skills directory to another. Below is an introduction to the community Skill on SkillHub called “AI Skill Cross-Platform Sync Tool”. It encodes the above copying workflow as Agent-executable instructions and ships with a sync-skill command-line tool to perform the synchronization.

What Is This

AI Skill Cross-Platform Sync Tool (coordinates @user_3c6cb52e/sync-skill-b3jf, version 1.0.0) is a skill package from the SkillHub community source, categorized under ai-agent, and maintained by publisher user_3c6cb52e. The official description reads: a skill dedicated to synchronizing Skills, helping AI Agents efficiently complete related tasks.

In the skill documentation, sync-skill is positioned as a tool that copies an Agent Skill from one AI tool to another, without any format conversion—only folder synchronization between directories. The tag requires_api_key=false indicates that installing this Skill does not require an API Key. However, executing npx sync-skill does require a local Node.js environment.

SkillHub page metrics (as of data retrieval): Rating 100000, downloads 1278.

Core Features

According to the SKILL.md within the skill package, the verified capabilities are as follows.

  1. Direct Mode: Specify the source and target platforms to copy all Skills within that scope in one go.
  2. Interactive Mode: Start a wizard with no parameters, guiding you step by step through “Scope → Source platform → Target platform → Select Skills”.
  3. Scope: global (default, personal Skills in the user home directory) and project (workspace Skills under the current working directory).
  4. Overwrite Confirmation: If a Skill with the same name exists on the target side, it will not overwrite silently; it will prompt you and compare both version fields (if declared). Replacement occurs only after user confirmation, with no backup retained.
  5. Metadata Copy As-Is: The front matter fields in SKILL.md are not modified. After synchronization, you are prompted to adjust Claude Code-specific fields like model and effort yourself.

Supported platform keywords (excerpt):

Platform Example Keywords
Claude Code claude, claude-code, anthropic
Codex codex, openai
Cursor cursor, cursor ide
Gemini CLI gemini, google
GitHub Copilot CLI copilot, github, gh
VS Code vscode, vs code, code
OpenCode opencode

Installation and Activation

Install SkillHub CLI (if not yet installed)

First check whether it is already installed:

command -v skillhub && skillhub --version

If it is not installed, run the full installation (CLI + default Skill):

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash

To install only the CLI:

curl -fsSL https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/install.sh | bash -s -- --cli-only

Install This Skill into the Current Agent’s Skills Directory

When installing, you must use --dir to point to the skills directory recognized by your current Agent; otherwise, it will default to ./skills/ and may not be loaded. Common paths are as follows:

  • Cursor: ~/.cursor/skills/
  • Claude Code: ~/.claude/skills/
  • Codex: ~/.codex/skills/ or .agents/skills/ within the project

Installation command (matches the SkillHub CLI resolution result):

skillhub install sync-skill-b3jf --namespace user_3c6cb52e --dir ~/.cursor/skills/

Replace ~/.cursor/skills/ with the corresponding directory for your current environment. The SkillHub skill page also notes: you can ask your Agent to install @user_3c6cb52e/sync-skill-b3jf following the SkillHub installation instructions.

Prerequisites for Running the Sync Tool

The validation checklist in the skill documentation requires Node.js ≥ 18. The synchronization operation uses npx to fetch and run the sync-skill package, which is separate from “installing the Skill into the Agent”: the former copies the skill folders, while the latter enables the Agent to learn when and how to invoke that workflow.

Typical Usage

Direct Mode: Copy All Skills under a Platform

npx -y sync-skill <source> <target> [--scope global|project]

Sync Claude Code global Skills to Cursor:

npx -y sync-skill claude cursor

Sync Claude Code project-level Skills to Codex (must run in the project root directory):

npx -y sync-skill claude codex --scope project

Interactive Mode: Sync Only Selected Skills

npx -y sync-skill

Follow the wizard to choose scope, source and target platforms, then select the items to copy.

After installing this Skill, you can also specify the source platform, target platform, and scope in your conversation, asking the Agent to execute the above commands on your behalf according to the steps in SKILL.md, handling overwrite confirmations as needed.

Use Cases and Caveats

Who It’s For

  • Sharing the same set of Skills between Claude Code and Cursor.
  • Collaborating across multiple machines or tools, aiming for a unified Skill collection.
  • Aligning project-level Skill directories across platforms when creating a new repository.

Limitations and Common Pitfalls (all sourced from the official SKILL.md)

  • VS Code and GitHub Copilot CLI share ~/.copilot/skills/ for global Skills; syncing between them in global scope may effectively be a no-op.
  • --scope project relies on the current working directory; run from the project root.
  • On Windows, use %USERPROFILE% for paths, and OpenCode uses %LOCALAPPDATA%.
  • Confirming an overwrite permanently replaces files on the target side; no automatic backup is created.
  • After cross-platform copying, Claude Code–specific model-related fields still need to be manually adjusted in the target environment.

Conclusion

The AI Skill Cross-Platform Sync Tool consolidates the issue of “inconsistent skills directories across platforms” into a repeatable copy workflow: on the SkillHub side, it uses a standard SKILL.md to teach the Agent when to sync, and on the command-line side, it uses npx -y sync-skill to complete folder-level migration. If you are maintaining multiple sets of Agent Skills, you can first install this Skill, then choose a global or project scope to try a synchronization command in your scenario.

  • SkillHub skill page: https://www.skillhub.cn/skills/user_3c6cb52e/sync-skill-b3jf
  • Official coordinate page: https://api.skillhub.cn/user_3c6cb52e/sync-skill-b3jf
羽毛球分组比赛记分
小程序二维码

欢迎使用《羽毛球分组比赛记分》微信小程序

Xiaoye