SkillAgentSearch skills...

agentsync

Sync Claude Code and Cursor rules, skills, and MCP configs from one source of truth. One CLI for Codex, Gemini CLI, and other AI coding agents.

Install / Use

claude mcp add x0c -- npx -y github:x0c/agentsync

If the server publishes to npm under a different name, use that package instead — check the repo README.

About this skill
🔌

MCP Server

Model Context Protocol server

Quality Score

83/100

Supported Platforms

Claude Code
Claude Desktop
Cursor
Gemini CLI
OpenAI Codex

Our assessment of agentsync

agentsync scores 83/100 on our quality scale, 2984th of 4,722 Development & Engineering skills we index.

Its MCP Server is 8.2 KB long, well organised into 11 sections with 5 code examples: a thorough specification that gives an agent plenty to work with.

It has 10 GitHub stars, so there is little community track record yet; judge it on its content.

Substance
29/30
Structure
20/20
Description
15/15
Adoption
4/20
Freshness
15/15

Maintenance, license and trust

  • The repository was last updated yesterday, so agentsync is actively maintained.
  • It is released under the MIT license, a permissive license that allows use, modification and commercial use with attribution.
  • Its trust signals score 97/100, with no cautions. These come from repository metadata, not a code audit — read the skill file before letting an agent act on it.

Safety scan

No issues found

Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below).

  • noteInstalls by piping a downloaded script into a shellline 22
    irm https://raw.githubusercontent.com/x0c/agentsync/main/install.ps1 | iex
  • noteInstalls by piping a downloaded script into a shellline 28
    curl -fsSL https://raw.githubusercontent.com/x0c/agentsync/main/install.sh | sh

Automated pattern scan on 2026-11-27. It catches known dangerous patterns, not every risk — read a skill before letting an agent act on it.

agentsync compared with similar skills

All 4 of these similar skills score higher than agentsync; compare them before choosing.

SkillScoreStarsUpdatedFormat
agentsync (this skill)by x0c83101d agoMCP Server
taste-skillby Leonxlnx100122.3k1d agoCLAUDE.md
Agent-Reachby Panniantong100115.4k3d agoCLAUDE.md
hyperframesby heygen-com10091.5ktodayCLAUDE.md
rufloby ruvnet10082.6ktodayCLAUDE.md

Frequently asked questions

How do I install agentsync?
Run claude mcp add x0c -- npx -y github:x0c/agentsync. The install tabs above show the steps for each supported agent.
Which AI agents does agentsync work with?
It is written for Claude Code, Claude Desktop, Cursor, Gemini CLI and OpenAI Codex, as a MCP Server file. Other agents that read the same format can often use it too.
Is agentsync safe to use?
Our scan of the whole file found no instruction hijacking, hidden characters, credential access, data exfiltration or destructive commands (2 minor notes below). It is MIT-licensed and scores 97/100 on trust signals. Skills are instructions an agent will follow, so read the file before installing it and do not approve commands you do not understand.
Is agentsync still maintained?
The repository was last updated yesterday, so agentsync is actively maintained.

Languages: English | 简体中文

agentsync

One command to share rules, skills, and MCP configs across your AI tools.

Keep one copy across Claude Code, Codex, OpenCode, Gemini CLI, Antigravity, Qwen Code, Copilot CLI, Kimi Code, Grok CLI, Amp, Crush, Goose, Factory Droid, iFlow, Kilo, Pi, dsh, Cursor, Windsurf, Zed, CodeBuddy, Qoder, Junie, Kiro, JoyCode, and Aider Desk, plus the shared ~/.agents entry. A lightweight standalone binary.

CI Release License: MIT

Run agentsync once to sync rules, skills, and MCP

A real Claude Code + Codex run; output excerpted for readability.

Local-first by design: 100% local execution · zero telemetry · dry-run preview (agentsync --check) · automatic backup snapshots with agentsync --rollback latest.

Install

Windows — PowerShell:

irm https://raw.githubusercontent.com/x0c/agentsync/main/install.ps1 | iex

macOS / Linux — shell:

curl -fsSL https://raw.githubusercontent.com/x0c/agentsync/main/install.sh | sh

The installers download the matching release archive (agentsync_windows_<arch>.zip on Windows, agentsync_<os>_<arch>.tar.gz on macOS/Linux) and verify its SHA-256 checksum before installing. AGENTSYNC_INSTALL_DIR overrides the default (%LOCALAPPDATA%\Programs\agentsync\bin on Windows, ~/.local/bin on macOS/Linux); the Windows installer adds it to the user PATH.

macOS / Linux — Homebrew:

brew install --cask x0c/tap/agentsync

Any OS — Go 1.25.8+:

go install github.com/x0c/agentsync@latest

Add Go's bin directory to PATH if needed (usually ~/go/bin; %USERPROFILE%\go\bin on Windows).

Without an installer or Go: download and extract a release binary, then put it on PATH. Available for macOS and Linux (arm64 / amd64), and Windows (arm64 / amd64). Checksums are included.

Run

First preview, then apply:

agentsync --check
agentsync

That's it. agentsync merges your existing instructions, collects your skill folders, and imports your MCP servers into one shared source — then links or writes them back to each installed tool in its native format. Files replaced during sync are backed up automatically; tools you haven't installed are skipped.

From then on, maintain these files in ~/.config/agentsync/ (%USERPROFILE%\.config\agentsync\ on Windows):

| File | What you manage once | |---|---| | AGENTS.md | Global instructions | | skills/ | Complete skill folders, including scripts and references | | mcp.json | MCP servers | | instructions/ | Optional per-tool fragments such as pi.md |

Run agentsync again after changes, or use the optional watcher below.

Optional commands

| Need | Command | |---|---| | Preview without writing | agentsync --check | | Automatically apply source changes | agentsync --watch | | Restore the latest backup | agentsync --rollback latest | | Link a project's CLAUDE.md to its AGENTS.md | agentsync --repo | | Print the version | agentsync --version |

See the workflow guide for background services, batch repository sync, filters, and backup details.

Good to know

  • Default sync manages global configuration on this machine. Project files are handled by the separate repository mode.
  • Support varies by tool. See instruction and skill support and MCP support.
  • Instructions and skills use links where possible. Cursor gets a managed .mdc rule; Antigravity stays linked up to 22,000 bytes and automatically splits larger canonical AGENTS.md files into managed ~/.gemini/AGENTS.md + ~/.gemini/config/rules/agentsync-part-*.md parts (trigger: always_on) to avoid Antigravity's 24,000-byte per-file truncation limit. On Windows, skill directories link as a symbolic link first, then an NTFS directory junction, otherwise agentsync reports an error naming Windows Developer Mode. See Cursor loading limits.
  • Exclude servers, skills, or instructions per tool with a sync-policy.json beside the canonical sources; see filtering. Filtering never removes content from the canonical source.
  • Add rules for one tool only with instructions/<runtime>.md (for example instructions/pi.md): agentsync appends the fragment under a marked block and writes that runtime a managed copy instead of a link, so an extra restriction reaches only the tool that needs it. Tools without a fragment stay linked. Cursor keeps its alwaysApply frontmatter, and Windsurf reports a warning above its 6,000-character global_rules.md limit. See per-tool instructions.
  • Edit the shared source. The watcher pushes changes out to your tools; it does not import edits made in another tool's settings. Keep mcp.json local: it may contain tokens and machine-specific paths. .gitignore / .stignore entries protecting mcp.json are written only when the configuration directory is already a Git repository (.git) or a Syncthing folder (.stfolder).
  • Safety checks reject unsupported arguments, invalid MCP entries, and unsafe skill-directory overlaps. Your own rules are merged in before copies are generated; Codex servers that share a name keep their local restrictions and authentication options. Rollbacks use collision-resistant backup snapshots, and latest skips backups with no file changes. See the preservation boundaries.

Questions or a missing tool? Open an issue with the tool name, OS, and redacted output. Contributor instructions: AGENTS.md.

FAQ

How do I keep CLAUDE.md, AGENTS.md, skills, and MCP configs in sync across Claude Code, Cursor, Codex, and Windsurf?

Maintain one canonical source in ~/.config/agentsync/ (AGENTS.md, skills/, mcp.json, and optional instructions/<runtime>.md), preview changes with agentsync --check, and apply with agentsync or agentsync --watch. Inside a project repository, run agentsync --repo to link CLAUDE.md to AGENTS.md.

Is agentsync safe to run on existing configs? Does it upload my mcp.json secrets?

Yes. agentsync executes 100% locally with zero telemetry and never uploads your configurations, rules, or MCP tokens. Every replaced file is saved to a collision-resistant backup snapshot that you can restore via agentsync --rollback latest, and agentsync --check previews changes without writing.

How is x0c/agentsync different from manual symlinks?

Plain symlinks break when tools expect different file formats or enforce size limits. agentsync automatically generates Cursor .mdc rules with alwaysApply, splits Antigravity instructions above its 24 KB limit, handles Windows symbolic links or directory junctions, supports per-tool instructions/<runtime>.md fragments, and filters tools via sync-policy.json.

🧩 Related Tools in the AI Coding Suite

If you run multiple AI coding agents daily, check out the rest of the local-first toolkit:

| Repository | Description | | :--- | :--- | | corral | Run Claude Code, Codex, OpenCode, Cursor & Pi side-by-side in a terminal session manager, then continue from iPhone or Mac. | | subswap | Check remaining quota and switch Claude Code, Codex, Cursor, Kimi Code & OpenCode accounts without logging out. | | agent-doc-skills | Navigable project knowledge base skills (doc-init, doc-update, doc-compact) so coding agents don't rediscover your repo every session. | | sesskit | Parse and export local Claude Code, Codex CLI, and Cursor session transcript files from disk. |

License

MIT

Related Skills

View on GitHub
GitHub Stars10
CategoryDevelopment
Updated1d ago
Forks1

Languages

Go

Trust signals

97/100

From repository metadata: license, adoption, age and documentation. Not a code audit — see the Safety scan above for what the skill file itself contains.

1 info