/superskills:quota-resiliencefrom Superskills
Salvages and resumes work when Claude Code hits its own usage limit or quota hard stop. Commits complete work, leaves a clean git tree, writes a resume note, and offers one bounded auto-restart.
Ships in Superskills. 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.
A usage-limit hard stop is a shutdown, not an obstacle to route around. Retrying the blocked call, downgrading the approach, or improvising "one more push" spends the remaining window and makes the resume expensive. This skill spends that window making the resume cheap instead: committed work, clean tree, a note that carries the state, and one bounded restart where the host can schedule one.
Hard rules, in order:
wip:
checkpoint if it is a useful base, or revert it if it is noise. Either
way git status ends clean: the next session starts from committed
state, never from a diff it has to reverse-engineer.QUOTA-RESUME.md at the repo root, committed
with the salvage. If this session's handoff-<session-id>.md (or a handoff-*.md the
work clearly belongs to) exists (written by /handoff before the
stop), fold its content into this note and delete that file — one bridge,
not two. Leave other sessions' handoff files alone. Required sections:
n/2. Incremented every time a restart is
scheduled; a stop phase that reads 2/2 must not schedule again.<cli> --help before relying on a flag; they move between
versions):
claude --resume <session-id> -p "<prompt>" (primary —
resumes exactly the interrupted session), falling back to
claude -c -p "<prompt>" (most recent session in this directory —
only safe when nothing else has run there since). Pass an unattended
permission set — --permission-mode acceptEdits plus a narrow
--allowedTools — never a blanket permission skip, and never a
blanket Bash allow: scope Bash to the command prefixes the resume
needs (Bash(git:*), Bash(python3 tests/:*)) plus the narrow
cleanup commands for this skill's own artifacts (rm of the wrapper/
plist/log, launchctl unload, crontab).codex exec resume --last "<prompt>".opencode run -c "<prompt>"."${TMPDIR:-$HOME/.cache}/superskills-quota/resume-<repo>.sh", created
with mkdir -p; the ${TMPDIR:-/tmp} fallback never lands in the
shared world-writable /tmp, so the tree stays clean and the file is
not swappable by another local account). The wrapper's first action
is to remove its own scheduler entry (unload + delete the plist,
strip the crontab line) — before it ever invokes the CLI — so the
one-shot guarantee never depends on the model run succeeding. It then
cds into the repo and appends output to a log next to itself.
Register exactly one shot:systemd-run --user --on-active=<delay> --unit=quota-resume <script> — a transient timer, nothing to clean
up. Prefer this wherever it is available.~/Library/LaunchAgents with a
StartCalendarInterval pinning Month, Day, Hour and Minute to a
concrete time <delay> ahead — an interval naming only hour and
minute recurs daily, which is recurring spend, exactly what this
skill forbids. Do not rely on at — it is disabled by default on
macOS.# superskills-quota-resume;
the resumed run strips exactly that line, preserving every other
entry — crontab -l | grep -v '# superskills-quota-resume' | crontab -
— never rewriting the crontab wholesale./quota-resilience — read QUOTA-RESUME.md, run the
Verify step, continue the Next steps in order, and if the limit hits
again, increment the note's Hops counter and schedule at most one
more hop; at 2/2 it waits for the user instead.QUOTA-RESUME.md first, before exploring the repo or re-deriving
state. It is the authority on where the last session stopped./debug or /qa, not this
skill.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
quota-resilience, session-recovery, usage-limit, resume, salvage
48 skills in this plugin
/a11yAccessibility audit for frontend changes — WCAG 2.2 AA, screen-reader
compatibility, keyboard navigation, focus management, ARIA correctness, color
contrast, and reduced-motion. Static diff-scoped analysis (safe to auto-run) plus
an optional dynamic axe pass against a running app. Use when asked to "check
accessibility", "a11y audit", "screen reader check", "WCAG", "is this
accessible", "keyboard navigation", "ARIA review", or after heavy frontend work.
/articleExtract clean article content from URLs (blog posts, articles, tutorials) and save as readable text. Use when user wants to download, extract, or save an article/blog post from a URL without ads, navigation, or clutter./basic-reviewRead-only correctness review of pending changes, needing no external
install: correctness, security, reliability/performance and contract risk,
each finding cited as file:line with why it is wrong and a fix. The fallback
when gstack's /review is unavailable (not installed, or its install is
broken); /qa-full and /daily-qa call it automatically then. Applies a
vendored copy of gstack's pre-landing checklist. Use when asked for
a "basic review", a "quick review without gstack", or a review in a tool where
/review is missing. Not for quality cleanups (use /clean-code), and not the
first choice when /review is installed: /review goes deeper and applies fixes.
/cache-strategyImplement a permanent cache-first strategy: check cache before hitting the DB,
write to cache on first read, invalidate only when data changes. No TTL timeouts.
Modeled on Play Framework's cache model. Use when asked to "add caching",
"implement cache strategy", "cache DB results", or "reduce DB load".
/clean-codeAudit → fix → verify the branch diff against KISS, DRY, SOLID, and YAGNI.
Finds duplicated logic, units with more than one reason to change, needless
abstraction or speculative extensibility, wrong-altitude code, and dead code
in the changed files — then applies the smallest safe refactor for each,
one atomic commit per fix, under a green test suite. Quality only: it does
not hunt for bugs (use /review or /code-review for that). Use when asked to
"clean up the diff", "simplify this", "DRY this up", "refactor for SOLID",
"remove duplication", "KISS", "YAGNI check", or "tidy before ship".
/cli-for-agentDesign or review CLIs so coding agents can run them reliably: non-interactive
flags first, layered --help with real copy-pasteable examples, stdin/pipeline
support, fail-fast errors that include a correct invocation, idempotency,
--dry-run/--yes for destructive actions, and machine-useful success output.
Use when building a CLI, adding commands or subcommands, writing --help
text, or when asked for an "agent-friendly CLI". Not for GUIs, TUIs, or
library APIs (no CLI surface to design).
npx claudepluginhub ariadoss/superskills --plugin superskillsOther plugins' skills for the same job