> 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)Read call and 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 — 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).
共 4 个版本