ClaudeMap

agent-skill-sync

Scan, classify and sync SKILL.md skill libraries across Codex, Claude Code, Copilot, Gemini, Cursor and OpenCode — with an honest A/B/C/D verdict per skill.

SDKs & Toolingskillssyncinventoryclimulti-agent

agent-skill-sync (skillsync) brings order to skill libraries scattered across agent toolchains. It scans every source root — ~/.codex/skills plus its marketplace plugin cache, ~/.claude/skills, ~/.copilot/skills, ~/.gemini/skills, ~/.cursor/skills, ~/.config/opencode/skills — parses frontmatter with its own dependency-free YAML-subset parser, and classifies every skill into a four-bucket migration taxonomy: A portable, B portable but missing external dependencies (probed live via PATH, env vars or configured paths), C written against another agent's conventions and needing a rewrite, D bound to the source platform's private runtime and not worth migrating. Every decision ships a reason, and the diff against the target marks copies identical, drifted or missing. Generated INDEX.md and stable inventory.json give your agent a local tool-reuse index that is always true. Sync is defensive by construction: dry-run plans first, --force backs up drifted copies to .skillsync-backup/, nothing is ever deleted, and .venv/, .env, node_modules/ and __pycache__/ never travel. Zero dependencies — pure Python 3.11+ stdlib — published on PyPI as agent-skill-sync.

What it does

  • A/B/C/D migration taxonomy per skill — portable, missing deps, needs rewrite, platform-private — with the reason and the missing dependency named on every line
  • Six well-known roots auto-discovered (Codex skills + marketplace plugin cache, Claude Code, Copilot, Gemini, Cursor, OpenCode), extended via skillsync.toml
  • skillsync index generates INDEX.md + inventory.json so a hand-written tool-reuse skill stops rotting; check diffs upstream changes against the last snapshot
  • Safe sync by construction: dry-run plans, forced updates back up first, nothing deletes, secrets and virtualenvs are excluded from copies

When to use it

Developers running Claude Code alongside Codex, Cursor or OpenCode whose skills have multiplied into inconsistent, half-stale copies across home directories — and who want one inventory and a migration plan before copying anything.

Getting started

pipx install agent-skill-sync

skillsync status                 # what do I have, and in what state
skillsync scan                   # one line per skill: category, sync state, missing deps
skillsync scan --category B      # only the ones needing dependencies
skillsync index --out ./output --lang zh
skillsync check                  # diff against the last snapshot
skillsync sync --dry-run         # always plan first
skillsync sync --categories A    # copy portable skills only

Things to know

The default sync target is ~/.workbuddy/skills — a different destination must be set in skillsync.toml before any real sync. Classification is heuristic and deliberately conservative, and category D (platform-private runtime) never migrates; treat the labels as a first pass, not a verdict. Marketplace plugin caches are reported with qualified plugin:name so collisions stay visible. The frontmatter parser implements exactly the YAML subset skill files use — unusual constructs become warnings, not crashes. Python 3.11 or newer. MIT.

Repository

kina-cmd/agent-skill-sync

Charted

Related on the map

  • Harness Bridge

    SDK / Tool

    A local launcher that points Claude Code and seven other coding harnesses at any OpenAI-, Anthropic- or Responses-compatible endpoint — without editing a single config file.

    • launcher
    • local-models
    • cli
    • menu-bar
  • Claude for Siri

    SDK / Tool

    Answers macOS Spotlight and Siri prompts with your signed-in Claude Code account — an experimental macOS 27 model-delegation provider.

    • macos
    • siri
    • spotlight
    • model-delegation
  • Extract your own local chat history from ten AI coding assistants into one normalized JSONL — for fine-tuning, analytics, or backing up years of conversations. Standard library only.

    • cli
    • data-export
    • jsonl
    • backup