
compress
Compress agent-facing instructions to the fewest words that preserve behavior, constraints, and clarity.
- Installs
- 81
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/owainlewis/blueprint --skill compress- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads compress automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Compress
When to use
- Compressing specs, plans, tasks, prompts,
AGENTS.md, or skill files - Removing redundancy from instructions before giving them to an agent
- Tightening a document that has grown through repeated edits
Process
- Choose the target from
$ARGUMENTS, a pasted instruction, or the named file. - Preserve the target's behavior exactly. Compression is not permission to weaken rules.
- Cut:
- restated rules
- overlapping instructions
- padding phrases
- obvious preamble
- hedging that does not change behavior
- examples that restate a rule without adding format or edge-case value
- Keep:
- actual rules and constraints
- concrete examples that show a required format or edge case
- file paths, exact names, identifiers, commands, and schemas
- instructions that came from previous failures
- If asked to update a file, replace it with the compressed version. Otherwise return only the compressed instruction.
Verification
- Meaning and behavioral constraints are preserved
- Redundant wording is removed
- Specific names, paths, commands, schemas, and examples still exist where needed
- The result is easier for an agent to follow
Rules
- Return the compressed version only unless the user asks for commentary.
- Prefer bullets for lists of rules.
- Prefer prose for a single connected idea.
- Merge overlapping sections.
- State a general rule and its exception together.
- Do not drop a rule to hit a word count.
- If compression changes likely agent behavior, restore the load-bearing instruction.
FAQ
What does the compress skill do?
Compress agent-facing instructions to the fewest words that preserve behavior, constraints, and clarity.
How do I install compress?
Run npx skills add https://github.com/owainlewis/blueprint --skill compress in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/compress/ (personal) or .claude/skills/compress/ (project).
Which AI agents can use compress?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is compress safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains compress?
It is published by owainlewis in owainlewis/blueprint. It has 81 recorded installs.
More from owainlewis/blueprint
review
owainlewis/blueprint
Uses a fresh agent to review an implementation change without editing it. Checks behavior, security, regressions, complexity, tests, docs, and missing proof. Use for code, PR, diff, security, second-opinion, or pre-merge reviews.
plan
owainlewis/blueprint
Turns a reviewed spec or decided brief into ordered tasks for separate agent runs. Use for implementation tasks, tracker tickets, or useful milestones. Do not use for one coding task or its short execution outline.
task-to-pr
owainlewis/blueprint
Open the skill to read its SKILL.md instructions.
spec
owainlewis/blueprint
Open the skill to read its SKILL.md instructions.
refactor
owainlewis/blueprint
Open the skill to read its SKILL.md instructions.
Popular other skills
hyperframes-cli
heygen-com/hyperframes
The HyperFrames CLI by job - scaffold, check, look at frames, edit the timeline, preview, render locally or in the cloud, publish, project history - plus reading its JSON and recovering from build or render failures.
triage
mattpocock/skills
Move issues and external PRs through a state machine of triage roles, categorise, verify, grill if needed, and write agent-ready briefs.
ask-matt
mattpocock/skills
Ask which skill or flow fits your situation. A router over the skills in this repo.
to-questionnaire
mattpocock/skills
Turn a decision you can't fully answer into a questionnaire for someone else to fill in.
loop-me
mattpocock/skills
Grill me about specs for the workflows I want to build, within this workspace.