AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Event Trace

skill-hoangsonww-claude-code-agent-monitor-event-trace · by hoangsonww

>

No reviews yet
0 installs
21 views
0.0% view→install

Install

$ agentstack add skill-hoangsonww-claude-code-agent-monitor-event-trace

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access No
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-hoangsonww-claude-code-agent-monitor-event-trace)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
1mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Event Trace? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

Event Trace

Build a chronological, annotated event timeline for a single session.

Input

The user provides: $ARGUMENTS

This is a session ID. It may also be:

  • latest / last — trace the most recently updated session
  • errors — trace the most recent session whose status is error

Data Sources

| Endpoint | Returns | |----------|---------| | GET /api/sessions?limit=N | session list (used to resolve latest/errors and the target id) | | GET /api/sessions/:id | full session detail (status, model, cwd, startedat, endedat, cost, nested agents + events) | | GET /api/events?session_id=X | the ordered event stream: eventtype, toolname, summary, data, timestamp |

Report Sections

1. Resolve the session

If $ARGUMENTS is a raw id, use it. If latest/last, call GET /api/sessions?limit=1. If errors, call GET /api/sessions?limit=10&status=error and pick the newest. Confirm the id resolves via GET /api/sessions/:id; if not, report it as missing and stop.

2. Session header

From GET /api/sessions/:id: id, status, model, cwd, startedat → endedat, total duration, cost (USD to 4 decimals), and counts (events, agents).

3. Ordered timeline

From GET /api/events?session_id=X, list every event in timestamp order. One row per event:

| # | time | Δ since prev | event_type | tool_name | summary |

Cover all event types present: SessionStart, PreToolUse, PostToolUse, Stop, SubagentStop, Compaction, APIError, TurnDuration, Notification, SessionEnd.

4. Gap & failure highlights

Annotate the timeline:

  • Gaps: any Δ > 30s between consecutive events — mark ⏳ and note the wait.
  • Unpaired tool calls: a PreToolUse with no matching PostToolUse (same

tool_name, next in stream) — mark ⚠️ "no completion recorded".

  • Failures: APIError events and PostToolUse whose summary/data indicates

an error — mark ❌ with the error text.

  • Compaction: mark ♻️ and note it resets the visible token baseline.
  • Missing bookends: no SessionStart at the head or no Stop/SessionEnd at the

tail of an ended session — mark 🚩.

5. Verdict

One line: CLEAN, GAPS DETECTED, or FAILURES PRESENT — with the count of each flag type and the single most likely thing to investigate next.

Output

  • Markdown timeline table, events in strict timestamp order.
  • Status glyphs inline: ✅ ok, ❌ error, ⚠️ warning/unpaired, ⏳ gap, ♻️ compaction, 🚩 missing bookend.
  • Currency in USD to 4 decimals.
  • Cite only event data returned by the API — do not invent timestamps or summaries.
  • If the dashboard is unreachable, tell the user to start it with npm start from the repo root.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.