anaksor-ocr
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Moves routine coding in Claude Code or Codex to a low-cost model that must prove its work with a test, so your main model's usage lasts longer.
Cheap Agent is an open-source project on GitHub in the Developer category, listed by Mindket. It is free. This is version 1, last updated on . Install it from GitHub as its README says. Get Mindket’s setup notes on your Mindket account, as a zip.
npx cheap-agent
Cheap Agent splits coding work between two models in Claude Code or Codex. Your main model plans and decides. A much cheaper model does the typing in a private copy of your project and has to show a passing test before you see any of it. The aim is to make your Claude or ChatGPT plan last longer.
It suits developers who run into plan limits because a top model spends its usage on routine typing.
| Industry | Who uses it | How they use it | Example |
|---|---|---|---|
| Software development | Developers on a Claude or ChatGPT plan | Let a cheap model do the typing while the main model plans | One feature built with 57k Opus tokens instead of 154k |
| Education | Students who cannot afford a $100 plan | Stretch a plan they already pay for | The project aims at $50 to 70 of value from a $20 plan |
| Small teams | Teams watching their AI spend | Pay a few dollars of API usage for the typing | A few dollars lasting hundreds of tasks |
Anyone who uses neither Claude Code nor Codex can skip it.
It adds itself to Claude Code or Codex and runs on macOS, Linux and Windows.
| Use case | Who | What they get back |
|---|---|---|
| Build a feature | Developers | A tested change from a cheap model that worked in a separate copy of the project |
| Save plan usage | People who hit usage limits | Fewer Opus tokens spent on the same feature |
| Choose the models | Cost-conscious users | Balanced, cheapest or strongest presets, or your own provider and model |
You need Claude Code or Codex, Node.js and an API key before you start.
npx cheap-agent
Then, once in each project, inside Claude Code:
/cheapag:allow
For Codex, log in with the same command. If you do not use Claude, decline when it offers to install itself into Claude Code. Then add the plugin:
codex plugin marketplace add muaaz9329/cheap-ag codex plugin add cheapag@cheap-agent
Launch codex inside your project. When it asks about the 3 cheapag hooks, trust them. Then, once in each project:
$cheapag:allow
If you prefer, paste a setup prompt from the README into Claude Code. It asks for your provider and models, then hands you one command to run.
Ask Claude or Codex for changes as you always do. The main model plans, the cheap one writes the code in a separate copy of the project, and a test has to pass before the result reaches you.
| Tool | What it does |
|---|---|
| npx cheap-agent | Logs you in, checks your key and adds Cheap Agent to Claude Code |
| /cheapag:allow | Run once in each project before you use it in Claude Code |
| $cheapag:allow | The same one-time step in Codex |
| claude mcp list | Shows cheapag when the Claude Code install worked |
You ask Claude Code to add a feature as usual. In the README's side-by-side test of one feature, Claude Code alone spent 154k Opus tokens over 5 turns. With Cheap Agent the same job took 57k Opus tokens over 2 turns, a 63% cut, plus about half a cent on the cheap model. Both versions passed their tests.
If you pay for Claude or ChatGPT, your plan has a usage limit, and a big model spends part of it on routine typing. Cheap Agent hands that typing to a far cheaper model. Install it for Claude Code first, then ask for one small change.
Underneath, your main model plans and decides while a cheap model, run through the OpenCode engine, implements in its own copy of the project. It is listed as tested on SWE-bench Verified. The author says it will not make Opus ten times cheaper. The cheap model also cannot read dependency folders such as node_modules in its copy, though your tests still run normally.
Moves routine coding in Claude Code or Codex to a low-cost model that must prove its work with a test, so your main model's usage lasts longer.
Made by muaaz9329 on GitHub. These notes are Mindket's, written from its README; the project's own files and license are in its repository.
What it is: Cheap Agent splits coding work between two models in Claude Code or Codex. Your main model plans and decides. A much cheaper model does the typing in a private copy of your project and has to show a passing test before you see any of it. The aim is to make your Claude or ChatGPT plan last longer.
Who it suits: It suits developers who run into plan limits because a top model spends its usage on routine typing.
Industry | Who uses it | How they use it | Example
Software development | Developers on a Claude or ChatGPT plan | Let a cheap model do the typing while the main model plans | One feature built with 57k Opus tokens instead of 154k
Education | Students who cannot afford a $100 plan | Stretch a plan they already pay for | The project aims at $50 to 70 of value from a $20 plan
Small teams | Teams watching their AI spend | Pay a few dollars of API usage for the typing | A few dollars lasting hundreds of tasks
Anyone who uses neither Claude Code nor Codex can skip it.
Where to use it: It adds itself to Claude Code or Codex and runs on macOS, Linux and Windows.
Use case | Who | What they get back
Build a feature | Developers | A tested change from a cheap model that worked in a separate copy of the project
Save plan usage | People who hit usage limits | Fewer Opus tokens spent on the same feature
Choose the models | Cost-conscious users | Balanced, cheapest or strongest presets, or your own provider and model
How to set it up: You need Claude Code or Codex, Node.js and an API key before you start.
npx cheap-agent
Then, once in each project, inside Claude Code:
/cheapag:allow
For Codex, log in with the same command. If you do not use Claude, decline when it offers to install itself into Claude Code. Then add the plugin:
codex plugin marketplace add muaaz9329/cheap-ag
codex plugin add cheapag@cheap-agent
Launch codex inside your project. When it asks about the 3 cheapag hooks, trust them. Then, once in each project:
$cheapag:allow
If you prefer, paste a setup prompt from the README into Claude Code. It asks for your provider and models, then hands you one command to run.
How to use it: Ask Claude or Codex for changes as you always do. The main model plans, the cheap one writes the code in a separate copy of the project, and a test has to pass before the result reaches you.
Tool | What it does
npx cheap-agent | Logs you in, checks your key and adds Cheap Agent to Claude Code
/cheapag:allow | Run once in each project before you use it in Claude Code
$cheapag:allow | The same one-time step in Codex
claude mcp list | Shows cheapag when the Claude Code install worked
Example: You ask Claude Code to add a feature as usual. In the README's side-by-side test of one feature, Claude Code alone spent 154k Opus tokens over 5 turns. With Cheap Agent the same job took 57k Opus tokens over 2 turns, a 63% cut, plus about half a cent on the cheap model. Both versions passed their tests.
For newcomers and experts: If you pay for Claude or ChatGPT, your plan has a usage limit, and a big model spends part of it on routine typing. Cheap Agent hands that typing to a far cheaper model. Install it for Claude Code first, then ask for one small change.
Underneath, your main model plans and decides while a cheap model, run through the OpenCode engine, implements in its own copy of the project. It is listed as tested on SWE-bench Verified. The author says it will not make Opus ten times cheaper. The cheap model also cannot read dependency folders such as node_modules in its copy, though your tests still run normally.
Your main model plans and decides
A cheap model gets the task in its own project copy
It writes the code and proves it with a test
The result reaches you once the test passes
Good to know:
Title: Opus tokens in the README's two tests
Test 1, Claude Code alone: 154 thousand tokens
Test 1, with Cheap Agent: 57 thousand tokens
Test 2, Claude Code alone: 233 thousand tokens
Test 2, with Cheap Agent: 132 thousand tokens
git clone https://github.com/muaaz9329/cheap-ag.git
Then follow the setup in its README. Nothing in this kit runs by itself.
README.md 6 KB
Listed GitHub projects in the same category that share the most topics with this one.
| Product | Stars | Activity | Language | License | Last change |
|---|---|---|---|---|---|
| Cheap Agent This page | 310 | Active | TypeScript | MIT | |
| Context ModeShares claude-code-hooks · claude-code-skill · claude | 33,650 | — | TypeScript | — | — |
| Claude-Mem by thedotmackShares claude-code-plugin · anthropic · claude | 116,866 | Active | TypeScript | Apache-2.0 | |
| PonytailShares claude-code-plugin · developer-tools · claude | 186,952 | Active | JavaScript | MIT | |
| ECC by affaan-mShares anthropic · developer-tools · claude | 299,210 | Active | JavaScript | MIT | |
| Recursive Decomposition SkillShares claude-code-skill · claude-code-plugin · ai-agents | 54 | — | — | MIT | — |
Sokheng · Kit
Reads Khmer and English text from documents, receipts and photos of signs, using a detector for text lines and a recogniser for each line. Suits developers who…
Qwen · Kit
Qwen2.5-7B-Instruct as GGUF files in eight quantization sizes, to chat with locally through llama.cpp. For people who want a capable 7.6B model on their own co…
ACE-Step · Kit
Generates music from text with a 4B diffusion decoder, 50 steps and guidance control, aiming for higher audio quality than the base. For creators with a GPU of…
affaan-m · Skill
Affaan Mustafa’s plugin of agents, skills, commands and hooks that gives Claude Code, Codex and other coding agents a routine of planning, test-first work, fre…
dietrichgebert · Skill
Guides AI coding agents to write minimal code by prioritizing existing repository components and standard libraries. It adds auditing, code review, and trackin…
thedotmack · Kit
Alex Newman’s memory plugin for Claude Code and other coding agents. It records what the agent does in each session, turns that into short searchable notes and…