Freshquota — Productivity skill for Claude Code
Optimize Claude Code 5-hour rolling window quota timing — auto-triggers at the best time, even while your Mac sleeps.
How to install Freshquota
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open anniebuildz/freshquota and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Freshquota does
Optimize Claude Code 5-hour rolling window quota timing — auto-triggers at the best time, even while your Mac sleeps.
Alternatives in Productivity
- P7 — PUA P7 骨干模式 — 方案驱动执行 19.5k ★
- Ccs — Delegate task with intelligent profile selection [AUTO ENHANCE] 2.8k ★
- Skill Context Detection — Auto-detect work context (Dev vs Knowledge) — use to tailor workflows based on current task type 2.8k ★
README
Fresh Your Quota
Optimize your Claude Code 5-hour rolling window quota by automatically triggering the window at the best time — even while your Mac is asleep.
How it works
Claude Code subscribers have a usage quota that resets every 5 hours from first use. If you start using Claude at 9 AM, your quota resets at 2 PM. But if you could trigger that window at 7 AM (before you wake up), the reset would happen at noon — right in the middle of your productive hours.
**freshquota** analyzes your usage patterns, finds the optimal trigger time, and wakes your Mac to activate the window automatically.
Requirements
- macOS (uses launchd + pmset for scheduling)
- Node.js >= 18
- Claude Code CLI installed and authenticated
- sudo access (one-time, for pmset wake scheduling)
Install
npm install -g github:anniebuildz/freshquota
Usage
1. Analyze your usage patterns
freshquota analyze
Shows your hourly usage distribution and recommends an anchor time. Confirm to save.
To set manually:
freshquota analyze --anchor 07:30
2. Activate scheduling
freshquota install
Registers the launchd job and schedules the first pmset wake. Requires sudo for pmset.
3. Check status
freshquota status
4. Manual trigger
freshquota trigger
5. Health check
freshquota doctor
Verifies the scheduling chain is intact and repairs if needed.
6. Uninstall
freshquota uninstall
How scheduling works
pmset schedule wakewakes your Mac at the anchor time (works with lid closed)launchddetects the wake and runsfreshquota run- The tool checks if the window is already active — if so, skips
- Otherwise, sends a minimal Claude CLI request to activate the window
- Schedules tomorrow's pmset wake
- Mac goes back to sleep
License
MIT
Related Skills
Lemoncrow
A Complete faster runtime for coding agents. Optimize the journey, not the hop. Make coding agents 25% faster
Claude Session Ping
macOS launchd agent that keeps Claude Code's 5-hour session window open on a fixed daily schedule — reads the
Herdr Agent Quota
Live Claude, Codex, Grok & Agy quota monitoring for Herdr — usage, reset times, task context, and time-aware q
Wisdom Strategic Timing
Assess whether now is the right time for action using Musashi's principles of timing
Cha Review2
Send every pending briefing to the second eye — one at a time, quota-aware, skipping anything already answered
Boson Rtl Fix
Edit the RTL until boson meets timing — probe critical paths, make one reviewable change at a time, re-probe,
Related Agents
Context Engine
Context window management — tracks tool call count, auto-detects when context fills up, triggers state save +
Complete Book Outline Agent
Outline agent for the Complete Book project type. Produces a fixed-length, fully scene-level outline for the e
Calendar Agent
Builds a publishing calendar the creator can actually hit — cadence from the channel archetype, backwards-plan