Skip to content
Skill

Sync local global agents skills

Syncs your global agent skills folder into local AI desktop and coding platforms

Sync local global agents skills is an open-source agent skill for developer tools. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

Scripts
shell, PowerShell, TypeScript
Platforms
Claude Code, Codex, Cursor
GitHub stars
5
Last commit
License
MIT
Listing updated

Similar skills

About Sync local global agents skills

This skill takes the skills installed globally under ~/.agents/skills as the single source and links each supported local agent platform's skills directory to it, so the same skills appear in WorkBuddy, QoderWork, Kimi Work, CodeBuddy and Qoder. It is meant to run after a global skills install, not to replace the installer itself.

The sync script works idempotently: missing targets get a directory-level symlink, correct links are skipped, real directories are backed up with a timestamped name before being replaced, and wrong or broken links are rebuilt. A dry-run mode prints the plan without touching the filesystem. On Windows it prefers native symlinks and falls back to junctions when permissions are insufficient.

The skill ships a TypeScript CLI with a read-only audit of the official Memorix skills, which reports present, missing or invalid status without fetching or modifying anything. Bash and PowerShell fallback scripts cover cases where the main script cannot run. Platform targets are maintained in a registry file that must be edited to add new clients.

When your agent uses it

Use when 已完成全局 skills 安装后,需要把 `~/.agents/skills` 后置同步到 WorkBuddy、QoderWork、Kimi Work、CodeBuddy、Qoder 等本地平台,或显式修复本地 skills 链接。 这是后置同步、显式同步和链接修复工具,不是 `skills add` 的替代安装器。 支持 dry-run、自动备份、错误链接替换,并可按需刷新 memorix 内部 skills。 触发关键词:sync-local-global-agents-skills、同步 skills、全局 skills 同步。

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 9 files (30 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the common-tools plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add ruan-cat/monorepo
/plugin install common-tools@ruan-cat-tools

Or copy only this skill to ~/.claude/skills/sync-local-global-agents-skills:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/sync-local-global-agents-skills &&
cp -R "$tmp/ai-plugins/common-tools/skills/sync-local-global-agents-skills" ~/.claude/skills/sync-local-global-agents-skills &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/sync-local-global-agents-skills inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/sync-local-global-agents-skills to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/sync-local-global-agents-skills &&
cp -R "$tmp/ai-plugins/common-tools/skills/sync-local-global-agents-skills" ~/.agents/skills/sync-local-global-agents-skills &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/sync-local-global-agents-skills inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/sync-local-global-agents-skills to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/sync-local-global-agents-skills &&
cp -R "$tmp/ai-plugins/common-tools/skills/sync-local-global-agents-skills" ~/.cursor/skills/sync-local-global-agents-skills &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/sync-local-global-agents-skills inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/ruan-cat/monorepo.git --path ai-plugins/common-tools/skills/sync-local-global-agents-skills

Or copy the folder to ~/.gemini/skills/sync-local-global-agents-skills yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/sync-local-global-agents-skills:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ruan-cat/monorepo.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/sync-local-global-agents-skills &&
cp -R "$tmp/ai-plugins/common-tools/skills/sync-local-global-agents-skills" ~/.copilot/skills/sync-local-global-agents-skills &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/sync-local-global-agents-skills inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/ruan-cat/monorepo.git

Then copy monorepo/ai-plugins/common-tools/skills/sync-local-global-agents-skills into your agent's skills folder as sync-local-global-agents-skills. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Global skills as single source
Links platform skills directories to ~/.agents/skills so there is one copy to maintain.
Safe symlink replacement
Backs up real directories with a timestamped name and rebuilds broken or misdirected links.
Dry-run planning
Prints the intended changes without modifying the filesystem.
Read-only Memorix audit
Reports whether the official Memorix skills are present, missing or invalid without changing them.
Cross-platform fallback scripts
Provides PowerShell and Bash scripts for when the main TypeScript sync cannot run.
Platform registry
Maintains target directories for WorkBuddy domestic and international editions, QoderWork, Kimi Work, CodeBuddy and Qoder.

Good for

  • Sync my globally installed skills to WorkBuddy and CodeBuddy
  • Repair a broken skills symlink in my Qoder folder
  • Preview what a skills sync would change without applying it
  • Check whether the official Memorix skills are installed

Sync local global agents skills FAQ

When should I run Sync local global agents skills?

After a global skills install with the skills CLI has succeeded, or when a platform's skills directory was deleted or its link is broken.

Does Sync local global agents skills install skills?

No. It is a post-install sync and link repair tool, not a replacement for the skills add installer.

Will Sync local global agents skills overwrite existing skills folders?

Real directories are backed up with a timestamped name before being replaced, unless the --no-backup option is used.

Does Sync local global agents skills change the official Memorix skills?

No. The Memorix audit is read-only and only reports status; it routes repairs to the official Memorix setup.

How do I install Sync local global agents skills in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/sync-local-global-agents-skills to use it in all your projects, or to .claude/skills/sync-local-global-agents-skills in one project. Or install the common-tools plugin, which includes it: /plugin marketplace add ruan-cat/monorepo, then /plugin install common-tools@ruan-cat-tools.

Does Sync local global agents skills run scripts?

Yes. It runs shell, PowerShell and TypeScript scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use Sync local global agents skills?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

What are the best alternatives to Sync local global agents skills?

The closest alternatives to Sync local global agents skills are Install skills, Soia meta sync skills, Sync CLI skill, Sync SDK skill and Skill catalog.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from ruan-cat/monorepo

  1. Works through an OpenSpec change's task list, implementing and checking off each task

    • Open source
    • 5 GitHub stars
    • Developer tools
  2. Finalizes a completed OpenSpec change, syncing its specs and moving it to the archive

    • Open source
    • 5 GitHub stars
    • Developer tools
  3. Generates all OpenSpec planning artifacts for a change in one pass

    • Open source
    • 5 GitHub stars
    • Developer tools
  4. Starts a new OpenSpec change and shows its first artifact template for review

    • Open source
    • 5 GitHub stars
    • Developer tools
  5. Checks and normalizes package.json, tsup and tsconfig setup for monorepo Node packages

    • Open source
    • 5 GitHub stars
    • Developer tools
  6. Turns incident reports and repeated failures into durable, verifiable agent skill rules

    • Open source
    • 5 GitHub stars
    • Developer tools