plugsday
Week 2 · November 9, 2026 / agent-trace

agent-trace

PluginPassed every check★ 8 · by @krika2810

A Claude Code mod (plugin) that adds a pane showing every step after a prompt is sent: model requests, tool calls, subagents, hooks and compactions, in order, with timing, tokens, API-rate cost estimates and failures. It also offers analytics and CSV, Markdown and JSON exports.

See it on GitHub

What it can touch

files · read and writenetwork · 2 hostsshell · runs commandssecrets · none found
fileswrite, including ~/.claude/projects/**/*.jsonl, ~/.claude/agent-trace/history/
networkexample.test, platform.claude.com
shellruns commands
secretsnone found

What it actually does

The reviewable files add up to a local observability tool. hooks/analytics.ts, ledger.ts, pricing.ts, report.ts, command.ts and history.ts are pure computation: they roll up statistics, classify context parts, price requests from a static table, build exports and trim saved traces to size. scripts/today_cost.py globs ~/.claude/projects/**/*.jsonl, sums today's API-rate cost from usage records and caches per-file results in the system temp folder. The docs and tests show the main module (hooks/register.tsx) does several things. It reads session messages and events. It runs git for branch, commit and numstat, python3 for the daily cost, and mkdir/rm for history. It writes each session's trace, including commands, paths and 20-line input/output previews with best-effort masking, to ~/.claude/agent-trace/history/. It copies exports to the clipboard and deletes sessions older than 30 days. No network code, no hidden instructions and no prompt injection appear in the files provided. However, register.tsx (270 KB), the module that actually registers the hooks, was left out of the bundle, so its behaviour can only be inferred from the docs and tests.

What the check found

mediumMain hook module was not available for review

hooks/hooks.json loads only ./register.tsx. That file holds the event handlers, the process launches and the file writes, and it was omitted from the bundle for size. The README states the tool makes no network requests and runs only git, python3, mkdir and rm, but this could not be verified. A reviewer should read register.tsx before the tool is listed.

hooks/hooks.json:1 { "modules": ["./register.tsx"] }

README.md:178 - agent-trace makes no network requests. It runs `git` in your repository (branch, commit, changed lines), `python3` for Today, and `mkdir` and `rm` for its sav

Claude review

mediumPersists commands and output previews from every session to disk

Each session's trace is saved as JSON under ~/.claude/agent-trace/history/ and kept for 30 days. The saved data includes commands, file paths and up to 20 lines of tool input and output, which can contain file contents. Credential masking is pattern-based and explicitly best effort, so secrets may remain in these files. This is disclosed and fits the tool's purpose, but users should know about it.

GUIDE.md:51 Each session's whole trace is saved on this computer, as one JSON file in `~/.claude/agent-trace/history/` (the folder is yours alone), and listed in the mod's

GUIDE.md:97 - Masking is pattern matching, so treat it as best effort, not a guarantee. It catches:

Claude review

Keep an eye on it

This check is of one commit. Watch agent-trace and we'll email you if a later commit changes what it can touch.

Made this? Add the badge

Checked by Plugsday

[![Checked by Plugsday](https://plugsday.com/badge/krika2810-agent-trace.svg)](https://plugsday.com/tools/krika2810-agent-trace)

About this check

Checked November 9, 2026 at commit 797feb26c3e9, 30 files. Rules for known red flags, then two Claude reviews, one of them told to assume the author is malicious. A later commit hasn't been checked. How checks work.