# Measure what fills the window

> Before changing anything, look at what fills the context window. Claude Code shows it per source with /context, ranks skills by context cost against use with /skill-doctor, and suggests fixes from /usage. Measure again after each change, on the same tasks.

Last checked: 30 Nov 2026, against the vendor's own pages.

Family: Measure and govern.

## Where it fits
- **Building my own agent**: partly. Log input tokens per request.
- **Using a coding agent**: fits. /context, /usage, /skill-doctor in Claude Code.
- **Using an enterprise assistant**: not available. No per-request view.
- **Using a workflow tool**: partly. Execution logs show each step.

## The setting in each harness
- [Claude Code](https://usefewertokens.com/harnesses/claude-code/): /context, /usage, /skill-doctor, /doctor prompt-audit ([source](https://code.claude.com/docs/en/commands), read 30 Nov 2026)

## Read more
- [Where your agent's tokens actually go](https://www.stackone.com/blog/where-agent-tokens-actually-go/)
- [Managing costs in Claude Code](https://code.claude.com/docs/en/costs)
