Codex cost cleanup
Make Codex sessions cheaper without slowing the work down.
Codex spend climbs when command output is uncapped, background checks are repeated, and long-running loops keep rereading noisy files. TinyOps audits one workflow and gives you the smallest fixes that reduce the waste.
rtk usage
head -c caps
Loop-state cleanup
What changes
The audit targets behavior around Codex, not the model.
Good Codex workflows keep context focused. The fastest savings usually come from command wrappers, durable summaries, smaller evidence reads, and less status polling.
- Default unknown-output commands to
rtk ... 2>&1 | head -c 4000. - Replace repeated raw logs with small current-state reports.
- Move stable instructions into AGENTS.md or global rules.
- Cap browser, email, API, and git outputs before they hit the transcript.
- Record the next command after each savepoint so resumes do not rediscover context.
Deliverable
A short report with exact edits and command examples.
1. Send the workflow
Share the repo instructions, noisy commands, or a short transcript excerpt.
2. Get the audit
Receive ranked fixes for command output, reports, memory, and repeated checks.
3. Reduce the repeat cost
Apply the notes, or ask TinyOps to install the wrappers and instruction updates.
Reduce recurring waste