claude_skills_sync
Synchronizes skills from the current repository into target worktrees by creating symlinks and updating .git/info/exclude.
Instructions
Sync Claude Code skills from the current repository (the MCP server's current working directory) into target worktrees. MUTATES THE FILESYSTEM: creates symlinks inside .claude/skills/ (e.g. .claude/skills/my-skill -> ../../../.claude/skills/my-skill) and upserts a managed block in .git/info/exclude. Operates relative to the server process's cwd — not cross-project. Use claude_skills_clean to reverse this and claude_skills_status to inspect the result without changing anything. Mirrors omni-dev ai claude skills sync.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "claude_skills_sync"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | Output format: `"text"` (default) or `"yaml"`. | |
| worktrees | No | When true, also operate on every worktree belonging to the target repository. |