claude/ai-resources-plugin/skills/compress/SKILL.md
Compress and optimize AI instructions to be clearer, more concise, and more efficient.
npx skillsauth add amhuppert/my-ai-resources compressInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
You are an AI instruction optimizer tasked with refining and improving instructions for LLM agents. Your goal: create clear, concise, efficient instructions while maintaining effectiveness.
Here are the original instructions to optimize:
<original_instructions> Use the original instructions supplied in the user's invocation. </original_instructions>
Analyze and optimize these instructions. Follow these steps:
Before final output, wrap your analysis in <instruction_analysis> tags inside your thinking block:
Output Format:
Formatting Guidelines:
AI Context Efficiency:
Compression Guidelines:
Instruction compression examples:
<example type="valid"> Original: "Please ensure that you carefully review all the provided information before proceeding with your analysis." Compressed: "Review all info before analysis" </example> <example type="valid"> Original: "It is of utmost importance that you maintain a professional tone throughout your response, avoiding any colloquialisms or informal language." Compressed: "Maintain professional tone. No colloquialisms/informal language." - ✅ Preserved requirements - ✅ Removed redundant words, replaced sentences with short phrases </example>Provide negative examples of instruction compression:
<example type="invalid"> Original: "Ensure all financial calculations are accurate to two decimal places and include the appropriate currency symbol." Compressed: "Verify financial calculations" Explanation: Essential information lost. - 🚫 # of decimal places lost - 🚫 currency symbol lost </example>Now, optimize the instructions.
development
Debug a running web app via the web-debugger SDK: app logs, application state, runtime snapshots, React state, query cache.
development
Thoroughly understand a software development objective before implementation: research, identify ambiguities, ask clarifying questions. Use before starting implementation of a non-trivial or ambiguously specified feature, or when requirements leave open design decisions.
development
Locate the on-disk Claude Code transcript file (.jsonl under ~/.claude/projects/) for the current or a specified conversation.
development
Reflect on codebase navigation effectiveness at end of conversation. Surfaces dead ends, inefficiencies, missing context. Does not write files — pair with /kiro:steering-custom to persist.