
Agent Flow Visualization
Watch Claude Code tool calls, branches, and subagents as a live VS Code graph while you debug orchestration.
Overview
Agent Flow Visualization is an agent skill most often used in Build (also Ship) that renders Claude Code sessions as a real-time VS Code node graph of tools, branches, and subagents.
Install
npx skills add https://github.com/aradotso/trending-skills --skill agent-flow-visualizationWhat is this skill?
- Real-time interactive node graph of Claude Code agent orchestration
- Shows tool calls, branching, subagent coordination, and timing
- VS Code 1.85+ extension installable from Marketplace (simon-p.agent-flow)
- Command Palette entry: Agent Flow: Open Agent Flow
- Auto-detects Claude Code sessions in workspace when hooks/streaming configured
- VS Code 1.85 or later required
- 3 quick-start steps: Command Palette, Open Agent Flow, start Claude Code session
Adoption & trust: 780 installs on skills.sh; 31 GitHub stars; 3/3 security scanners passed (skills.sh audits).
What problem does it solve?
Claude Code runs feel like a black box—you cannot see which tools fired, how agents branched, or where time went.
Who is it for?
Indie developers using Claude Code in VS Code who need to debug complex tool-call chains and subagent handoffs locally.
Skip if: Production APM for shipped APIs, non-Claude agents, or teams that do not use VS Code as their primary editor.
When should I use this skill?
visualize claude code agents; debug agent tool calls; see agent execution graph; monitor claude code sessions; trace agent tool call chains; configure claude code hooks for visualization
What do I get? / Deliverables
You get a live VS Code graph of tool calls and subagent coordination so you can trace failures and tune hooks without guesswork.
- Interactive VS Code node graph of live Claude Code execution
- Visible tool-call chains, branches, and subagent timing
Recommended Skills
Journey fit
Spans multiple journey phases - primary shelf plus alternate fits below.
Primary shelf is Build agent-tooling because the extension attaches to Claude Code sessions during development of agent workflows. Agent-tooling subphase is where you instrument and observe agent execution—not ship-time perf or launch distribution.
Where it fits
Open Agent Flow while refactoring a multi-tool Claude Code skill to see branch points.
Trace a long OAuth plus API chain to find which subagent dropped context.
Replay a pre-release session graph to document tool order for code review.
How it compares
Local dev-time graph for Claude Code orchestration, not a cloud-wide tracing product like OpenTelemetry dashboards.
Common Questions / FAQ
Who is agent-flow-visualization for?
Solo builders on Claude Code who want a visual execution graph inside VS Code instead of scrolling terminal logs.
When should I use agent-flow-visualization?
During Build while wiring agents and hooks; during Ship review when reproducing a failed multi-tool session before release.
Is agent-flow-visualization safe to install?
Review the Security Audits panel on this page; the extension observes local Claude Code session metadata—avoid sharing graphs that contain secrets.
SKILL.md
READMESKILL.md - Agent Flow Visualization
# Agent Flow > Skill by [ara.so](https://ara.so) — Daily 2026 Skills collection. Agent Flow is a VS Code extension that provides real-time visualization of Claude Code agent orchestration. It renders agent execution as an interactive node graph, showing tool calls, branching, subagent coordination, and timing — turning Claude Code's black-box execution into a transparent, debuggable flow. ## Installation ### Via VS Code Marketplace 1. Open VS Code Extensions (`Cmd+Shift+X`) 2. Search for **Agent Flow** by simon-p 3. Click Install Or install directly: [marketplace.visualstudio.com/items?itemName=simon-p.agent-flow](https://marketplace.visualstudio.com/items?itemName=simon-p.agent-flow) ### Requirements - VS Code 1.85 or later - Claude Code CLI installed and accessible - Node.js (for Claude Code) ## Quick Start ``` # 1. Open Command Palette Cmd+Shift+P (Mac) / Ctrl+Shift+P (Win/Linux) # 2. Run the command > Agent Flow: Open Agent Flow # 3. Start a Claude Code session in your workspace # Agent Flow auto-detects it and begins streaming ``` Or use the keyboard shortcut: - **Mac**: `Cmd+Alt+A` - **Win/Linux**: `Ctrl+Alt+A` ## Commands | Command | Description | |---------|-------------| | `Agent Flow: Open Agent Flow` | Open visualizer in current editor column | | `Agent Flow: Open Agent Flow to Side` | Open in a side editor column | | `Agent Flow: Connect to Running Agent` | Manually connect to a specific agent session | | `Agent Flow: Configure Claude Code Hooks` | Set up Claude Code hooks for live event streaming | ## Configuration Settings available in VS Code settings (`settings.json`): ```jsonc { // Path to a JSONL event log file to watch/replay "agentVisualizer.eventLogPath": "/path/to/agent-events.jsonl", // Auto-open the visualizer when an agent session starts "agentVisualizer.autoOpen": true, // Development server port (0 = production mode, use built assets) "agentVisualizer.devServerPort": 0 } ``` ### Auto-Open on Agent Start ```jsonc // settings.json { "agentVisualizer.autoOpen": true } ``` ## Claude Code Hooks Setup Agent Flow uses Claude Code's hook system for zero-latency event streaming. Hooks are configured automatically on first open, but you can reconfigure manually. ### Automatic Configuration Run from Command Palette: ``` > Agent Flow: Configure Claude Code Hooks ``` ### Manual Hook Configuration If you need to configure hooks manually, Agent Flow starts a local HTTP server that receives events. The hooks forward Claude Code lifecycle events (tool calls, responses, session start/end) to the extension. Claude Code hooks are configured in `~/.claude/settings.json` or project-level `.claude/settings.json`: ```jsonc { "hooks": { "PreToolUse": [ { "matcher": ".*", "hooks": [ { "type": "command", "command": "curl -s -X POST http://localhost:PORT/hook -H 'Content-Type: application/json' -d @-" } ] } ], "PostToolUse": [ { "matcher": ".*", "hooks": [ { "type": "command", "command": "curl -s -X POST http://localhost:PORT/hook -H 'Content-Type: application/json' -d @-" } ] } ] } } ``` > Agent Flow manages this configuration automatically — prefer using the command palette command. ## JSONL Event Log Mode For replaying past sessions or watching log files generated outside VS Code: ```jsonc // settings.json { "agentVisualizer.eventLogPath": "${workspaceFolder}/logs/