From antigravity-awesome-skills
Intelligently filters large inputs like git diffs, logs, source files, JSON/YAML, VCS outputs, and MCP responses for token efficiency; ensures concise, ambiguity-first technical outputs.
How this skill is triggered — by the user, by Claude, or both
Slash command
/antigravity-awesome-skills:zipai-optimizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
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.
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.npx claudepluginhub sickn33/antigravity-awesome-skills --plugin antigravity-awesome-skillsOptimizes token usage in conversations via prompt caching, log pruning, AST-based source inspection, and minified JSON payloads. Useful for long context windows and verbose logs.
Applies token optimization rules to reduce context usage and response length. Always active, it minimizes file reads, avoids preamble, and batches tool calls.
Optimizes Claude Code session context by explaining major consumers like metadata, images, file reads, and bash output, with strategies including screenshot compression, /compact usage, and reduced re-reads.