Skills for Real Engineers. Straight from my .agents directory.
event-trace
Agent skill fromhoangsonww/Claude-Code-Agent-Monitor
Trace the full event chain for one Claude Code session into an ordered timeline of every event type with tool_name and summary, highlighting gaps, out-of-order events, and failures. Reads /api/events?session_id= and /api/sessions/:id from the Agent Monitor dashboard. Use when debugging what a session actually did, step by step.
How to install event-trace
npx skills add hoangsonww/Claude-Code-Agent-Monitor# or add only this skill to Claude Code: copy the folder
plugins/ccam-devtools/skills/event-trace/
# into
~/.claude/skills/event-trace/ (all projects)
.claude/skills/event-trace/ (one project)
1# Event Trace23Build a chronological, annotated event timeline for a single session.45## Input67The user provides: **$ARGUMENTS**89This is a session ID. It may also be:10- `latest` / `last` — trace the most recently updated session11- `errors` — trace the most recent session whose status is `error`1213## Data Sources1415| Endpoint | Returns |16|----------|---------|17| `GET /api/sessions?limit=N` | session list (used to resolve `latest`/`errors` and the target id) |18| `GET /api/sessions/:id` | full session detail (status, model, cwd, started_at, ended_at, cost, nested agents + events) |19| `GET /api/events?session_id=X` | the ordered event stream: event_type, tool_name, summary, data, timestamp |2021## Report Sections2223### 1. Resolve the session24If `$ARGUMENTS` is a raw id, use it. If `latest`/`last`, call25`GET /api/sessions?limit=1`. If `errors`, call26`GET /api/sessions?limit=10&status=error` and pick the newest. Confirm the id27resolves via `GET /api/sessions/:id`; if not, report it as missing and stop.2829### 2. Session header30From `GET /api/sessions/:id`: id, status, model, cwd, started_at → ended_at,31total duration, cost (USD to 4 decimals), and counts (events, agents).3233### 3. Ordered timeline34From `GET /api/events?session_id=X`, list every event in timestamp order. One row35per event:3637`| # | time | Δ since prev | event_type | tool_name | summary |`3839Cover all event types present: SessionStart, PreToolUse, PostToolUse, Stop,40…
Excerpt shown under the repository's MIT license.
More skills in Claude-Code-Agent-Monitor
Similar skill repositories
An agentic skills framework & software development methodology that works.
A single CLAUDE.md file to improve Claude Code behavior, derived from Andrej Karpathy's observations on LLM coding pitfalls.
Public repository for Agent Skills
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.
Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More
