arian-shamaei/anthropometer

11 stars · Last commit 2026-08-01

Btop-style real-time context monitor for Claude Code sessions — live context map, cache economics, subagents, and a compiled PDF report.

README preview

# anthropometer  ·  `amtr`

**A btop-style, real-time diagnostic instrument for Claude Code sessions.**

`amtr` attaches to a Claude Code session's transcript and renders — live — exactly
what is happening inside the model's context window: how the token budget is being
spent, which files and tools are resident, when compactions fire, what subagents
are doing, and the true cost of every turn. Press **`R`** and it compiles a
ground-truth PDF report of the whole session.

![amtr — the context window filling up over a session](docs/assets/context-fill.gif)

<sub>↑ replaying a session turn-by-turn: the context map fills, the composition shifts, the trend climbs.</sub>

> **▶ [The autopsy](docs/autopsy/):** amtr was built in one 153-hour Claude Code conversation —
> so we pointed it at its own transcripts. 1,945 turns, 1.02 billion cache-read tokens,
> 3 compactions, $1,472 at API list price. The instrument dissects its own birth.

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
&nbsp;·&nbsp; [![vibe coded](https://img.shields.io/badge/AI%20usage-vibe%20coded-ff2d78)](#-ai-usage)

View full repository on GitHub →