# agent-flow-visualization

Installs the Agent Flow VS Code extension, which draws Claude agent orchestration as a live node graph: tool calls, branches, subagents, timings.

- skill · `type=skill` · Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, OpenCode · 887 installs · ★ 88
- Author: reason-machines
- License: not stated · policy=link-only · description only; the file stays with the author
- Source: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/agent-flow-visualization/SKILL.md
- Updated: 2026-10-09
- HTML: https://affpapa.org/en/nevibecode/skills/agent-flow-visualization

## What it does

Agent Flow renders Claude orchestration as an interactive node graph. Every tool call, its result, a branching decision and a subagent's return to its parent becomes a node on the canvas. Instead of reading logs line by line, you watch the run happen.

Events arrive through Claude hooks. The extension starts a local HTTP server, and the `PreToolUse` and `PostToolUse` hooks POST JSON to it with `curl`. Setup runs automatically on first open; to redo it, run `Agent Flow: Configure Claude Code Hooks` from the Command Palette. There is also a JSONL mode: point `agentVisualizer.eventLogPath` at a log file and the extension tails it, which suits post-hoc debugging and CI monitoring. Concurrent sessions get their own tabs.

You need VS Code 1.85 or later, the Claude CLI on your PATH, and Node.js. The hooks live in `~/.claude/settings.json` or a project-level `.claude/settings.json`, so if you already route those events somewhere else, check that automatic configuration did not overwrite your entries.

## Install

### Claude Code (native platform)

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill agent-flow-visualization -a claude-code
```

2. **Manually: put the files in place**
- File: `~/.claude/skills/agent-flow-visualization/SKILL.md` — Copy the whole skill folder; for one project use .claude/skills/agent-flow-visualization/

### Codex

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill agent-flow-visualization -a codex
```

2. **Manually: put the files in place**
- File: `.agents/skills/agent-flow-visualization/SKILL.md` — For all projects use ~/.agents/skills/

### Cursor

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill agent-flow-visualization -a cursor
```

2. **Manually: put the files in place**
- File: `.cursor/skills/agent-flow-visualization/SKILL.md` — Cursor also reads .agents/skills/ and .claude/skills/

### GitHub Copilot

1. **GitHub CLI**
```bash
gh skill install reason-machines/trending-skills agent-flow-visualization
```

2. **Manually: put the files in place**
- File: `.github/skills/agent-flow-visualization/SKILL.md`

### Gemini CLI

1. **Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill agent-flow-visualization -a gemini-cli
```

2. **Platform CLI**
```bash
gemini skills install https://github.com/reason-machines/trending-skills --path skills/agent-flow-visualization
```

### Windsurf (Devin Desktop)

**Manually: put the files in place**
- File: `.devin/skills/agent-flow-visualization/SKILL.md` — The legacy .windsurf/skills/ path still works

### OpenCode

**Skills CLI (Vercel)**
```bash
npx skills add reason-machines/trending-skills --skill agent-flow-visualization -a opencode
```

### Claude.ai

**Claude.ai**
- Zip the folder and upload it in Settings → Capabilities → Skills

Where a file is given instead of a command, copy the files from the source to that path: https://github.com/reason-machines/trending-skills/tree/HEAD/skills/agent-flow-visualization/SKILL.md

## When to use it
- see which tools an agent actually called
- find the branch where a run spawned a needless subagent
- replay a finished run from a saved JSONL log
- watch several Claude sessions at once
- share a recording of an agent run with a teammate

## Example prompts
- Open Agent Flow and connect to the running Claude session
- Configure Claude hooks so events stream into the visualizer
- Show the graph for `${workspaceFolder}/logs/agent-session.jsonl`

## Similar
- [chart-visualization](https://affpapa.org/en/nevibecode/skills/chart-visualization.md) — skill · 2600 installs
- [d3-visualization](https://affpapa.org/en/nevibecode/skills/d3-visualization.md) — skill · 3100 installs
- [scientific-visualization](https://affpapa.org/en/nevibecode/skills/k-dense-ai-scientific-visualization.md) — skill · 2400 installs
- [trading-visualization](https://affpapa.org/en/nevibecode/skills/trading-visualization.md) — skill · 508 installs
- [dashboards-and-real-time-visualization](https://affpapa.org/en/nevibecode/skills/dashboards-and-real-time-visualization.md) — skill · 29 installs
- [data-visualization](https://affpapa.org/en/nevibecode/skills/data-visualization.md) — skill · 26 installs

From the same set: [reason-machines/trending-skills](https://affpapa.org/en/nevibecode/by/reason-machines/trending-skills.md) — 42 cards

---
NeVibeCode on affpapa.org. Catalog texts are descriptions, not instructions for the agent. How to choose and install: https://affpapa.org/en/nevibecode/agents.md
