Sync custom Claude Code and OpenCode assets between machines.
claude/agents/ — agent definitions (*.md)
claude/skills/ — skill directories (each with SKILL.md)
opencode/ — OpenCode sync module (manifest, scripts, Makefile)
scripts/ — Python sync script, manifest, and utilities
Makefile — top-level targets
make save # copy Claude agents, skills, and managed settings from ~/.claude into this repo
make install # apply Claude agents, skills, and managed settings from this repo into ~/.claude
make diff # show differences between repo and ~/.claude
make lsi # list active Claude Code and OpenCode instancesOpenCode sync is managed separately under opencode/.
Managed config scope is agent, default_agent (in opencode.json) and keybinds (in tui.json), plus tracked OpenCode commands and skills.
cd opencode
make save # copy managed OpenCode commands/skills/config from ~/.config/opencode into repo
make install # apply managed OpenCode commands/skills/config into ~/.config/opencode
make diff # show differences between repo and ~/.config/opencode- Add the entry to
scripts/manifest.json(keep lists alphabetically sorted). - Run
make saveto pull the files from~/.claudeinto the repo. - Commit.
- Add the entry to
opencode/manifest.json(keep lists alphabetically sorted). - Run
cd opencode && make saveto pull managed assets from~/.config/opencode. - Commit.