Night Market Skill — ported from claude-night-market/conserve. For the full experience with agents, hooks, and commands, install the Claude Code plugin.
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)#Set a discovery read budget BEFORE reading any files. Count each Read call
and each content-mode Grep as one read. Glob and files-with-matches Grep are free.
Read order (most valuable first): spec/requirements, files to modify, imports/interfaces, then stop and start writing.
When budget is spent: ask the user if more context is needed. Do NOT self-authorize additional reads. Only explicit user approval overrides the budget.
Prefer 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).
PDFs (Claude Code 2.1.30+): Use Read with pages: "1-5" for targeted PDF reading
instead of loading entire documents. Large PDFs (>10 pages) return a lightweight
reference when @-mentioned — 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).
Convert prose instructions into bullet lists before prompting so only essential info hits the model.
delegation-check)#qwen-delegation skill if needed).compression-review)#prompt caching ideas: reference prior outputs instead of restating them
when the model has already processed the information (cite snippet IDs)./new/compact before continuinglogging)#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 save
tokens (otherwise state that no reset/compaction is needed yet).