athola/token-conservation
Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads.
npx skills add https://github.com/athola/claude-night-market --skill token-conservation
token-conservation:quota-checktoken-conservation:context-plantoken-conservation:delegation-checktoken-conservation:compression-reviewtoken-conservation:loggingquota-check)/status or notebook).Note the 5-hour rolling cap and weekly cap highlighted in the Claude community notice.
context-plan)Read calland each content-mode Grep as one read. Glob and files-with-matches Grep are free.
imports/interfaces, then stop and start writing.
self-authorize additional reads. Only explicit user approval overrides the budget.
Read with offset/limit params or Grep tool over loading whole files.A Read targeting <50 lines counts as 0.5 reads. Avoid cat/sed/awk via Bash:
Claude Code 2.1.21+ steers toward native file tools (Read, Edit, Write, Grep, Glob).
Read with pages: "1-5" for targeted PDF readinginstead of loading entire documents. Large PDFs (>10 pages) return a lightweight
reference when @-mentioned, so use the pages parameter to read specific sections.
Hard limits: 100 pages max, 20MB max per PDF. Exceeding these previously locked
sessions permanently (fixed in 2.1.31).
info hits the model.
delegation-check)tooling (use qwen-delegation skill if needed).
of LLM reasoning when possible.
compression-review)Remove redundant history, collapse logs, and avoid reposting identical code.
prompt caching ideas: reference prior outputs instead of restating themwhen the model has already processed the information (cite snippet IDs).
via the message selector to partially summarize the conversation. This preserves
recent context while compressing older portions
instruct the user to run /new
prompt them to run /compact before continuing
memories automatically. This adds minor token overhead but improves cross-session
continuity. No action needed: be aware it contributes to baseline context usage.
logging)Document the conservation tactics that were applied and note the remaining
token budget. If the budget is low, explicitly warn the user and propose secondary
plans. Record any recommendations made regarding the use of /new or /compact,
or justify why neither was necessary, to inform future context-handling decisions.
/new or /compact whenever you determine it would savetokens (otherwise state that no reset/compaction is needed yet).
quota-check, context-plan, delegation-check,
compression-review, logging
Read call, withthe task type (spec/bug/refactor/exploration) and max-reads
limit recorded
"budget low") and includes an explicit /new or /compact
recommendation, or a justification for why neither is needed
exhausted without explicit user approval in the same session
Take athola/token-conservation from the repository into ~/.claude/skills for personal
use, or into .claude/skills inside a project.
The agent identifies a skill by the name field in its header. Two skills with the
same name cannot sit side by side — one of them will be ignored.