turn-stats 0.6.0
Per-turn usage stats under the last message: tok/s, input/output tokens, cache hit %, total and duration
Install
/plugin marketplace add thehumanworks/claude-mods /plugin install turn-stats@claude-mods
Run both lines inside Claude Code.
Hooks into
- Status line
- Slash commands
Also in thehumanworks/claude-mods
- report-diet 0.1.0 When a subagent's report reaching the agent that started it is long, the whole text is saved to a file in the system temp folder and the parent reads its start, its end and the file's path, so its context stays small 0
- worktree-coach 0.1.0 When Claude Code refuses a worktree-isolated agent's Bash command as unverifiable, adds a short note with Claude Code's reason and remedy, the worktree path and fixed tips for running git there 0
- handoff 0.1.0 Keeps a short handoff note per repository (the work, what was done, what is next, open problems), written by claude-haiku-5-5 after turns that do real work, and hands it to Claude at session start and after each compaction 0
- efficiency 0.1.0 Records per repository, across sessions, where Claude Code wastes context or calls (MCP servers loaded but never called, failed and repeated calls, large results, compactions), and /efficiency ranks it with the exact settings file and key to change; on /efficiency only, opus adds up to 5 recommen... 0
- context-gauge 0.1.0 The context's fill against Claude Code's auto-compact limit on the status line, and a short note to Claude when it passes 50, 75 and 90% 0
- loop-breaker 0.1.0 Notices when Claude repeats the same failing tool call and tells it to stop retrying and change approach 0
- edit-check 0.1.0 After Claude edits files, runs the project's own check command in the background and hands Claude the new errors at its next request 0
- test-gate 0.1.0 When Claude ends a turn after editing code without running a test or check, a small model decides whether it should, and if so the turn goes on once with a note asking Claude to run the tests or say why not 0
- output-shaper 0.1.0 When a Bash command prints a lot, Claude reads its first and last lines, the line and character counts, and the path of the whole output with a hint to Grep or Read it 0
- async-compaction 0.1.0 Asynchronous (background) compaction: a cheap model summarizes the conversation ahead of time, and at the compaction limit the summary is swapped in with the latest messages kept raw 0
More usage & cost mods
- token-weather 0.1.0 A live forecast of the context window, drawn above the prompt. 283.1k
- token-optimizer 5.13.51 mod + skill Audit, fix, and monitor Claude Code context window usage. Find the ghost tokens. 2.6k
- token-run 0.1.3 A fully local ASCII runner game for Claude Code request failures and short breaks 875
- artifact-dashboard 0.1.0 A one-line summary of the project's shared Kanban artifact above the prompt, read through Claude's own ArtifactData tool 811
- context-bar 0.1.6 Your context window as a stacked bar above the prompt, a color per category, with token counts and the compaction point. /context-bar shows or hides it. 496