# context-budget

> Claude/Codex skill by [@affaan-m](https://github.com/affaan-m) · 283k stars · Updated 2026-10-15

Routes live context checks to the native Codex or Claude Code meter without scanning files, and performs a bounded static component audit only when explicitly requested. Use for context-budget requests about remaining capacity or installed context overhead.

Tags: ai-agents, anthropic, claude, claude-code, developer-tools, llm, mcp, productivity

## Install

```sh
git clone https://github.com/affaan-m/ECC /tmp/ECC && ln -s /tmp/ECC/skills/context-budget ~/.claude/skills/context-budget
```

## From README

Context Budget Use the provider's native meter for live session . Keep the separate, estimated audit behind an explicit opt-in. Default: Live Context Treat an invocation with no audit request as a live-context request. This includes requests for the current window, remaining capacity, headroom, token , or a context breakdown. For this default path: Do not call or use tools. Do not scan or read files. Do not run shell commands, provider CLIs, debug logging, or MCP discovery. Reply with only the native command and one short explanation. Route by the active harness: | Harness | Native command | Guidance | | --- | --- | --- | | Codex CLI | /status | Shows current token and remaining context capacity. Use /statusline and enable Context stats plus Token counters for a persistent footer meter. | | Codex app | /status | Shows current thread context and rate limits. | | Claude Code | /context | Shows the live context breakdown. Use /context all for expanded items.

## Links

- HTML page: https://omgskills.com/library/affaan-m/ecc/context-budget/
- GitHub: https://github.com/affaan-m/ECC
- Author: [@affaan-m](https://github.com/affaan-m)

## More from this repo

- [api-design](https://omgskills.com/library/affaan-m/ecc/api-design/index.md) — REST API design patterns including resource naming, status codes, pagination, filtering, error responses, versioning,...
   - [@affaan-m](https://github.com/affaan-m) · 283k stars
- [article-writing](https://omgskills.com/library/affaan-m/ecc/article-writing/index.md) — Used to write articles, guides, blog posts, tutorials, newsletter issues, and other long-form content in a distinctive...
   - [@affaan-m](https://github.com/affaan-m) · 283k stars
- [brand-voice](https://omgskills.com/library/affaan-m/ecc/brand-voice/index.md) — Used to build a source-derived writing style profile from real posts, essays, launch notes, docs, or site copy, then...
   - [@affaan-m](https://github.com/affaan-m) · 283k stars
