turn-inspector

by claude-code-templates · ★ 0 · updated 14 days ago

PanesGuardsCommandswarnings

0

A side pane that shows the session turn by turn, like Anthropic's context-window diagram: every model request with its input (system and tools, earlier turns, the new user message or tool results) stacked above its output (thinking, text, tool use), real token totals from the API, and a bar of how full the context window gets. Expand any turn to see its blocks.

install turn-inspector

Install

git clone https://github.com/Covre81/claude-code-mods
claude --plugin-dir ./claude-code-mods/turn-inspector

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
session.startcommand.runturn.starttool.callturn.stepturn.completesession.measureui.closeui.pressui.render
API calls
$.command.register$.session.messages$.session.usage$.state.get$.state.set$.store.get$.store.set$.ui.close$.ui.invalidate$.ui.log$.ui.open$.ui.resolve
Draws
Pane
Can see
every tool call
Reach
level 1 of 3 reads the transcriptreads mod statepersists statedraws

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/Covre81/claude-code-mods
Path in repo
turn-inspector
Source commit
88b1185 the exact code the scan read
Author
claude-code-templates @Covre81
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from Covre81/claude-code-mods

agent-flow

Covre81/claude-code-mods

A side pane that draws the session's agent flow live: the main loop's context window, every subagent it spawns as a tree, and for each one the context handed down (its prompt, or the whole parent context for a fork), what it did with it (steps, tools, context size) and the answer it handed back up. Docked beside the transcript in the fullscreen layout, above the prompt otherwise.

★ 0PanesStatus lineGuards

agent-radar

Covre81/claude-code-mods

One live line above the prompt per running subagent: time, tool count and what it's doing. /radar shows every agent and its messages.

★ 0PanesBandsGuards

atomic-commit-guard

Covre81/claude-code-mods

Blocks git commits that mix top-level directories, break Conventional Commits, or lack Co-Authored-By, explaining the fix in plain PT-BR

★ 0GuardsCommandsAutomation

cache-frio

Covre81/claude-code-mods

Asks before sending a prompt into a big conversation whose prompt cache has gone cold

★ 0Status lineCommandsPrompt

clean-view

Covre81/claude-code-mods

Draws each successful tool call as one line (Edit file +12 −3); errors and running calls keep the engine's full block

★ 0ReskinsCommands

cofre

Covre81/claude-code-mods

Keeps API keys out of the conversation: /chave writes them to .env, reads of secret files show only names, outputs are masked, pasted keys are held

★ 0PanesGuardsCommands

colisao

Covre81/claude-code-mods

Asks before editing a file that another Claude session wrote in the last 30 minutes

★ 0GuardsCommandsAutomation

context-monitor

Covre81/claude-code-mods

painel + uso-vivo + memoria in one mod: context weather and usage box above the prompt, replay and activity panes, plain-language reason before edits, and ai-memory notes before each prompt

★ 0PanesBandsGuards

delegation-dock

Covre81/claude-code-mods

Status line for in-flight delegations (agy/codex/ollama) and any background command, a toast when each one finishes, and a warning when agy returns empty

★ 0Status lineGuardsCommands

git-sidebar

Covre81/claude-code-mods

A lazygit-style side pane: every worktree of the repository and its local branches as rows you click. A worktree row moves the session there with /cd; a branch row shows its last commits and offers switch (clean tree only) or open worktree. Docked floor to ceiling beside the transcript in the fullscreen layout, above the prompt otherwise.

★ 0PanesStatus lineGuards

guarda

Covre81/claude-code-mods

Holds risky Bash commands (rm -rf, git reset --hard, force push, new dependencies) and asks first, explaining the impact in plain PT-BR

★ 0PanesGuards

lixeira

Covre81/claude-code-mods

Sends rm / Remove-Item targets to the Windows Recycle Bin instead of deleting them for good

★ 0Guards

Other mods in Panes, close to this one by stars.