/schedule-after-usage-reset:schedule-after-usage-resetfrom schedule-after-usage-reset
Defers a task until after the Claude usage limit resets by querying the Anthropic usage API and handing off to the /schedule skill.
Ships in schedule-after-usage-reset. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Automatically find the usage reset time and call /schedule with it. No questions asked.
When the user wants to defer a task until after their Claude usage/token limit
resets, this skill removes the manual step of looking up the reset time. It reads
the reset timestamp from the Anthropic usage API, converts it to the user's local
timezone, adds a small buffer, and hands the task off to the /schedule skill at
that exact time. The user never has to figure out when the limit lifts — they
just say what they want run.
Claude Code-credentials keychain entry (read via /usr/bin/security).https://api.anthropic.com to query the usage endpoint.python3 available on PATH (used to parse the JSON token and API response).schedule skill installed — this skill defers the actual scheduling to it.Fetch from the Anthropic usage API:
token_json=$(/usr/bin/security find-generic-password -s 'Claude Code-credentials' -w 2>/dev/null)
access_token=$(echo "$token_json" | python3 -c "import sys,json; d=json.load(sys.stdin); print(d.get('claudeAiOauth',{}).get('accessToken',''))")
curl -s -H "Authorization: Bearer $access_token" \
-H "anthropic-beta: oauth-2025-04-20" \
-H "User-Agent: claude-code/2.1" \
"https://api.anthropic.com/api/oauth/usage"
Parse five_hour.resets_at (or seven_day.resets_at). Convert UTC → user's local
timezone. Add 5 minutes as buffer.
If not provided as an argument, ask: "What should I run after the reset?"
Invoke the schedule skill, passing the task and the reset time + 5min buffer:
/schedule "<task>" at <HH:MM> <timezone>
The schedule skill handles everything from there — just like calling it directly.
/schedule invocation has been created for the user's task at the reset time
plus the 5-minute buffer, expressed in the user's local timezone.<task> to run at 14:35 America/New_York, just after your usage resets")./schedule skill owns execution from that point — this skill's job ends once
the handoff has been made./schedule using their answer.Defer a build until the limit lifts
User: schedule a full test run for after my usage resets
→ Read five_hour.resets_at from the usage API (e.g. 19:30 UTC)
→ Convert to local time and add 5 min → 14:35 America/New_York
→ /schedule "run the full test suite" at 14:35 America/New_York
Reset time unavailable
User: queue this report for when my tokens refresh
→ Usage API still 429 after one retry
→ Ask: "What time does your usage reset?" → user says 3:00 PM
→ /schedule "<task>" at 15:05 <timezone>
https://api.anthropic.com/api/oauth/usage
(five_hour.resets_at / seven_day.resets_at carry the reset timestamps).schedule skill — this skill is a thin front-end that resolves the reset
time and then defers all scheduling to it.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
usage-reset, task-scheduling, rate-limit, deferred-execution
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin schedule-after-usage-resetOther plugins' skills for the same job