analyze_transcripts
Inspect JSONL transcript files or directories read-only to detect prompt-cache busts, compaction points, retry loops, top token-consuming tools, and estimated USD cost or savings.
Instructions
Strictly read-only analysis of a JSONL transcript file or directory. Detects prompt-cache bust events, compaction inflection points, retry loops, top tools by attributed tokens, and estimated USD cost/savings. Performs zero writes and zero network calls.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"path": "<path>"
},
"name": "analyze_transcripts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to a JSONL transcript file or directory of JSONL files. | |
| output_format | No | Output format: 'json' for structured payload or 'markdown' for summary table. | json |
| compact_threshold | No | Context token threshold for compaction inflection detection. | |
| post_compact_target | No | Target context tokens after compaction for savings estimation. |