Operational tools for running AI coding agents at scale. Keep an eye on your Claude subscription usage limits, session/context load, and token efficiency while you work — without hand-rolling the math or babysitting a dashboard.
Built for Claude Code +
cctop + ctx-wire.
The three live badges above are anonymized aggregates — total tokens
ctx-wirehas trimmed out of my agent transcripts, commands filtered, and the overall output-reduction ratio. No session, project, or account data. Refresh them withbash scripts/update-metrics.sh(see The toolkit that builds this).
# Step 1: Add the marketplace
/plugin marketplace add Lutherwaves/builder
# Step 2: Install the plugin
/plugin install builder@builder/builder:watch-limits— Install the burn-rate projector and schedule a recurring usage-limit watcher (weekly + 5h burn, compaction pick, ctx-wire savings). Run it once and the monitor reports every ~30 min./builder:intake— Grab & reconcile: pull today's captured tasks from a tracker (Todoist first), drop anything already in motion (live session, open PR, existing issue), and groom the raw leftovers into issues. Annotates by default; creates issues only when you mark a task for it. Pluggable source adapter — bring your own MCP for other trackers.
- Weekly burn rate — how much of your weekly limit you've used, and whether you're on pace to blow it before the (fixed) reset. Uses an activity-aware projection (discounts your sleep window + weekend) so a hot evening or weekday start doesn't trigger a false alarm.
- Session/context load — busy vs idle sessions and total subagents.
- Compaction pick — the highest-context idle session, safe to compact now.
- ctx-wire savings — cumulative tokens saved + a per-interval delta.
cctopon PATH, with its status-line tap writing~/.claude/cctop/usage.json(see cctop's usage-limits docs). The watcher has no weekly data without it.ctx-wire(optional) — enables the savings section.
Just want the projector? Copy skills/watch-limits/burn-proj.py anywhere and:
python3 burn-proj.py <used_pct> <resets_at_epoch> [now_epoch]
# elapsed=15.0% naive=127% profile_aware=102% reset_in=5.95d- naive — straight-line
used / elapsed_fraction; the worst case, self-heals as time passes. - profile_aware — discounts the hours you predictably don't burn: a sleep
window (02:00–09:00 ×0.05) and the weekend (Sat ×0.5, Sun ×0.1), for a forecast
that bends down as your quiet hours approach. Tune the sleep window and
multipliers in
mult()to your own cadence (default active window 09:00–02:00).
builder is small on purpose — but it's built inside a heavily-extended Claude
Code setup that lets one person ship almost anything, fast. If you're pulling
this repo to hack on it (or just curious how it's made), here's the stack. None
of it is required to use the plugin — the install above is fully
self-contained — but it's what makes contributing frictionless.
- Claude Code with auto-edit on. Running in
acceptEditspermission mode means the agent edits, runs the validator, and iterates without a prompt on every step — the flow that produced this repo end-to-end. Turn it on with/permissions→ Auto-accept edits (or⇧⇥). - superpowers (obra's skill
marketplace) — process skills for real engineering discipline. The
watch-limitsskill in this repo was written test-first withsuperpowers:writing-skills: baseline an agent without the skill, watch it fail, then write the skill to close exactly those failures. - gstack — Garry Tan's opinionated
CEO / eng-manager / release-manager / QA skill set (
/ship,/review,/qa) for planning, review, and release flows. ctx-wire— filters noisy command output out of the agent's context. It's why the badges up top exist: those are the tokens it kept out of my transcripts. Lean context = cheaper, faster, longer sessions.cctop— live per-session monitor.builder'swatch-limitswatcher reads it to pick which idle session to compact.
Refresh the metrics badges (anonymized aggregates only) any time with:
bash scripts/update-metrics.sh
git commit -am "chore: refresh metrics"PRs welcome. main is protected — every change lands via PR, the validate
check must pass, and CI cuts releases automatically from
Conventional Commit titles. Run the same
gate locally before you push:
bash scripts/validate.shSee CONTRIBUTING.md for the full flow, and SECURITY.md for how to report vulnerabilities privately.
MIT