CapSync
A simple tool to sync your AI coding skills across different tools.
The Problem
Different AI coding tools store skills in different folders:
| Tool | Skills Folder |
|---|---|
| OpenCode | ~/.config/opencode/skill/ |
| ClaudeCode | ~/.claude/skills/ |
| Cursor | ~/.cursor/skills/ |
| Codex | ~/.codex/skills/ |
| Amp | ~/.agents/skills/ |
| Antigravity | ~/.agent/skills/ |
Managing the same skills in all these places is annoying.
The Solution
Keep your skills in one place and let CapSync sync them everywhere.
Installation
Option 1: Download Binary (Quickest)
Download a pre-built binary and use it directly:
macOS (Apple Silicon):
# Move to a directory in your PATH, or use directly:
macOS (Intel):
Linux:
Add to your shell (optional):
# Add to ~/.zshrc or ~/.bashrc
Option 2: Install via cargo
If you have Rust installed:
Option 3: Build from Source
Quick Start
# Set up config
# See which tools you have
# Sync your skills
# Check what's synced
# Remove from a specific tool
# Remove from all tools
Commands
capsync init
Creates the config file with sensible defaults at ~/.config/capsync/config.toml.
capsync config
Shows your current settings.
capsync detect-tools
Checks which AI coding tools are installed on your system.
capsync sync
Creates symlinks from your source directory to all enabled tool destinations.
capsync status
Shows the current sync status:
- Whether source directory exists
- Which destinations have symlinks
- Whether symlinks are valid or broken
capsync remove <tool>
Removes the symlink from a specific tool's directory.
Example: capsync remove codex
capsync remove --all
Removes symlinks from all destinations.
Configuration
Config file is at ~/.config/capsync/config.toml:
= "~/Dev/scripts/skills/skills"
[]
= { = true, = "~/.config/opencode/skill" }
= { = true, = "~/.claude/skills" }
= { = false, = "~/.codex/skills" }
= { = false, = "~/.cursor/skills" }
= { = false, = "~/.agents/skills" }
= { = false, = "~/.agent/skills" }
Change:
source: Where your skills are storedenabled: Turn tools on/offpath: Where each tool keeps its skills
How It Works
- You put skills in one folder
- CapSync creates a directory symlink from that folder to each tool's skills folder
- Any files you add/remove in the source are automatically available in all destinations
- No need to re-run sync when you add new skills
Skill Format
Each skill is a folder with a SKILL.md file:
my-skill/
└── SKILL.md
The SKILL.md needs this header:
name: my-skill
description: What this skill does
license: MIT
Details about your skill...
Supported Tools
- OpenCode
- ClaudeCode
- Cursor
- Codex
- Amp
- Antigravity
Development
# Build
# Test
# Run locally
Contributing
- Fork the repo
- Make changes
- Test your changes
- Send a pull request
License
CC0 1.0 Universal