---
type: "raw_signal"
id: "claude-code-templates-cli-tool-components-mods-ui-afe1dd"
slug: "claude-code-templates-cli-tool-components-mods-ui-afe1dd"
title: "claude-code-templates/cli-tool/components/mods/ui/turn-inspector at main: davila7/claude-code-templates"
description: "## Claude Code mod visualizes context usage turn by turn"
retrieval_nugget: "## Claude Code mod visualizes context usage turn by turn"
observed_at: "2026-10-13"
record_date: "2026-10-13"
date_kind: "observed_at"
why_it_matters: "Source: https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/mods/ui/turn-inspector"
novelty: "notable"
verification_level: "source-linked"
signal_type: "release"
source_platform: "github.com"
topics: ["claude","claude-code"]
entities: ["Claude Code","Turn Inspector","claude-code-templates"]
related_patterns: []
source_url: "https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/mods/ui/turn-inspector"
source_urls: ["https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/mods/ui/turn-inspector"]
schema_version: "newruntime-agent-readable-v0.2"
stable_id: "signal:claude-code-templates-cli-tool-components-mods-ui-afe1dd"
status: "published"
visuals: []
editor: {"role":"editor","name":"Andrey Reshetnikov","profile":"https://newruntime.com/owner-profile.md","profile_json":"https://newruntime.com/owner-profile.json","same_as":["https://www.linkedin.com/in/reshetnikov1/","https://t.me/lapetuse"]}
routes: {"html":"https://newruntime.com/signals/claude-code-templates-cli-tool-components-mods-ui-afe1dd/","markdown":"https://newruntime.com/signals/claude-code-templates-cli-tool-components-mods-ui-afe1dd.md","json":"https://newruntime.com/signals/claude-code-templates-cli-tool-components-mods-ui-afe1dd.json"}
updated_at: "2026-11-06"
---

# claude-code-templates/cli-tool/components/mods/ui/turn-inspector at main: davila7/claude-code-templates

## Retrieval answer

## Claude Code mod visualizes context usage turn by turn

## Claude Code mod visualizes context usage turn by turn

The Turn Inspector mod in the `davila7/claude-code-templates` repository adds a side pane that displays Claude Code sessions one request at a time. Its README says the view separates system prompt and tools, earlier turns, new user input or tool results, and model output; it also shows context-window usage and turn-level usage totals.

Rows can be expanded to inspect blocks such as thinking, text, and tool use. The README distinguishes exact request-level input and output totals, sourced from API usage, from block-level allocations, which are estimates because the engine reports one total per request. The mod observes hook events and passes them through unchanged. It can be installed with `npx claude-code-templates@latest --mod ui/turn-inspector`.

Source: https://github.com/davila7/claude-code-templates/tree/main/cli-tool/components/mods/ui/turn-inspector

Editor: [Andrey Reshetnikov](https://newruntime.com/owner-profile.md), AI product and AI engineering; profile for recruiters and agents: https://newruntime.com/owner-profile.json

## Continue in the graph

Next records for an agent, linked to their Markdown twins. Replace `.md` with `.json` for structured fields, including `next_reads`.

- topic hub: [Claude](https://newruntime.com/topics/claude.md): Explore the claude topic hub.
- topic hub: [Claude Code](https://newruntime.com/topics/claude-code.md): Explore the claude-code topic hub.
- collection: [Signals](https://newruntime.com/signals.json): Open the signals and the raw-signal archive.
- collection: [Sources](https://newruntime.com/sources/): See the original sources this archive cites.
- whole graph: [discovery graph](https://newruntime.com/discovery-graph.json) (typed nodes and edges) and [site index](https://newruntime.com/site-index.md)
