Skill Prompt Optimize — Development skill for Claude Code
A Claude Code agent skill with lossless prompt compression, role-based tool description rewrites, and placeholder-safe verification.
How to install Skill Prompt Optimize
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open agenvoy/skill-prompt-optimise and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Skill Prompt Optimize does
A Claude Code agent skill with lossless prompt compression, role-based tool description rewrites, and placeholder-safe verification.
Alternatives in Development
- Dense Compression Protocol — Astryx Translation Protocol 30.7k ★
- 07 Verification Agent — Verification Agent System Prompt 2.3k ★
- Obsidian Ingest — Ingest a source into the vault — the vault rewrites itself around new knowledge 277 ★
README
Last updated: 2026-11-30
[!NOTE] This README was generated by [SKILL](https://github.com/agenvoy/skill-readme-generate), get the ZH version from [here](./doc/README.zh.md).
This skill's implementation was fully agent-generated; the developer only tuned its input/output.
SHORTER PROMPTS, SAME BEHAVIOR!
A Claude Code agent skill with lossless prompt compression, role-based tool description rewrites, and placeholder-safe verification
Table of Contents
Features
`/prompt-optimize ` · [Documentation](./doc/doc.md)
- One Rule Set, Two Targets — System prompts, skills, and agent instructions get meaning-preserving compression, while tool definitions first have sentences moved to where they belong, then share the same cut/keep lists.
- Role-Based Tool Rewrites — Tool descriptions become three lines (what it returns, triggers in the user's own words, which neighbor tool to use instead), and each parameter gets one line on how to fill it, with defaults moved into the schema.
- Dedup as the Main Saving — A rule stated several times collapses into one authoritative statement, rules with different triggers stay separate, and markdown tables become lists to drop formatting tokens.
- Two Silent Failure Points Frozen — Trigger mood, quantifiers, and condition verbs, plus
{{.Var}}placeholders, stay byte-identical, so rules never stop firing and injection points never leak into context as raw text. - Measured and Honest Reports — Byte counts are measured before and after, placeholders are diffed verbatim, and every semantic unit is traced to a line; a file that will not shrink is reported as such instead of losing rules.
Related Skills
Magic Compact
Lossless context compression plugin for Claude Code & OpenCode.
Forge Agent
Author a complete, reusable agent system prompt from a short description — role, objective, method, guardrails
Skill Compact
Shrink Claude Code SKILL.md token cost without breaking skills. Trigger-preserving description gate + lossless
Optimize Brain
Deep vault optimization: CRM, graphs, dashboards, compression, wikilinks
Optimize Video
Process and upload optimized videos to Supabase Storage with faststart + compression.
Cwp Optimize
Optimize CWP server performance for Apache, Nginx, PHP, MySQL, caching, and compression
Related Agents
Design Copy Editor
Stage 3c of the world-class-design process. Treats every AI-written line in a design as placeholder and rewrit
Council Deep
Deep specialist seat pinned to Sonnet 5 (full model ID, bypasses the haiku alias remap) for the harder reasoni