epilogue
Reviewed
at commit 867b81f
KOZMOS Epilogue: a recap band after every turn. Duration, tool families as colored chips, files written, subagents spawned, tokens and estimated cost, the…
0 upvotes
Log in to upvote or save- Made by
- KOZMOS
- Pinned commit
-
867b81f5651059bb0c22563c8b175475787c84ae - What we checked
-
Shows a recap band after each turn: duration, estimated cost, tokens, tool types as colored chips, files written, subagents and failed tools. /epilogue lists the last 20 recaps. An optional setting, off by default, sends each answer to Haiku on your own Claude Code account for a one-line summary, which uses a few tokens. Nothing goes outside Claude.
Review details
Static review of the source at the pinned commit; not run. Registers session.start, command.run (/epilogue, with hide and show), prompt.submit, turn.start, turn.step, tool.call, agent.spawn, turn.complete and ui.render (AbovePrompt and Pane) hooks. Handlers observe and pass events through unchanged. During a turn it tallies tool families, basenames of files written by Edit/Write calls, failures with a short detail, token usage from turn.step and an estimated cost from a built-in price table, plus the session cost delta from $.session.usage. The first 120 characters of the prompt are kept for the pane. Up to 20 recaps live in $.state; $.store keeps only the hidden flag. If the aiSummary option is enabled (default false) it calls $.model.complete with claude-haiku-5-5 on the answer text (first and last 3000 characters if long, max 80 tokens, 20 s timeout) after each turn. Failures are swallowed. No $.fs, $.process or network calls. The unresolved ../types imports are the plugin's type declaration file; kz.ts and recap.ts are pure logic. hooks/lib/probe.ts is not imported. No npm dependencies.
- What it uses
-
- Reads your prompts: yes
- Sees tool calls: yes
- Blocks or changes tool calls: no
- Reads or writes files: no
- Runs programs on your machine: no
- Calls the model (uses tokens): yes
- Sends data over the network: no
- Stores data: yes
- Shows something on screen: yes
KOZMOS Epilogue: a recap band after every turn. Duration, tool families as colored chips, files written, subagents spawned, tokens and estimated cost, the session cost delta and failed tools, with an optional AI one-liner. /epilogue opens the last 20 recaps.
Made this mod? Add a badge to your README
Paste this into your README. The badge says reviewed once the current version has been reviewed, and links readers to this page.
[](https://modsforclaude.com/mods/epilogue/)