skills/aiquota/SKILL.md
Report remaining Claude Code and Codex quota (5h and 7d). Use when the user asks how much quota is left.
npx skillsauth add hayeah/dotfiles aiquotaInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CLI that reports remaining quota for Claude Code (subscription) and Codex (ChatGPT plan).
https://api.anthropic.com/api/oauth/usage with the local Claude OAuth token.
Claude Code-credentials keychain entry first.~/.claude/.credentials.json.payload.rate_limits from the newest entry of the latest rollout JSONL under ~/.codex/sessions/.cd {baseDir} && uv tool install -e .
No secrets needed — Claude uses the local OAuth credentials, Codex reads local rollout files.
aiquota # JSON, both providers
aiquota --pretty # one-line summary per provider
aiquota --only codex
aiquota --only claude
Output (JSON) shape:
{
"claude": { ... /api/oauth/usage body ... },
"codex": {
"plan_type": "plus",
"primary": { "used_percent": 12.0, "window_minutes": 300, "resets_at": 1776..., "resets_at_iso": "..." },
"secondary": { "used_percent": 38.0, "window_minutes": 10080, "resets_at": 1776..., "resets_at_iso": "..." },
"_source": "/Users/.../rollout-....jsonl"
}
}
Errors surface per-provider as {"error": "..."} instead of exiting non-zero, so one broken side doesn't hide the other.
/api/oauth/usage is the authoritative source.tools
Web UI development — Vite+ toolchain setup and browser-based E2E testing workflow.
tools
Tooling and style guide for TypeScript projects.
development
Capture tmux pane content and export as text, HTML, SVG, PNG, or JPG. Use when you need a screenshot or text dump of a tmux pane for sharing, feeding to AI, or archiving terminal state.
testing
Copy-edit text. Fix grammar and/or tidy text into a concise listicle.