Tokens usage breakdown

Open 💬 4 comments Opened Mar 2, 2026 by 0xdeafbeef

What variant of Codex are you using?

cli

What feature would you like to see?

Add context token composition breakdown to /status (and optional statusline segment): show absolute tokens and percentage by source, including:

  • system prompt total
  • AGENTS.md (root/global/project) total
  • MCP total, with per-tool breakdown
  • tool calls total, with per-kind breakdown

Even a first version with just system prompt, AGENTS.md, and total MCP would already be very useful

Why:

  • Makes context pressure explainable instead of opaque.
  • Helps identify instruction/tool bloat early.
  • Makes it easier to decide when to compact, split sessions, or disable heavy MCP/tool surfaces.

Additional information

_No response_

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗