agent-flow
by Charles Tao · ★ 0 · updated 4 days ago
The agent flow pane: /flow opens a live tree of the session's subagents and teammates beside the transcript, fed by engine events, with a text fallback where no pane can be drawn.
Install
/plugin marketplace add JinhaoFang/claude-mods/plugin install agent-flow@claude-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
What it hooks into
From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.
- Events
session.startui.rendercommand.runui.closeagent.spawntool.callturn.startturn.completeclassic.PermissionRequestclassic.Notification- API calls
$.agent.list$.clock.after$.clock.every$.clock.now$.clock.sleep$.command.register$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve$.ui.status- Draws
PromptHintPane- Can see
subagent spawnsevery tool callclassic hooks- Reach
- level 0 of 3 persists statedraws
Origin
- How it got here
- Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
- Repository
- github.com/JinhaoFang/claude-mods
- Path in repo
mods/agent-flow- Source commit
b8700d5the exact code the scan read- Author
- Charles Tao @JinhaoFang
- License
- Apache-2.0
- First published
- Last pushed
- First listed here
Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.
More from JinhaoFang/claude-mods
block-destructive-commands
JinhaoFang/claude-mods
Denies Bash commands that match destructive patterns (recursive rm on roots, force push, hard reset, destructive SQL, disk formatting) before they run. A tool.call hook with a Bash matcher that returns { deny } without calling next.
context-band
JinhaoFang/claude-mods
A band above the prompt showing the session's context usage, plan quota or cost
image-view
JinhaoFang/claude-mods
See the images you paste into Claude Code: thumbnails above the prompt instead of bare [Image #1] tags
redact
JinhaoFang/claude-mods
Rewrites sensitive data (emails, IPs, credentials, addresses) out of what enters the model context