Traceroutine — AI skill for Claude Code
Process mining for LLM agent traces: where the tokens and the time actually go.
How to install Traceroutine
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open gurov/traceroutine and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Traceroutine does
Process mining for LLM agent traces: where the tokens and the time actually go.
Alternatives in AI
- Deepreasoning — A high-performance LLM inference API and Chat UI that integrates DeepSeek R1's CoT reasoning traces with Anthr 5.4k ★
- Manifest — Real-time cost observability for OpenClaw agents — track tokens, costs, messages, and model usage 4.1k ★
- Rb Setup — First-time setup 1.3k ★
README
traceroutine
Process mining for LLM agent traces — where the tokens and the time actually go.
Observability platforms attribute spend by **who**: per user, per team, per API key. `traceroutine` attributes it by **how** — per execution path.
An agent's cost is a property of its trajectory, not of its request.

One command, zero instrumentation
If you use Claude Code, the data is already on your disk. No exporter, no collector, no account, no arguments:
$ uvx traceroutine
reading ~/.claude/projects as claude-code — nothing leaves this machine
485 cases · 334 paths · $867.34 at list prices · rework 81.7% -> report.html
1. Results of `tool:Bash` carry 12% of the budget through context (up to $107.54)
2. Loop `chat → tool:Edit` runs an extra time (up to $51.33)
3. Working rhythm `chat → tool:Bash` — 43% of the budget
Three seconds, and that is my own history. The first finding is the whole thesis:
**Results of `tool:Bash` carry 12% of the budget through context.** The step itself burns no tokens and shows as **$0.00** in every cost breakdown. But each of its results adds ~1,388 tokens to the prompt, and those are re-read on **every** subsequent turn: 132M tokens carried in total. Fix by truncating output, not by switching models.
A tool call costs nothing when it happens and keeps costing for the rest of the run. That is why the unit of cost is the path, not the request.
Context re-reading is a known phenomenon — vendors document it. What is missing everywhere else is the **attribution**: not "context grows", but *which* step's results carried *how many* dollars across the rest of the trajectory.
The dollars are API list prices, not an invoice. I pay a $20 subscription, so this is what those tokens would have cost — which is its own small finding: a flat fee hides a month that prices out at $867. Cro
Related Skills
Distil
Measure what context compression actually costs an LLM agent: where a session's tokens go, and whether a rewri
Agentcanvas
Visualize Pydantic AI agent workflows from Logfire traces as an interactive HTML diagram — tools, nested sub-a
Zeptopm
⚡ Process Manager for AI agents — like PM2, but for LLMs. Erlang-inspired process supervision, real-time agent
Kelan
Real time behavioral monitoring for AI coding agents. Detects deviations from declared intent (unauthorized fi
AI Timeline
See what AI coding agents actually do, across one session or thousands. Timelines, tool calls, tokens and cost
Agent Crop
给 AI 编程助手一根马鞭:本地 trace 记录时间去向,推它反思、自证优化。Local tracing for AI coding agents — where the time actually goes. DSH
Related Agents
Mining Process
Especialista de processo em mineração de agregados e calcário. Responde sobre pedreira, desmonte, britagem pri
Langfuse Expert
Expert Langfuse engineer for querying traces, debugging LLM applications, managing prompts, analyzing sessions
AI Observability Engineer
Use when a task needs AI-native traces, metrics, logging, and debugging signals for LLM or agent systems in pr