bonsai
Branch side questions with compiled minimal briefs, auto-routed model + effort, and one-insight merge-back — on your existing Claude subscription.
Plugin bonsai from marketplace bonsai in TarunYadgirkar/Bonsai. Commands read from the repo's manifest — 26 days ago.
This plugin runs code on your machine — its hooks fire automatically on events like tool use and it starts local MCP servers. The exact commands are listed below; read them before installing.
What it installs
Skills (2)
branchBranch a side question off the current conversation with a compiled minimal context brief, run it on the right model + effort automatically, and merge one distilled insight back. Use when the user asks a side question ("btw", "quick tangent", "while we're at it"), wants to explore an alternative wit
treeShow the Bonsai conversation tree for this project — every branch with its model, effort, pruning economics, and merged insights. Use when the user asks "show the tree", "what branches do we have", "bonsai tree", or wants the session's branching overview.
Slash commands (4)
/bonsai:branchFork a side question into a Bonsai branch with a compiled minimal brief, auto-routed to the right model + effort.
/bonsai:diffCompare a Bonsai branch against the trunk — what it inherited, what it concluded, and what the trunk learned since the fork.
/bonsai:switchResume an open Bonsai branch — continue its side question in a fresh subagent that inherits the branch's brief.
/bonsai:treeShow this project's Bonsai conversation tree — branches, routing, pruning economics, merged insights.
Subagents (3)
bonsai-branch-deepBonsai branch executor, deep tier — multi-constraint reasoning, ranking, and trade-off weighing over a compiled context brief. Spawned by the bonsai branch skill; not for direct use.
bonsai-branch-quickBonsai branch executor, quick tier — answers a side question from a compiled context brief. Fact lookups and single-step answers. Spawned by the bonsai branch skill; not for direct use.
bonsai-branch-thoughtfulBonsai branch executor, thoughtful tier — synthesis and explanation over a compiled context brief. Spawned by the bonsai branch skill; not for direct use.
MCP servers (1)
bonsai-treeruns: node ${CLAUDE_PLUGIN_ROOT}/mcp/dist/server.mjs
Hooks (2)
- UserPromptSubmit
node "${CLAUDE_PLUGIN_ROOT}/hooks/side-question.mjs"
- PreCompact
node "${CLAUDE_PLUGIN_ROOT}/hooks/pre-compact.mjs"
Maintain bonsai?
This page updates itself from your repo. Add the badge to your README, or get it Featured to pin it above the organic results with a followed link to your site.