bama
BAMA: 모든 Mac 앱을 만들 수 있습니다
클로드 코드와 코덱스용 준비된 파일로 토큰 사용량을 줄여줍니다
Ready-made files for Claude Code and Codex that cut the tokens your agent wastes: lean memory templates, read limits, two hooks, two cheap subagents, a codebase-map skill and a Codex config. Set up in
스킬GitHub @brianweerasinghe온라인운영자 미확인
써 보셨어요? 한 번만 눌러 주세요. 로그인은 필요 없어요.
저장소 정보는 아직 수집하지 않았습니다.
아직 감지된 업데이트가 없습니다. GitHub 릴리스가 나오면 여기에 보입니다.
Free, open-source settings, hooks, subagents and templates that cut wasted tokens in Claude Code and Codex. MIT licensed.
README 전체를 불러오는 중입니다.
README 전문 보기 ↗Hit your usage limit less often. Ready-made settings, templates, hooks and subagents that stop Claude Code and Codex burning tokens on stale context, giant file reads, noisy test output and an expensive model doing simple work. About 10 minutes to set up.
Free and open source under the MIT License. Made by AI Eating The World.
| Leak | The fix in this kit |
|---|---|
| A CLAUDE.md or AGENTS.md hundreds of lines long, re-sent with every message | Lean templates under 100 lines; long instructions move into skills that load only when needed |
The agent opens lockfiles, build output, node_modules and 5,000-line files in full | settings.json that blocks those reads, plus a hook that turns huge-file reads into a search or a line range |
| One test run dumps thousands of passing-test lines into context | A hook that trims test output to failures, and a cheap Haiku test-runner subagent |
| Every session re-explores the whole repo | A codebase-map prompt and skill, so the agent reads one short map first |
| The top model does everything, including renaming a variable | A Codex config that defaults to gpt-6-luna with a deep profile, and model guidance for Claude Code |
git clone https://github.com/brianweerasinghe/token-saver-kit.git
cd token-saver-kit
Then follow START-HERE.md. It walks through the setup in order of impact, with a checklist. GUIDE.md explains why each step works, with sources, and when to skip it.
No Git? Download the ZIP.
| Path | What it is |
|---|---|
START-HERE.md | The 10-minute setup, in order of impact, with a checklist |
GUIDE.md | Why each step works, with sources, and when not to use it |
claude-code/CLAUDE.md | Lean memory template (fill in the blanks) |
claude-code/settings.json | Blocks reads of dependencies, build output, lockfiles and .env files, and wires up the hooks |
claude-code/hooks/block-big-reads.sh | Stops whole-file reads of files over 1,500 lines |
claude-code/hooks/filter-test-output.sh | Trims test-runner output to failures only |
claude-code/agents/scout.md | Read-only explorer on Haiku that returns a short summary |
claude-code/agents/test-runner.md | Runs your tests on Haiku and returns only the failures |
claude-code/skills/codebase-map/ | Makes Claude read your map before it searches |
claude-code/glm-settings.example.json | Optional: route Claude Code to the cheaper GLM Coding Plan |
codex/AGENTS.md | Lean memory template for Codex |
codex/config.toml | Defaults to gpt-6-luna, OpenAI's most efficient model |
codex/deep.config.toml | A deep profile for the hard tasks |
prompts/ | Make a codebase map, plan-then-build, and fresh-session handoff |
tests/hooks.test.sh | Checks for the two hooks |
bash and jq. On Windows, run them in WSL or Git Bash, or skip them. Everything else is plain text and works everywhere.Every file is plain text you can read before you use it. The hooks only block a read or shorten a command's output; they make no network calls and send nothing anywhere. Nothing is installed globally unless you copy the Codex config to ~/.codex.
Savings depend on your projects and habits, so we don't promise a number. Measure before and after with /usage and /context (Claude Code) or /status (Codex).
Bug reports, fixes and better settings are welcome. Read CONTRIBUTING.md first. Security issues: see SECURITY.md.
The kit points to free open-source tools such as ccusage, claude-code-router, Graphify, Context7 and markitdown, linked rather than bundled. See CREDITS.md. filter-test-output.sh is adapted from the example in Anthropic's "Manage costs effectively" docs.
More free guides on Claude Code and Codex: aieatingtheworld.com/guides.