/replay
Summarize one Agent Monitor session by id — header plus a concise transcript recap.
$ npx -y skills add hoangsonww/Claude-Code-Agent-Monitor --agent claude-codeHow it fires
How this command gets triggered: by you, by Claude, or both.
- Fires itselfClaude auto-loads it when your prompt matches the work.
- You can call itInvoke it directly when you want it.
- Slash command
/replay
Context preview
What this command does when you run it.
Summarize one Agent Monitor session by id — header plus a concise transcript recap.
Command definition
replay.mddescription: Summarize one Agent Monitor session by id — header plus a concise transcript recap.
argument-hint: "[session-id]"
Produce a concise recap of one Claude Code session tracked by the Agent Monitor.
The session id is **$ARGUMENTS**. If empty, resolve the latest: `curl -s "http://localhost:4820/api/sessions?limit=1"` and use its `id`.
Fetch the session header and its transcript:
curl -s "http://localhost:4820/api/sessions/$ARGUMENTS"
curl -s "http://localhost:4820/api/sessions/$ARGUMENTS/transcript"
The first returns the session detail (status, model, cwd, started_at, ended_at, cost, metadata: turn_count, thinking_blocks, total_turn_duration_ms). The second returns the ordered transcript messages (user / assistant / tool).
Then print, concisely:
1. **Header** — one block: `id · model · status · cwd basename · turn_count turns · $<cost to 4dp> · <started_at → ended_at>`. 2. **Recap** — 5–10 bullets walking the conversation in order: the user's goal, the key assistant actions and tools used, any tool failures, and how it ended. Summarize each message in one line; do not paste large payloads (truncate past ~200 chars with `…`).
Currency as USD to 4 decimal places. If the transcript is empty, say the session has no stored transcript rather than inventing turns. If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.
Read more
description: Summarize one Agent Monitor session by id — header plus a concise transcript recap. argument-hint: "[session-id]"
Produce a concise recap of one Claude Code session tracked by the Agent Monitor.
The session id is **$ARGUMENTS**. If empty, resolve the latest: `curl -s "http://localhost:4820/api/sessions?limit=1"` and use its `id`.
Fetch the session header and its transcript:
curl -s "http://localhost:4820/api/sessions/$ARGUMENTS" curl -s "http://localhost:4820/api/sessions/$ARGUMENTS/transcript"
The first returns the session detail (status, model, cwd, started_at, ended_at, cost, metadata: turn_count, thinking_blocks, total_turn_duration_ms). The second returns the ordered transcript messages (user / assistant / tool).
Then print, concisely:
1. **Header** — one block: `id · model · status · cwd basename · turn_count turns · $<cost to 4dp> · <started_at → ended_at>`. 2. **Recap** — 5–10 bullets walking the conversation in order: the user's goal, the key assistant actions and tools used, any tool failures, and how it ended. Summarize each message in one line; do not paste large payloads (truncate past ~200 chars with `…`).
Currency as USD to 4 decimal places. If the transcript is empty, say the session has no stored transcript rather than inventing turns. If the dashboard is unreachable, tell the user to start it with `npm start` from the repo root.
🚀 A real-time monitoring dashboard for Claude Code & Codex, built with SQLite3, Node.js, Express, React, Vite, TailwindCSS, & WebSockets. It tracks sessions, agent activity, tool usage, and subagent orchestration, providing live analytics, a Kanban status board, status notifications, a cute buddy, & an interactive web UI/MacOS/Windows native app.
Repo: hoangsonww/Claude-Code-Agent-Monitor
Other commands on claude-code-agent-monitor.
- /burn-rate
Compute the recent 7-day spend trend (burn rate) from daily sessions and per-session cost.
Open command - /cost-today
Quick total cost plus a per-model one-liner from the dashboard pricing engine.
Open command - /top-spenders
List the top N most expensive Claude Code sessions by inline cost.
Open command - /audit-config
Quick Claude Code config audit — counts per surface (user vs project) and totals.
Open command - /inventory
One-screen inventory of skills, agents, commands, MCP servers, and hooks counts.
Open command - /memory
List the file-based memory store grouped by project (auto-memory) plus the CLAUDE.md files.
Open command

