trace_skill
- TypeScript
9k
GitHub Stars
1
Bundled Files
2 months ago
Catalog Refreshed
4 months ago
First Indexed
Readme & install
Copy the install command, review bundled files from the catalogue, and read any extended description pulled from the listing source.
Installation
Preview and clipboard use veilstrat where the catalogue uses aiagentskills.
npx veilstrat add skill yeachan-heo/oh-my-claudecode --skill trace- SKILL.md965 B
Overview
This skill displays an agent flow trace timeline and a concise summary of execution during a session. It surfaces how hooks, keywords, skills, agents, and tools interacted, revealing mode transitions, bottlenecks, and common flow patterns. The output is organized: timeline first, then aggregate statistics for quick diagnosis.
How this skill works
The skill calls two trace MCP tools: trace_timeline to fetch chronological events and trace_summary to compute aggregate metrics. trace_timeline can be filtered by event type or limited to the last N events. trace_summary reports hook counts, detected keywords, activated skills, mode transitions, and tool performance.
When to use it
- Diagnosing why a multi-agent session ran slower than expected
- Understanding which agents and tools were engaged for a given objective
- Auditing how keywords and hooks triggered downstream skills
- Spotting mode transitions that caused unexpected behavior
- Summarizing session activity for post-mortem or reporting
Best practices
- Run the timeline first to get chronological context, then review the summary for hotspots
- Use filters (hooks, skills, agents, keywords, tools, modes) to isolate noisy subsystems
- Limit the timeline with the last parameter when analyzing large sessions to focus on recent events
- Pay special attention to slow tools and repeated retries as indicators of bottlenecks
- Correlate mode transitions with timestamps to spot where execution logic diverged
Example use cases
- Showing a developer which skill triggered an unexpected tool call during a CI run
- Tracing a keyword -> skill -> agent chain that produced a wrong output
- Identifying which agent introduced latency in a parallel execution scenario
- Generating a short report of hook fire counts and active skills after a session
- Filtering the last 50 events to debug a recent failure without noise from earlier activity
FAQ
Use trace_timeline with filter set to tools and optionally set last to limit the output.
What indicates a bottleneck in the summary?
High average or tail latencies for a tool or repeated agent retries typically indicate a bottleneck.