Skip to content
Agent Workspaces
Skill

/agent-strace

Trace and investigate Claude Code or GitHub Copilot CLI sessions with agent-strace. Use when the user wants to capture an agent session, replay activity, explain a decision, diagnose repeated tool calls or failures, inspect cost, or audit a recorded session.

From plugin
agent-strace
1071 skill1 agent7 hooks

Claude Code

$ npx -y skills add Siddhant-K-code/agent-trace --skill agent-strace --agent claude-code

SKILL.md

agent-strace.SKILL.md
name: agent-strace
description: Trace and investigate Claude Code or GitHub Copilot CLI sessions with agent-strace. Use when the user wants to capture an agent session, replay activity, explain a decision, diagnose repeated tool calls or failures, inspect cost, or audit a recorded session.

agent-strace

Use the local `agent-strace` executable. The plugin contributes lifecycle hooks, but the Python package must also be installed and available on `PATH`.

Prerequisite check

Run `agent-strace --version`. If it is unavailable, stop and provide one of:

uv tool install agent-strace
pip install agent-strace

Do not silently substitute another tracing tool.

Capture

Installed plugin hooks automatically record new Claude Code or Copilot CLI sessions to `.agent-traces/`. Do not also install provider-specific manual hooks with a different redaction mode because both handlers can run.

Investigate

Choose the smallest command set that answers the request:

agent-strace list
agent-strace inspect <session-id>
agent-strace replay <session-id>
agent-strace explain <session-id>
agent-strace timeline <session-id>
agent-strace why <session-id> <event-number>
agent-strace lint <session-id>
agent-strace audit <session-id>
agent-strace cost <session-id>
agent-strace diff <session-a> <session-b>
agent-strace compare <session-a> <session-b>

Resolve an omitted session ID with `agent-strace list`. Prefer text output for interactive analysis and JSON only when structured processing is necessary. Report exact session IDs and event numbers for material findings.

Safety

  • Treat trace storage as read-only unless the user requests retention, import,

anonymization, or another mutating operation.

  • Preserve secret redaction.
  • Do not claim causal intent from proximity alone; use `why` or clearly label the

conclusion as an inference.

Read more
@siddhant-k-code
Ships withagent-strace

Local evidence and replay for coding agents. agent-strace records what a coding agent did in a session (prompts, tool calls, file operations, commands, failures) as local files, then does three jobs: Replay what happened. replay shows the session in order.

1071 skill1 agent
Get the whole plugin

Stars on GitHub

Momentum

stars in total
107
Star history of Siddhant-K-code/agent-trace on GitHub, a chart by star-history.com

More skills from other plugins.

hud

hud

Set up, check, change, preview, or report a problem with the claude-hud status line. Use when the user mentions the HUD or status…

@jarrodwatts@jarrodwattsInstall Skill
paseo

paseo

Paseo reference for managing hosts, projects, workspaces, workspace scripts, agents, schedules, and heartbeats.

paseo5d24k
@getpaseo@getpaseoInstall Skill
10x
Auto-invoked

10x

Personalized audit that teaches the advanced Paradev (formerly Superset) features the user isn't using yet (automations, parallel…

paradev3d16k
@superset-sh@superset-shInstall Skill

Questions about agent-strace.

Which coding agents can use agent-strace?
agent-strace installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.