trace

Visualize agent session event timelines and summary statistics.

1|Updated May 7, 2026
One-click install
npx skills add https://github.com/zchee/json-repair-rs --skill trace-zchee
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: trace
Source: https://github.com/zchee/json-repair-rs/tree/main/.codex/skills/trace
Command: npx skills add https://github.com/zchee/json-repair-rs --skill trace-zchee

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill enables users to visualize and analyze the sequence of events and interactions during a session, helping identify bottlenecks, mode transitions, and flow patterns.

Core Features & Use Cases

  • Event Timeline Visualization: Show the chronological order of hooks, skills, agents, keywords, and tools.
  • Session Summary Statistics: Provide aggregated data on hook firings, detected keywords, activated skills, mode changes, and tool performance.
  • Use Case: A developer wants to debug a complex agent interaction by reviewing a timeline and performance metrics to optimize flow or investigate issues.

Quick Start

Use the trace skill to display the recent session timeline and summary statistics.

Frequently Asked Questions about trace

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I visualize agent session flows to identify performance bottlenecks?

To visualize agent session flows, you can generate detailed chronological timelines and summary statistics of events to pinpoint mode transitions and performance bottlenecks. This allows developers to review hook firings and tool performance for optimization.

What is the best way to debug complex agent interactions and event sequences?

The best way to debug complex agent interactions is by reviewing a detailed visualization of the chronological event sequence. This approach highlights the exact order of hooks, skills, agents, and tools, making it easier to investigate flow issues.

How do I track mode changes and tool performance during an AI agent session?

You can track mode changes and tool performance by generating session summary statistics. These statistics aggregate data on activated skills, mode transitions, and tool execution metrics to help you understand agent behavior.

What limitations exist when analyzing session timelines with basic scripting capabilities?

When analyzing session timelines with basic scripting capabilities, you are limited to core visualization and analytical summaries without external library integrations. This may restrict advanced custom formatting or deeply complex interactive visualizations.