Claude usage and schedules
Runners use your own Claude plan. Crank lets you set how much of it to use, and when work may start.
The usage threshold
- Your computer reads your Claude usage itself (Claude Code's
/usage): the 5-hour session, the current week, and the week's Fable figure. No usage figure ever leaves your computer. Not to the page, the API, a log, an alert or git. Why: your usage is your business; Crank only needs to act on it, not report it. - You set a threshold, from 50% to 100% (100% by default). The threshold is a setting, not usage, so it can be set on the website.
- At 100%, Crank uses everything your plan allows, then stops.
- At 95%, it leaves you a little for your own use.
- At or over the threshold, no new runner or job starts. A runner that's building finishes its current job; it isn't ended.
- While held, the computer checks again every minute, and starts again as soon as usage is under the threshold. Why every minute: you might buy more usage, reset it, or raise the threshold; Crank shouldn't wait for a fixed time.
- If
/usagegives no figure while held, the hold ends at the reset time the limit message gave (or after 30 minutes if none). - When only the Fable figure is over, runs switch to Sonnet 5.5 instead of waiting.
- The topic says "Waiting: Claude usage limit, resumes 15:45" (or without a time when none is known). Never a percentage.
- When usage can't be read at all, runners carry on, and the limit message (below) is the safety net.
- The desktop app may show the current figures, on your computer only.
Note: /usage in this form isn't documented by Anthropic, so a Claude Code update could change its wording. Crank keeps its reading in one place so it can be fixed quickly.
Source: CB-67.
A job cut off by a usage limit
- It isn't failed, and it doesn't need you. Its unsaved work is saved on its branch, and it goes back Queued at the front of its topic with "Waiting: Claude usage limit, resumes HH:MM".
- All runners are held as above. When usage is under the threshold again, that job is picked first and carries on from its branch.
- Why: hitting a limit isn't a fault in the job; it should simply carry on later.
Source: CB-67.
Schedules
You can choose when work may start. Schedules are about time only; the usage threshold above applies on top, to everything.
- On a job: a one-off start time. On the job's page, "Start": Any time (default), or "Not before" a day and time, with quick picks such as tonight 22:00, tomorrow 09:00, Sat 10:00, Sun 10:00.
- On a topic: a standing window. In project settings, "Runs": Any time (default), Overnight (22:00 to 07:00 by default), Weekends, or custom days and hours.
- If a job and its topic both have a rule, both must be met.
- A window only controls when a job may start. It never ends a running job. A job started in the window's last minute runs to the end; then nothing new starts until the window opens again. In the settings, in these words: "Jobs start only inside this window. A job already running is never ended when the window closes."
- Why: ending a job part way wastes the work and usage already spent.
- The controller decides, not the runner. Runners just build what they're given.
- A scheduled job doesn't make other jobs wait, unless they list it in Waits for.
- How it's shown: "Scheduled for Sun 10:00", plus " if usage < 95%" when your threshold is below 100%. A topic outside its window: "Scheduled: overnight 22:00 to 07:00, next start 22:00". Times are in your computer's time zone, 24-hour.
- A job that's already building can't be given a start time.
- A topic's window also covers its final test before merging (see Merging).
Source: CB-70, CB-71.