Find the step that broke
Open any session to see each prompt, command and file edit in order. When a command fails, the lines that say why are marked red.
Record, measure, compare and benchmark every agent run.
Paste it into your coding agent.
Needs Node.js 22.16 or newer. On Windows: npx -p coding.sh codingsh init
On Windows, run it in Git Bash. It does not work in PowerShell or cmd.
Free and open source. What's new in coding.sh v0.1.7
Works with
Your agents on one side. Sessions, cost and evals on the other.
Run the command above. It finds the agents you use and asks before it changes their settings.
Use your agents the way you do now. Each session is saved on your machine as it runs.
Run coding.sh ui to see every session and where it broke.
Read a session, add up what it cost, test a change, and track the AI calls your own app makes.
Open any session to see each prompt, command and file edit in order. When a command fails, the lines that say why are marked red.
$ coding.sh usage --since 7d AGENT SESSIONS TOKENS COST claude-code 29 9.8M ~$6.92 codex 14 4.0M ~$2.08 opencode 5 1.1M ~$0.7937Track cost per session
what coding.sh reports
The same 20 tasks, 5 runs each, before and after.
Test an AGENTS.md or skill changeimport { observe } from "@codingdotsh/sdk"; const openai = observe(new OpenAI());
Each request shows up with its model, tokens, cost and time.
Read the SDK guideNo session data. The only default request is a daily update check (off with CODING_SH_NO_UPDATE_CHECK=1). Sessions are saved in ~/.coding.sh and nothing else is sent unless you set up an export yourself.
No. The hook adds one line to a file and exits. The rest of the work happens after the session.
Only after you say yes. It backs up each file first, and coding.sh uninstall takes its hooks out again.
Nothing. Your model spend stays what your agents already cost.
Paste it into your coding agent.
Needs Node.js 22.16 or newer. On Windows: npx -p coding.sh codingsh init
On Windows, run it in Git Bash. It does not work in PowerShell or cmd.