Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By davila7v0.1.0MITIn 1 marketplace
A side pane that draws the session's agent flow live: the main loop's context window, every subagent it spawns as a tree, and for each one the context handed down (its prompt, or the whole parent context for a fork), what it did with it (steps, tools, context size) and the answer it handed back up. Docked beside the transcript in the fullscreen layout, above the prompt otherwise.
Trending plugins
7-day copy clicks
Code that runs inside Claude Code on every session, as you, unsandboxed.
Claude Code asks for these when you enable the plugin. Sensitive values are stored in your system keychain.
Pane widthcolumns
Columns asked for the docked pane in the fullscreen layout (32-120); a width you drag it to wins
numberdefault 52
Agents keptmaxAgents
How many subagents the flow keeps, oldest finished ones dropped first
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Open on startopenOnStart
Open the pane when the session starts; the engine keeps an unasked pane hidden below 144 columns
booleandefault false
A side pane that draws the session's agents as they run: the main loop and its context window at the top, then every subagent it spawns as a tree, and for each one the context handed down to it, what it did with that context, and the answer it handed back up.
Session · turn 3
context 45.2k/200k 22%
████████░░░░░░░░░░░░░░░░░░░░░░
› refactor the auth module and add tests
Agents (1 running · 2 done)
● main 45.2k 12⚒
├─● Explore map auth module 12.0k 6⚒
│ └─◐ general-purpose check tests 8.4k 3⚒
└─● Plan design the refactor 9.1k 2⚒
╭──────────────────────────────────────────────╮
│ Explore map auth module │
│ claude-haiku-4-5 · done · 4.2s │
│ ↓ in from main: prompt 312 tok │
│ Map the auth module. List every file… │
│ ⚙ 5 requests · ctx 12.0k (peak 14.1k) · out 2│
│ Read src/auth.ts │
│ Grep refreshToken │
│ ↑ out to main: answer 820 tok │
│ auth lives in src/auth.ts and src/sess… │
╰──────────────────────────────────────────────╯
[ refresh ] [ clear ] [ close ]
Run /agent-flow to open it, /agent-flow clear to forget finished agents, /agent-flow stop to close it.
main row to see the window broken down by category, as /context counts it, plus how much the main loop handed down to its subagents and got back from them.↓ in: the context handed down. For a normal subagent this is its prompt, the only thing it starts with, and its size in tokens. For a fork, it is the parent's whole context (its size at the moment) plus the directive.⚙: what the agent did with it. The requests it made, how full its own window is now and at its peak, the output tokens, and its last tool calls.↑ out: the context handed back up, which is its final answer (the only part of its work the parent sees) and its size.Markers: ◐ running, ● done, ✗ failed, ○ stopped. Token counts for prompts and answers are estimates (4 characters per token); context sizes come from the API's own usage figures for each request.
In the fullscreen layout the engine docks the pane beside the transcript, floor to ceiling. That layout needs a terminal at least 110 columns wide; turn it on with /tui fullscreen or CLAUDE_CODE_NO_FLICKER=1. On the classic layout the same pane sits above the prompt instead. Mouse clicks land in the fullscreen layout. Everywhere else, focus the pane (ctrl+x tab), move with Tab and press with Enter.
The flow is recorded from session start, whether the pane is open or not, so opening it late still shows every agent so far. While it is open, the status line reads agents: N running · N done · ctx N%.
It only observes: every hook passes its event on unchanged.
| Event | What it records |
|---|---|
turn.start | a new main-loop turn and its prompt |
agent.spawn | a subagent: parent loop, type, description, prompt, fork, background, model |
turn.step | each model request of any loop: its usage, so that loop's context size |
tool.call | each tool call, by the loop it ran in |
turn.complete | a loop's end: its answer, duration, and how it ended |
session.measure | the main window and its % |
It reads $.agent.list() to fold in status changes it did not see (a background agent killed) and $.session.usage({ breakdown: 'summary' }) when you select main. A resumed subagent or a teammate woken from disk reopens its own node (its task stays the one it started with), and an idle teammate shows ● until its next step. A loop that does work without an Agent call announcing it (a workflow's agent, an engine fork) is still drawn, as loop <id>.
columns: number width asked for the docked pane, 32-120 (default 52)
maxAgents: number subagents kept, oldest finished dropped first (default 60)
openOnStart: boolean open the pane when a session starts (default false)
Declared in .claude-plugin/plugin.json (userConfig). Set them in user settings (~/.claude/settings.json, never project settings), with --settings <file> or in managed settings, under the plugin's full id:
{ "pluginConfigs": { "agent-flow@skills-dir": { "options": { "columns": 64 } } } }
With --plugin-dir the id is plain agent-flow.
npx claude-code-templates@latest --mod ui/agent-flow
claude
7-day copy clicks
Generated from the plugin's indexed repository (davila7/claude-code-templates) — no native marketplace selected
npx claudepluginhub p/davila7-agent-flow-cli-tool-components-mods-ui-agent-flowBuilt from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
Plugins from other owners that cover similar ground