Install
One command is enough. No account, API key, daemon, or hosted dashboard.
the practical guide
limitcheck gives coding agents a small, stable answer before they start a large task: which windows exist, how much runway is left, and when each one resets.
npx --yes limitcheck
01
Run the bootstrap from any directory. It installs the package globally, detects the agent surfaces on the machine, and adds the same runway-aware instructions everywhere it can.
One command is enough. No account, API key, daemon, or hosted dashboard.
Your harness passes the provider’s usage snapshot to the CLI as JSON.
The agent reads the lowest remaining window and adjusts its scope before it spends.
02
The package carries the instruction layer with it. On install, limitcheck writes compatible guidance for the agent surfaces it finds and leaves existing files alone.
~/.codex/skills/limitcheck/SKILL.md~/.claude/skills/limitcheck/SKILL.md~/.cursor/rules/limitcheck.mdc~/.config/opencode/skills/limitcheck/SKILL.mdAGENTS.md · CLAUDE.mdIf a surface is not installed yet, its global file is simply skipped. The CLI and workspace instructions still work.
03
Agents should check before high-context work, long builds, multi-file changes, or anything that is expensive to resume. The status command is intentionally easy to pipe.
# the agent’s first move on a large task
limitcheck status --json
# pipe a snapshot from an adapter
cat usage.json | limitcheck status --json
limitcheck status --file usage.json --provider codex
The human-readable form is useful while wiring an adapter. Agents should prefer --json because it is stable and unambiguous.
04
limitcheck does not own provider authentication. The harness that already has access to usage passes a compact snapshot at the adapter boundary.
{
"provider": "codex",
"rateLimits": {
"fiveHour": { "usedPercent": 38 },
"weekly": { "usedPercent": 19 }
}
}
{
"provider": "cursor",
"usage": {
"monthly": { "used": 560, "limit": 1000 }
}
}
{
"version": 1,
"provider": "codex",
"windows": [{
"name": "weekly",
"remainingPercent": 81,
"resetAt": "2026-09-28T17:00:00.000Z"
}]
}
Accepted window signals are usedPercent, remainingPercent, or used + limit. Unknown reset times stay unknown; they are never guessed.
05
The installed skill tells agents how to turn status into behavior. It is deliberately conservative: the lowest remaining window is the available runway.
Weekly and monthly windows matter most for planning. A five-hour window can look healthy while the weekly window is nearly exhausted.
06
limitcheckBootstrap the CLI and detected agent instructions.limitcheck installRun the bootstrap explicitly.limitcheck install --workspace-onlyWrite only to the current workspace.limitcheck status --jsonNormalize JSON from stdin or LIMITCHECK_SNAPSHOT.limitcheck status --file usage.json --provider codexRead a named snapshot file.limitcheck sample cursorPrint a safe local example.07
Pass JSON through stdin, use --file, or set LIMITCHECK_SNAPSHOT. limitcheck cannot infer private provider usage that the harness has not exposed.
Update the adapter to include every available window. Weekly and monthly limits are the planning signals that prevent a good-looking short window from hiding a bad runway.
Run npx --yes limitcheck again. It is safe to rerun and does not overwrite existing guidance. You can always use limitcheck status --json explicitly.