claude

bonsai

Branch side questions with compiled minimal briefs, auto-routed model + effort, and one-insight merge-back — on your existing Claude subscription.

1 on GitHubby Tarun Yadgirkarv0.2.0MITupdated 28 days ago
/

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)

  • branch

    Branch 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

  • tree

    Show 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:branch

    Fork a side question into a Bonsai branch with a compiled minimal brief, auto-routed to the right model + effort.

  • /bonsai:diff

    Compare a Bonsai branch against the trunk — what it inherited, what it concluded, and what the trunk learned since the fork.

  • /bonsai:switch

    Resume an open Bonsai branch — continue its side question in a fresh subagent that inherits the branch's brief.

  • /bonsai:tree

    Show this project's Bonsai conversation tree — branches, routing, pruning economics, merged insights.

Subagents (3)

  • bonsai-branch-deep

    Bonsai 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-quick

    Bonsai 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-thoughtful

    Bonsai 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-tree

    runs: 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"

View source on GitHub bonsai-lac.vercel.app

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.

claude & codex pluginslisted