Profile the agent loop
Read existing Codex, Claude Code, Cursor, and Grok Build traces in place. Compare working, blocked, and excluded time across sessions.
wasted-cycles --days 30
Local-first wall-clock profiler
See how much agent time goes to builds, tests, CI, containers, packages, sub-agents, and repeated work—then fix the largest machine stall first.
$ curl -fsSL https://zozo123.github.io/cycles | sh
Checksum-verified binary · temporary directory · no account · no upload · version pinning supported
Two inputs. One question.
Wasted Cycles measures elapsed time, keeps human wait outside the metric, and gives you a small ranked list instead of a speculative ROI number.
Read existing Codex, Claude Code, Cursor, and Grok Build traces in place. Compare working, blocked, and excluded time across sessions.
wasted-cycles --days 30
Inspect completed workflow runs, queue delay, unsuccessful time, median and p95 latency, and the workflows consuming the most elapsed time.
wasted-cycles github owner/repo --days 30
GitHub Actions demo
This snapshot uses a seven-day public sample captured 31 July 2026, multiplied by 21—the randomly selected factor from 10–22 requested for the demo. Repository, commit, and run titles are omitted.
Scaled demo only; proportions are preserved. Live reports calculate directly from the repository and window you provide.
Method and limits
Builds, tests, CI, containers, packages, sub-agents, and repeated machine work. Human wait is reported separately and excluded.
GitHub workflow latency is created_at → updated_at. Overlapping runs count separately; it is not billed runner-minutes.
Gaps over two hours start a new session. Shorter gaps cap at 30 minutes and remain visible as inferred time in JSON.
Classification uses event fields and executed commands, not prompt text. Pasted logs and quoted commands are not counted as work.
Codex and Claude expose events. Cursor exposes turns; Grok is coarser. JSON includes confidence and segment details.
Trace files are read in place. Prompt text and source code are never stored, rendered, or uploaded.