Newcontext-mode—Save 98% of your AI coding agent's context windowLearn more
MCP Directory
ServersClientsBlog

context-mode

Save 98% of your AI coding agent's context window. Works with Claude Code, Cursor, Copilot, Codex, and more.

Try context-mode
MCP Directory

Model Context Protocol Directory

MKSF LTD
Suite 8805 5 Brayford Square
London, E1 0SG

MCP Directory

  • About
  • Blog
  • Documentation
  • Contact

Menu

  • Servers
  • Clients

© 2026 model-context-protocol.com

The Model Context Protocol (MCP) is an open standard for AI model communication.
Powered by Mert KoseogluSoftware Forge
  1. Home
  2. Clients
  3. agsync

agsync

GitHub

Agsync is a repo-native control plane for managing skills, MCP servers, secrets, and agent configs across AI clients like Claude Code and Cursor.

9
0
<p align="center"> <img src="assets/logo.png" alt="agsync" width="400"> </p> <p align="center"> Git-native CLI to sync skills, commands, and MCP tools across AI coding agents. </p> <p align="center"> <a href="https://github.com/yiftahb/agsync/actions/workflows/ci.yml"><img src="https://github.com/yiftahb/agsync/actions/workflows/ci.yml/badge.svg" alt="CI"></a> <a href="https://www.npmjs.com/package/agsync-cli"><img src="https://img.shields.io/npm/v/agsync-cli" alt="npm version"></a> <a href="https://github.com/yiftahb/agsync/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/agsync-cli" alt="license"></a> </p>

Supported Agents

AgentInstructionsSkillsCommandsMCP
Claude CodeCLAUDE.md.claude/skills/.claude/commands/.claude/settings.json
CursorAGENTS.md.cursor/skills/.cursor/commands/.cursor/mcp.json
Codex.codex/instructions.md.codex/skills/.codex/commands/.codex/config.toml
WindsurfAGENTS.md.windsurf/skills/.windsurf/commands/.windsurf/mcp_config.json
Copilot.github/copilot-instructions.md--.github/agents/.mcp.json
GeminiGEMINI.md.gemini/skills/.gemini/commands/.gemini/settings.json
OpenCodeAGENTS.md.opencode/skills/.opencode/command/opencode.json
Antigravity.agent/rules/instructions.md.agent/skills/.agent/commands/--

Install

npm i -g agsync-cli

Or run directly:

npx agsync-cli

Features

🤖 Multi-Agent Sync — Define skills, commands, and instructions once in .agsync/, generate native output for every agent your team uses. Symlinks keep everything in sync.

🧩 Skill Extension — Import skills from GitHub or ClawHub, extend them with local overrides, and resolve inheritance chains automatically. Supporting files (rules, scripts, references) are bundled alongside.

🔒 Version Locking — Pin external skills to exact versions. A lock file (agsync-lock.yaml) tracks resolved commits and content hashes for reproducible builds. Use --frozen in CI to enforce it.

🔌 MCP Sync — Define MCP servers in YAML, expand environment variables at sync time, and generate the correct config format (JSON or TOML) per agent with smart merging.

📁 Monorepo Scoping — One agsync.yaml at the repo root, with .agsync/ directories in any subfolder. Skills and commands are automatically prefixed (e.g. frontend:my-skill), built to the root, and each subfolder gets its own AGENTS.md with scoped instructions.

🔒 Gitignore Management — Automatically manage .gitignore entries for generated output. Choose between on (all output), mcpOnly (default, MCP configs only), or off.

Commands

CommandDescription
agsync initScaffold a new project with agsync.yaml and .agsync/
agsync skill add <name>Create a local empty skill
agsync skill add github:<org/repo/path@ver>Import a skill from GitHub
agsync skill add clawhub:<slug@ver>Import a skill from ClawHub
agsync skill remove <name>Remove a skill
agsync command add <name>Create a new command (.md)
agsync command remove <name>Remove a command
agsync tool add <name>Create a new tool definition (.yaml)
agsync tool remove <name>Remove a tool
agsync validateValidate config, skills, commands, and tool references
agsync plan [--frozen]Preview changes without writing files
agsync sync [--frozen]Generate output for all enabled agents
agsync doctorCheck environment health and enabled agents
agsync versionShow current version and check for updates
agsync updateUpdate to the latest version
agsync helpShow extended help

Monorepo Support

One agsync.yaml at the repo root, multiple .agsync/ directories in subfolders:

project/
├── agsync.yaml              ← single config
├── .agsync/                 ← root skills, commands, tools
├── frontend/
│   └── .agsync/             ← frontend-specific definitions
│       ├── instructions.md  → generates frontend/AGENTS.md
│       └── skills/ui-kit/
└── backend/
    └── .agsync/
        └── skills/api/
  • Scoped skills are prefixed automatically (frontend:ui-kit) and output to .agents/skills/frontend--ui-kit/ at the root
  • Each subfolder with .agsync/instructions.md gets its own AGENTS.md generated in-place
  • The root AGENTS.md cross-references scoped instructions: "When working in folder: frontend — you MUST load frontend/AGENTS.md"
  • Agent symlinks (CLAUDE.md, .claude/skills/) are only created at the root
  • agsync skill add, command add, tool add resolve the nearest .agsync/ upwards, so running from frontend/ adds to frontend/.agsync/

License

MIT

Repository

YI
yiftahb

yiftahb/agsync

Created

April 9, 2026

Updated

April 13, 2026

Language

TypeScript

Category

AI