Skip to content
Development
Command

/sync

Sync this repository with the upstream claude-toolbox template.

From plugin
claude-toolbox
1494 skills9 agents4 commands1 MCP
Install
> /plugin marketplace add serpro69/claude-toolbox
> /plugin install kk@claude-toolbox

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/sync

Context preview

What this command does when you run it.

Sync this repository with the upstream claude-toolbox template.

Command definition

sync.md

Sync this repository with the upstream claude-toolbox template.

Fetches the latest template version, compares files, and applies updates locally.

Arguments: $ARGUMENTS

Process

Run the template-sync script with `--local` to fetch, compare, and apply in a single invocation:

.claude/toolbox/scripts/template-sync.sh --local $ARGUMENTS

`$ARGUMENTS` is forwarded as-is. Common usage:

  • `/kk:template:sync` — sync to latest release
  • `/kk:template:sync --version v1.0.0` — sync to a specific version
  • `/kk:template:sync --dry-run` — preview changes without applying

Prerequisites

Requires `jq`, `git`, `curl`, and `yq` (mikefarah/yq). If any are missing the script will report which ones to install.

The repository must have a `.github/template-state.json` manifest — created automatically when the repo was set up from the template.

After sync

Show the user the script output. If changes were applied, suggest reviewing with `git diff` before committing. If it failed, surface the error message from the script.

Ships withclaude-toolbox

<div align="center" claude-toolbox is a collection of "tools" for all your agentic workflows — pre-configured MCP servers, skills, sub-agents, commands, hooks, statuslines with themes, and more - everything you need for AI-powered development workflows, used

Get the whole plugin

Other commands on claude-toolbox.