Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
中文简介正在准备中。当前显示原文说明。
Enforces token quota management at session start with conservation and compression checks. Use at the start of every session or before large context loads.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
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, 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).
Convert prose instructions into bullet lists before prompting so only essential info hits the model.
Before a web search or fetch, decide whether the claim needs a
source at all. modules/source-selection.md sorts claims into those
worth citing (versions, performance, security, APIs, pricing) and
those that are not, with the token cost of each approach.
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).quota-check, context-plan, delegation-check,
compression-review, loggingRead call, with
the task type (spec/bug/refactor/exploration) and max-reads
limit recorded/new or /compact
recommendation, or a justification for why neither is neededmodules/source-selection.md还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Shapes turns action-first: action leads, steps numbered, state restated. Use for ADHD-friendly output. Do not use to trim tokens; use response-compression.
中文简介正在准备中。当前显示原文说明。
Inverts burden of proof for code additions. Use when reviewing PRs, planning refactors, or running unbloat to challenge every addition's necessity.
中文简介正在准备中。当前显示原文说明。
Tracks per-agent token usage and flags waste in parallel dispatch. Use when evaluating parallel agent efficiency or after a multi-agent run.
中文简介正在准备中。当前显示原文说明。
Coordinates Claude agent teams via filesystem protocol. Use when orchestrating parallel agents with task dependencies. Do not use for single-agent tasks.
中文简介正在准备中。当前显示原文说明。
Evaluates API surface design, consistency, and exemplar alignment. Use when reviewing public API changes or before releasing a new API surface.
中文简介正在准备中。当前显示原文说明。
Selects architecture paradigm via research before scaffolding. Use when architecture is undecided and the choice needs justification and documentation.
中文简介正在准备中。当前显示原文说明。