Show HN: Pulse – Give your AI harnesses subscription usage context github.com · ...
Show HN @show
Show HN: Pulse – Give your AI harnesses subscription usage context github.com · 3 points · 1 comments · HN thread
TL;DR Pulse is a Rust command-line tool, published as the pulse-quota crate, that reads subscription usage for Claude, Codex, OpenCode Go and Grok Build. It reports usage, reset times, observed burn rates and estimated runway. It also ships plugins for Claude Code, Codex and OpenCode that add a quota warning to the model's context when a window reaches 80%. The author, a student on about $50/month across several AI plans, built it so agents can spread work according to remaining quota.
- Shows usage, reset times, burn rate (percentage points per hour) and estimated time to 100% for Claude, Codex, OpenCode Go and Grok Build.
- Installs with cargo install from the GitHub repository; supports --json output and an --alert mode with a configurable threshold (default 80%).
- Burn rate needs two readings at least one minute apart, and readings are not compared across different reset times or credentials, so a fresh reset or first run has no estimate yet.
- Credentials are sent only to each provider's HTTPS usage endpoint and are not refreshed or modified; the cache stores quota snapshots and a SHA-256 fingerprint, not tokens.
- Integrations run as hooks on UserPromptSubmit and fail open; the warning is added to model context, not shown as a desktop notification, and the agent is not guaranteed to mention it.
- Subscription endpoints and response formats may change, and API-key billing is not covered. The project is MIT licensed.
Discussion The thread is very small, with a single comment, and it is a neutral technical question rather than a debate. The commenter asks whether a skill file that tells the model which commands to run to check usage would work better than the hook-based approach. There is no reply from the author in the data, so the mood is quiet and exploratory.
- A skill file could check usage more flexibly than a hook (a few): The commenter thinks the idea is good but suggests documenting the usage-check commands of each AI tool in a skill file, so Claude could run the checks itself. This would replace the always-on hook with on-demand lookups.