316 stars and 21 forks since it went public on November 7, 2026, with commits up to November 29: coding.sh is finding its audience among people who work with coding agents every day. The pitch is easy to explain: record on your own machine every prompt, model call, tool call, file change and cost from your Claude Code, Codex and similar sessions, and turn the ones that went wrong into evals.
What it is and how it works
coding.sh is a Node CLI (22.16 or newer, no runtime dependencies), MIT-licensed. Its init command finds the agents you have installed, points their hooks at coding.sh, registers an MCP server where the agent supports it and backs up every config file it edits. From then on each new session is written to a local spool and then indexed in SQLite, with latency, tokens and estimated cost.
On top of that index it offers four layers:
- Read: a local web viewer, full-text search and commands such as
sessions,usageordiff-calls, which shows what changed between two model calls and why the cache missed. - Measure: turns, tools, tokens and outcome per session. It flags sessions that edited code and never ran a check.
- Evaluate:
eval newturns a failed session into a replayable eval, andexp compareA/B tests prompts, harness files or models with paired statistics. - Production:
coding.sh servecombines ingest, viewer and API on one port, backed by SQLite, Postgres or ClickHouse, with SDKs for TypeScript and Python.
It also accepts OpenTelemetry from any agent framework through coding.sh collector, so it is not limited to terminal agents.
Using it
# Print the plan without writing anything
npx coding.sh init --dry-run --diff
# Set up hooks and MCP, importing past sessions
npx coding.sh
# Query
coding.sh usage --by model
coding.sh search "rate limit"
coding.sh uiThe README also offers curl -fsSL https://coding.sh/install | sh. I'd rather use npx or npm install -g coding.sh and always start with --dry-run --diff: the tool is going to edit the hook config of every agent you have, and you want to see exactly what changes. coding.sh uninstall removes the hooks and MCP entries.
What I like and what I don't
I like that the design starts from privacy. With no remote sinks configured, no session data leaves the machine; the only default network request is a daily update check, which CODING_SH_NO_UPDATE_CHECK=1 turns off. Secrets are redacted at ingest, and remote sinks only get metadata unless you opt in to full content. I also like that the README is upfront about what has and hasn't been tested: Claude Code, Codex CLI and Antigravity CLI are verified on real sessions; Cursor CLI, Amp and Devin CLI have never been run against a live install.
I'm less keen on a detail the README itself documents: on Linux and macOS the POSIX hook writes the agent payload to ~/.coding.sh/spool unredacted, to stay fast. The file is mode 600 and ingest redacts it later, but for a while prompts and tool output sit on disk in plain text. If your sessions touch credentials, keep that in mind. It is also a pre-1.0 (0.1.8), single-author project: expect rough edges.
coding.sh versus Claude Code's native telemetry
Until now, the way to see what your agents did was their own telemetry. Claude Code, for example, exports OpenTelemetry metrics and events once you set CLAUDE_CODE_ENABLE_TELEMETRY=1, covering cost, tokens, lines changed and edit decisions, but it needs a collector and a backend and leaves prompt content out by default.
| coding.sh | Claude Code OTel telemetry | |
|---|---|---|
| Approach | Full session record plus evals | Metrics and events for monitoring |
| Agents | Claude Code, Codex, OpenCode, Copilot CLI and more | Claude Code only |
| Deployment | Local (SQLite) or self-hosted server | Needs an OTLP collector and backend |
| Content | Prompts and diffs, secrets redacted | Redacted by default, opt-in |
| License and maturity | MIT, 0.1.8 | Part of Claude Code, documented |
When to use which. If you run the platform and want team-wide cost and usage dashboards in Grafana or your usual backend, native OTLP telemetry is the stable option and can be managed centrally. If you are the one working across several agents and want to understand why a session was expensive or went wrong, and turn that failure into a test for your next prompt or model change, coding.sh gives you something telemetry doesn't: the session itself, searchable and replayable.
Sources
- jackulau/coding.sh (GitHub)
- Monitoring usage with OpenTelemetry (Claude Code docs)