Cut the tokens Claude Code loads at session start. CLI that sets up a small CLAUDE.md with on-demand docs, measures startup tokens, and keeps them small.
1 file for Codex and OpenCode: claude-token-optimizer AGENTS.md — 1,421 tokens loaded in every session.
AGENTS.md A 1,421 tok These files are nadimtuhin/claude-token-optimizer's own configuration — they tell Codex and OpenCode how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.