Two plugins for Claude Code

Multiple sessions. Multiple repositories. The right model for every task.

Work in parallel across multiple repositories without file conflicts or wasted tokens. session-hub pairs a master session with a dedicated child session for each repository — each isolated within its own scope — while you step into whichever session fits your role best. model-router assigns the right model and effort to every delegated task and measures on your machine whether that choice paid off on the first try.

> /plugin marketplace add MrBogomips/claude-plugins
> /plugin install session-hub@mrbogomips
> /plugin install model-router@mrbogomips
Illustration: a master session connected to multiple child sessions running in parallel, each working in its own repository

What it looks like

The master on the left, child sessions at work beside it.

Here the master took on a task spanning two repositories: it launched a child session in each one, side by side, and coordinates their progress. Every child session is a full Claude Code session opened directly in its own repository, with its instructions, skills, and agents already loaded.

Herdr showing the master session on the left and two child sessions on the right, each in its own repository
In Herdr: the master on the left, two child sessions on the right. spawn opened their panes, set the role variables, and started each child session with its own handoff.
tmux showing the master session in the left pane and two child sessions in the right panes
The same hub in tmux: the first child session opens to the right of the master, and the second right below it.

The problem

Outgrowing a single session in a single repository?

01

One agent across all repositories

An agent loads instructions, skills, and definitions from the directory where it starts. If you work across backend, frontend, and docs from a single session at the hub root, you lose each repository's own rules.

02

Multiple agents, no boundaries

Concurrent sessions end up stepping on each other's toes over the same files. You need hard technical boundaries, not polite prompt reminders: who can write where, who can talk to whom, and how out-of-scope requests are handled.

03

One model for everything

Without a shared policy, every agent spawns all subagents on its own model. Trivial lookups burn tokens on the most expensive model, while tricky reviews land on a lightweight one and come back needing rework.

session-hub

You work in your session. The master coordinates the rest in parallel.

Jump straight into the session you care about — design, prototype, or code — while the master launches the other child sessions, gathers their updates, and routes anything no single session can handle alone.

  • Hard write boundaries, not suggestions. A hook blocks any file edit outside a child session's write root after resolving symlinks and .. segments. It fails closed and explains why.
  • Requests go up, never sideways. When a child session needs a change in another repository, it doesn't touch those files — it sends an out-of-scope request up to the master.
  • Messages, never permissions. With mods enabled, any message coming from another session — including the master — is tagged strictly as information, never as an implicit command or authorization.
  • Live record and panel. The master keeps the child session record outside the hub, while the live panel shows each child session's status, model, effort, and latest message.

See how session-hub works →

The session-hub child sessions panel beside the master chat, with one row per child session showing status, model, effort, and latest message
The session-hub child sessions panel next to the master chat, showing status, model, effort, and latest message.
The /session-hub command in the master: the child sessions table with status, live state, model, effort, and latest message
The /session-hub command in the master: a table of child sessions with status, live state, model, effort, and latest message.

Ways of working

Everyone in the session they know best, one master coordinating.

The same operating model scales from a solo practitioner wearing multiple hats to a full product team. Four real-world scenarios, each with its own repositories, roles, and boundaries.

Herdr: the Product Manager's master session surfacing a decision, with the design, prototype, and product child sessions on the right
The product team at work in Herdr: the master brings Product Manager decisions — such as approving an API or merging feature branches — to the surface, while the design, prototype, and product child sessions wait in their panes on the right.

model-router

The right model for every task, measured in the field.

Stop guessing models and effort levels. A clear routing grid decides before every launch, and local tracking shows what it actually costs to get a working result on the first try.

  • A lean routing grid. Four model tiers, four effort questions, six task classes. On every launch, the agent states the model, effort, and reasoning behind the choice.
  • A judge fills the gaps. When a built-in subagent starts without a model specified, a fast classifier evaluates the task and sets model and effort on the fly. It fails open, leaving the launch unchanged if an error occurs.
  • Measured, not estimated. First-pass yield (FPY), rework rate, and cost per success, broken down by task class, model, and effort.
  • Strictly on your machine. All data stays local inside your Claude Code config directory — nothing is ever written to your repositories.

See how model-router works →

Three Agent calls, each with a colored line underneath showing the model, effort bar, effort level, and reason for the choice
Three Agent calls, each with a colored line showing the model, effort bar, effort level, and reason for the choice.
In the Claude desktop app, Agent calls each followed by a muted text line stating model, effort, and reason
In the Claude desktop app, the same details appear as a clean plain-text line.
In the Claude desktop app, the Model routing card on the Overview view: daily task heatmap, headline metrics, and routing decisions
/model-router in the desktop app: an inline card in the conversation, with views selectable from a menu.
First-pass yieldFPY
Rework rate↻
Cost per success$/✓

Architecture

Two plugins, one contract.

You can install and run either plugin completely on its own. When used together, session-hub delegates model and effort selection for every child session to model-router, without duplicating rules or cluttering your repositories.

You talk to the master session and work directly in one child session; the master starts one child per repository, each in its own terminal pane and write root, and a child that needs a change elsewhere asks the master. You one person Master session coordinates the children and keeps a record of them asks and decides works hands-on in the repository you know best starts each child and sends it [master] messages asks the master for a change in another repository pane 1 Child · api its own rules already loaded write root: api/ pane 2 Child · web its own rules already loaded write root: web/ pane 3 Child · docs its own rules already loaded write root: docs/ The children run in parallel, one per repository. They never message each other: every request goes through the master.
A hub at a glance: the master at the hub root, one child session per repository — each confined to its own write root — and model-router choosing model and effort for every launch.
Explore the architecture →

Quickstart

Up and running in three steps.

  1. 1

    Install

    Add the marketplace and install either plugin or both. All you need is node in your PATH.

    /plugin install session-hub@mrbogomips
  2. 2

    Configure the hub

    Open Claude Code at the root of the directory holding your repositories and ask it to set up session-hub.

    set up session-hub for this hub
  3. 3

    Launch and measure

    Start a child session in a repository, let the subagents do their work, and open the usage view.

    /model-router

Every feature, with examples and screenshots.

The user manual covers both plugins end to end: commands, keys, options, a step-by-step walkthrough, and troubleshooting. For release-by-release updates, check the Changelog.

Download the manual (PDF)