doctor
Self-check the Gearbox installation and print a PASS/WARN/FAIL report
Creates a project-local copy of the Gearbox routing policy. Optional — only needed if you want to customize the policy for this repo.
> /plugin marketplace add Adityaraj0421/gearbox > /plugin install gearbox@gearbox
How it fires
How this command gets triggered: by you, by Claude, or both.
/initContext preview
What this command does when you run it.
Creates a project-local copy of the Gearbox routing policy. Optional — only needed if you want to customize the policy for this repo.
Creates a project-local copy of the Gearbox routing policy. Optional — only needed if you want to customize the policy for this repo.
Copies the Gearbox routing policy to `.claude/routing.md` in this project. The SessionStart hook will then inject this local copy instead of the plugin default, so your edits take effect on every session restart.
Skips the copy with a notice if `.claude/routing.md` already exists.
Execute the following steps exactly, using Bash.
**Step 1 — ensure .claude/ directory exists:**
mkdir -p .claude
**Step 2 — copy routing policy (skip if already present):**
if [ -f ".claude/routing.md" ]; then
echo "Notice: .claude/routing.md already exists — skipping copy. Edit it directly to customize."
else
cp "${CLAUDE_PLUGIN_ROOT}/routing/routing.md" ".claude/routing.md"
echo "Local routing override created. The SessionStart hook will now inject this copy instead of the plugin default. Restart the session."
fiGearbox is a Claude Code plugin that automatically routes subagent delegations to the cheapest model tier that can handle the work — haiku for search and mechanical edits, sonnet for standard implementation, opus for hard architectural problems.
Repo: Adityaraj0421/gearbox
Self-check the Gearbox installation and print a PASS/WARN/FAIL report