session-usage
Headroom left in the Claude subscription windows — percent consumed and time-to-reset.
Skill by fuzzyfox
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/fuzzyfox-session-usage
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/session-usage
What's inside
- Skill name
session-usage- Description
- Headroom left in the Claude subscription windows — percent consumed and time-to-reset. Use before committing to a large or long-running body of work, to re-measure burn rate partway through, and when the user asks about limits or remaining allowance.
- License
- MIT
- Instructions
- 34 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
## Read
```sh
{ { security find-generic-password -s "Claude Code-credentials" -w 2>/dev/null \
|| cat ~/.claude/.credentials.json; } \
| jq -r '.claudeAiOauth.accessToken' \
| { read -r T; https --ignore-stdin --check-status --timeout=10 --print=b \
GET api.anthropic.com/api/oauth/usage \
"Authorization: Bearer $T" "anthropic-beta: oauth-2025-04-20"; } 2>/dev/null \
| jq -c '[.limits[] | select(.percent != null)
| {w: (.scope.model.display_name // .kind), pct: .percent, resets: .resets_at}]'; } \
|| echo "usage unknown"
```
Run it verbatim: the token stays unprinted, `--ignore-stdin` keeps httpie off the credential pipe, `--check-status` makes an HTTP error exit non-zero.
`w` is `session` (5h), `weekly_all`, or a model name (that model's own weekly). `resets: null` means the window is not open. On `usage unknown`, carry on unmeasured — the endpoint is undocumented and never blocks work.
## Interpret
Percent of a window and time to its reset, and nothing else. No token or dollar figure is available, so reason in **proportions of a window**; a "how many agents can I afford" number would be invented. (Not `budget.spent()`, which counts per-turn output tokens against a user-set target.)
Windows bind independently. The tightest governs.
A single reading is a level, not a rate. For **burn rate**, read either side of a representative chunk and extrapolate the delta across what remains — early in a long run, while acting on it is still cheap.
## Act (optional)
- **Session (5h) tight** — waiting is cheap, the window refills within the working day. Finish the chunk, then offer the wait with its reset time.
- **Weekly tight** — waiting costs days, so scope is the lever: fewer parallel agents, narrower sweep, cheaper model for mechanical stages.
Surface headroom and propose the smaller scope; the user decides whether to stop.From fuzzyfox/skills, MIT.
More from fuzzyfox/skills
- 0.569score
babysit
William Duyck
Babysit a pull request to approval: watch CI and the automated reviewers, action or push back on each comment, push fixes, keep watching until the bots have…
SkillBFreshness: B★ 4Claude Code +9 - 0.566score
agent-voice
William Duyck
Disclose that a message is agent-written, and keep it plain and concise.
SkillBFreshness: B★ 4Claude Code +9 - 0.524score
mailbox
William Duyck
Inter-agent mailbox for sending a handoff to another agent session and picking up replies.
SkillCFreshness: C★ 4Claude Code +9 - 0.524score
quickchart
William Duyck
Generate chart images for markdown documents using the QuickChart API.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
commit
William Duyck
Commit staged changes as a Gitmoji-prefixed Conventional Commit.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
desert-mode
fuzzyfox
Ruthless token-minimization mode plus a "token police" prompt check.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
dispatch
William Duyck
Dispatch work to another agent through the mailbox to a named existing peer, or to a new agent wired to reply to you.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
changelog
William Duyck
Generate a markdown changelog for the changes between a fixed point and HEAD, enriched with issue-tracker context.
SkillCFreshness: C★ 4Claude Code +9 - 0.519score
open-pr
William Duyck
Open, publish, or raise a GitHub pull request.
SkillCFreshness: C★ 4Claude Code +9 - 0.516score
spawn
William Duyck
Spawn a fresh agent session from the current one — hand the conversation off into a new tmux window that continues the work one-way, with no channel back.
SkillCFreshness: C★ 4Claude Code +9 - 0.514score
handback
William Duyck
Return your work to the parent agent that spawned you.
SkillCFreshness: C★ 4Claude Code +9 - 0.494score
review
William Duyck
Review the changes since a fixed point along three independent axes — Standards (does the code follow this repo's documented conventions and avoid known…
SkillCFreshness: C★ 4Claude Code +9
Signals
- Stars
- 4
- Forks
- 0
- Open issues
- 0
- Last commit (this folder)
- Aug 5, 2026 (2 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/fuzzyfox/skills
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from fuzzyfox
Cite this page
session-usage skill. Agent Mart. https://agentmart.dev/skills/fuzzyfox-session-usage (last updated 2026-10-24)