Context Tax — AI skill for Claude Code
Most of what you pay an AI coding agent is not thinking - it is re-reading.
How to install Context Tax
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open fomoles/context-tax and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Context Tax does
Most of what you pay an AI coding agent is not thinking - it is re-reading. Measure your own context tax, cap it, and prove the cap fired. One Python file, no dependencies.
Alternatives in AI
- Codeflow — OpenVibeCoding is the command tower for AI engineering: plan, delegate, track, resume, and prove long-running 206 ★
- Iran MCP — 39 MCP servers (488 tools) that give AI agents the Iranian web: Digikala, Torob, Divar, Snappfood, Jabama, MrB 151 ★
- Ast Outline — ast-outline lets AI coding agents pull exactly the code context they need — a repo skeleton, a file outline, o 46 ★
README
context-tax
[](https://github.com/fomoles/context-tax/actions/workflows/ci.yml) *English · [українська](README.uk.md)*
**Most of what you pay an AI coding agent is not thinking. It is re-reading.**
Across 6,069 real steps on one machine, **63.5% of the bill** was the model reading back context it already had. Output — the actual thinking and answers — was 18.6%.
That share is not a constant. It grows with the session, because the price of a step is a straight line in how much context the step carries. So a long session gets more expensive per step, forever, until it dies. One line in a settings file stops that.
`ctxtax` is a single Python file, no dependencies, that reads your own local Claude Code transcripts and tells you what your context is costing you — then sets the ceiling that caps it, and proves the ceiling actually fired.
Try it in 30 seconds
Nothing is installed, nothing is sent anywhere, nothing is modified.
curl -O https://raw.githubusercontent.com/fomoles/context-tax/main/ctxtax.py
python ctxtax.py measure --days 7
You get eight sections of your own numbers: what you spent, how the price of a step grew with session depth, the fitted price law, where the money went, what compaction costs you in wall-clock time, whether it damaged the work, and what a different ceiling would cost.
Then, if the numbers say what they said here:
python ctxtax.py cap # writes one key, backs up settings.json first
# start a NEW session, work for a while
python ctxtax.py verify # green only when compa
Related Skills
Trialthread
Free, open-source AI agent that matches patients to clinical trials by actually reading the eligibility criter
Agent Workflow Kit
Portable, cross-agent memory & workflow for AI coding agents — Claude Code, Codex, Cursor, Devin Desktop. One
Blockrun LLM
Python SDK for BlockRun — every frontier model, pay-per-call with USDC. OpenAI-compatible. Zero rate limits.
X402 Agent Search Examples
CyberWareX: web search, web page reading and token safety checks for AI agents, paid per call in USDC with x40
AI Context Kit
Lint, measure, and manage context files for AI coding agents. Cursor rules, CLAUDE.md, AGENTS.md, Copilot inst
Distil
Measure what context compression actually costs an LLM agent: where a session's tokens go, and whether a rewri
Related Agents
Lean Coder
Token-efficient coding agent for any project. Use for edits, refactors and bug fixes (multi-file or unfamiliar
State And Local
The federal cap on deducting state and local tax, including its phase-down, and what this deployment can say a
Haiku Coordinator
Proactively decomposes medium and large coding tasks, maps dependencies, and dispatches the smallest useful se