Claude Code
Add the plugin once. Then /orangu:improve runs the whole chain in 1 prompt.
/plugin marketplace add NissanOhana/orangu/plugin install orangu/orangu:improveMeasure every agent session. Keep the changes that work.
Better results with fewer tokens. orangu measures every agent session, proposes changes that fit how you work, and keeps the ones that work.
Local only. No model in the measurement. No network calls.
1 cell is 1 session1 dot is 1 tool callAn orange dot is a tool error
7 more sessions
Add rate limiting to the checkout API
checkout-api · 5a91c73e
1 PR · 1 commit · 8 files changed · 3 of 9 test runs failed
Improvement: Read each file once in a context. Keep notes on what it holds.
claude "/orangu:improve sg_0123456789ab"npx orangu opens, on the sample sessions.
How it works
Step 1
Run npx orangu. It reads every session on your disk, each agent tree included, and it measures with no model. It shows one session, your sessions and their agents, and the whole machine, with the first findings.
npx orangu$ npx orangu orangu Add rate limiting to the checkout API latest · 5a91c73e · 6 turns · 5.83M tokens · 26m 5s active 1 PR · 1 commit · 8 files changed · 3 of 9 test runs failed finding 4 files re-read within one context (10 redundant reads, 362.8k tokens) Improvement: Read each file once in a context. Keep notes on what it holds. To find a part of it again, use Grep with line ranges. For a large file, read only the lines that you need (offset and limit). next claude "/orangu:improve sg_0123456789ab" plugin /plugin marketplace add NissanOhana/orangu /plugin install orangu (once, inside Claude Code) app http://127.0.0.1:53211/_orangu/…/ 11 sessions on this machine · 0 running now See one session, your sessions and their agents, or the machine. The first run of /orangu:improve asks about your role and your work. Press ctrl-c to stop the app.
Step 2
In Claude Code, run /orangu:improve. With no input, 1 prompt runs the whole chain.
You approve each change by its id. Then orangu checks it on your later sessions, beyond chance.
/orangu:improve> /orangu:improve ● Bash(mktemp -d) ● Bash(orangu harness --cwd '<dir>' --out '<tmp>/harness.json') ● Bash(orangu repo '<dir>' --out '<tmp>/aggregate.json') ● Bash(orangu evidence '<tmp>/aggregate.json' --scope repo --quiet > '<tmp>/evidence.json') ● Agent(harness-pm-analyst) 6 focus areas ● Agent(harness-devex-analyst) 6 focus areas Working
sg_0123456789abContext and cacheSampleThis pattern shows in all 11 sessions.
Improvement: Trim CLAUDE.md to the rules that bind. Move long docs into files that the agent reads only when it needs them.
sg_0123456789abNot nowStep 3
Run /orangu:interview at any time to change your answers. The interview asks about your role and how you work. orangu keeps your answers, and the brain ranks each later proposal with them.
/orangu:interviewWhich role fits your work best?
How do you run agents most of the time?
What must get better first in your next sessions?
Your profile Sample
The brain ranks the rules that save tokens first. It checks agent fan-out, failed agents and the model of each agent first.
What the brain finds
A skill that never runs, a skill that loads too much text, or a procedure that needs a skill.
Agents that fail, go too deep or wait. The change that keeps the work and stops the waste.
Deep thinking on simple work. A model that does not fit the task.
The same commands again and again. A search loop that one script can do.
A cache that breaks on each turn. Tools and long instructions that fill the context.
A rule in CLAUDE.md that the agent breaks. A hook or a deny rule that makes it hold.
Checked, not claimed
Plain code counts, compares and ranks.
orangu marks a change verified only when your later sessions beat the earlier sessions beyond chance.
orangu never changes your harness by itself. A change to the whole machine stays a proposal.
Where you work
Add the plugin once. Then /orangu:improve runs the whole chain in 1 prompt.
/plugin marketplace add NissanOhana/orangu/plugin install orangu/orangu:improveRun npx orangu export. Upload the zip once as a custom skill. Then add your evidence to a chat.
npx orangu exportAdd the orangu plugin. Then run $orangu-improve.
$orangu-improveSupported today: Claude Code, Cowork and Desktop sessions on your machine.