Every time you send a message, Claude Code sends the whole conversation to the model again. The cache lets it skip what came before, so replies count less against your usage limits, but the cache expires, and the first message after that processes the whole conversation from scratch (Cache countdown in the status line). What uses the most differs from one setup to the next, so find it in your own sessions:
Start from your own logs: a prompt reads your last 7 days of sessions, finds the 3 habits burning the most usage and writes rules to plug them (3 habits burning your Claude Code usage).
Claude Code’s built-in Explore subagent now runs on your main model, so define your own Explore with model: haiku (Setup review by Anthropic’s model guide).
Keep hitting the usage limit: 7 days of session logs scanned, the 3 costliest habits and their share, rules to plug them.
Change nothing until I say yes. Write a small script to scan my Claude Code session logs in ~/.claude/projects from the last 7 days, using the token counts recorded in them; don't read the raw files into context. Find the 3 habits that burned the most usage, like reading whole files, dumping long test or build output, spawning subagents, or keeping one session going for hours. For each, work out roughly what share of my usage it took and write one rule that would stop it. Whe…
Where your setup wastes tokens each turn: measured, each instruction line marked Keep, Move or Cut, applied on your OK.
Opus 5.5 is already priced low per token. Find what in this Claude Code setup still wastes tokens on every turn. Goal: the lowest cost per finished task. It must stay as thorough as it is now and keep taking on big tasks. Smaller requests don't count as a win if the task then takes more turns.
1. Measure first, change nothing
List everything that loads when a session starts:
The cache expires without warning: the status line shows minutes left, then what the next message re-caches.
Read this doc, plus the status line field reference it links to, and add a cache segment to my Claude Code status line.
1. If I already have a status line, don't replace it. Save stdin first so the original command and the cache segment read the same input, leave the original output as is, and put the cache segment on its own line after it. If I don't have one, create one.2. Get the data from prompt_cache in the input: warm, ttl, expires_at, hit_ratio, misses, last_miss_cause…
Using up your Claude Code limit: a STATE.md per task, a summary to switch chats at each approved milestone or 200 thousand tokens.
from now on, in this project:
- keep a STATE.md of at most 40 lines per task, with what has already been approved, what's left and the decisions. update it at every milestone.- when a milestone is approved or the context passes 200 thousand tokens, tell me it's time to switch chats and hand me the summary to paste into the new session.- every image analysis runs in a subagent, which give…
Explore burning big-model quota on every file read: wrong-model subagents and ill-fitting effort found, a config fix each.
Then review my Claude Code setup against it: my user and project settings, the subagents in ~/.claude/agents and .claude/agents, and CLAUDE.md. Find three kinds of problems:
1. Subagents on the wrong model. Subagents that only search files, read logs or run tests but set no model, so they run on my main model. If I haven't defined my own subagent named Explore with model: haiku, count that too. The other way around, subagents that edit code or make judgment calls should stay o…
Maxing out Astra when Sol would do: model, effort, subagent and AGENTS.md problems found, each with a config fix to paste.
Read these two pages. If you can't get the actual text, stop and tell me:
https://developers.openai.com/codex/models
https://learn.chatgpt.com/guides/prompting-gpt-6-2-astra
Then review my Codex setup against them: ~/.codex/config.toml, ~/.codex/AGENTS.md, and the AGENTS.md files and skills in…
Is your setup as cheap as OpenAI’s harness: pass or fail on each of its 5 rules, with the file and the one thing to change.
read through this project's agent config. that includes mcp settings, skills, plugins, hooks and rules files. judge it against these five, one at a time. keep the results separate:
1. how many tools and skills load at the start, and which of those have never been called in this project2. is there a cap on tool output. which tool has returned the biggest payload, and roughly how many tokens3. does anything rewrite or inject into context that has alr…
Image options drawn one at a time burn your limits: a global rule puts them all in one numbered grid, then builds your pick.
Add an image rule to my global Codex AGENTS.md (in ~/.codex; if an AGENTS.override.md exists, add it to that file):
- If it's unclear what I want (what it is, who it's for, what style), ask me one or two questions first. If it's clear, just generate the image.- When I ask for multiple options, variants or style comparisons, put them all in one image: a grid sized to the count (9 options → 3×3), each cell numbered, and generate only that one image.- After showing it, tell…
Design + Models and cost·
Copybook in your agent can look up tips like this mid task.Send it to your computer for later.Add to your agentEmail me
Copybook Pro: every Pro skill, a line-by-line review of your CLAUDE.md or AGENTS.md, and tip lookups from your agent with no daily limit. Early bird: $79 for the 1-year pass. The price rises as Pro grows.See Pro