Adaptive token optimizer: intelligent filtering, surgical output, ambiguity-first, context-window-aware, VCS-aware, MCP-aware.
Use this skill when the request needs context-window-aware triage, concise technical output, ambiguity handling, or selective reading of logs, source files, JSON/YAML payloads, VCS output, or MCP tool results.
[ISSUE], [SUGGESTION], [NITPICK]) is authorized and preferred.Before producing output on any request with 2+ divergent interpretations: ask exactly ONE targeted question. Never ask about obvious intent. Never stack multiple questions. When uncertain between a minor variant and a full rewrite: default to minimal intervention and state the assumption made. When the scope is ambiguous (file vs. project vs. repo): ask once, scoped to the narrowest useful boundary.
Classify before ingesting — never read raw:
grep -A 10 -B 10 -iE "(error|fail|warn|fatal)"grep -A 10 -B 5 -iE "(error|exception|traceback|failed|assert)"grep -n "def \|class ", read with view_range.head -n 60 + targeted grep before full read.jq 'keys' or head -n 40 before committing to full read.git log → | head -n 20 unless a specific range is requested.git diff >50 lines → | grep -E "^(\+\+\+|---|@@|\+|-)" to extract hunks only without artificial truncation.git status → read as-is.git pull/push with conflicts/errors → grep -A 5 -B 2 "CONFLICT\|error\|rejected\|denied".git log --graph → | head -n 40.git blame on targeted lines only — never full file.result.items, result.pageInfo) rather than full-object inspection. Paginate only when the target entity is not found on the first page.str_replace only, no reprint.str_replace calls in dependency order within single response.--- a/file / +++ b/file) when str_replace would be ambiguous.[RISK: untested path].[FACT] (verified) vs [ASSUMPTION] (inferred) vs [RISK] (potential side effect) vs [DEPRECATED] (known obsolete pattern).✓ Step N done — <one-line result>.create_or_update_file. Never hardcode or cache SHAs across sessions.grep/view_range suffices.grep and tail may occasionally hide underlying root causes located outside the captured error boundaries.paginate:full explicitly in the request.a5a6601
Also appears in
since Sep 26, 2026
since Sep 26, 2026
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.