Analyzes a user's prompt and helps them reduce token consumption in the response by identifying missing refinements (length constraints, format instructions, scope limits, negative instructions, etc.) and producing a ready-to-use optimized rewrite with an estimated token savings percentage. Use whenever the user asks to "optimize a prompt", "reduce tokens", "make a prompt more efficient", "tighten up a prompt", or "token-efficient prompt". Also trigger when the user shares a prompt and asks how to make the response shorter or cheaper to run, or asks about token costs or response length in the context of an existing prompt. Also trigger when the user appends "also optimise prompt", "optimise prompt", or "optimise this prompt" to any request.
How this skill is triggered — by the user, by Claude, or both
Slash command
/optimize-prompt-skill:prompt-optimizerThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
When this skill is triggered:
When this skill is triggered:
The user will take the optimized prompt and run it separately themselves.
**Token-optimized prompt:**
[rewritten prompt here]
**Estimated token savings: ~X%**
Want me to explain what I changed and why?
Scan the user's full message as the input prompt. Rewrite it by:
See REFERENCE.md for the full checklist and savings estimation table.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
npx claudepluginhub varunvekaria/optimize-prompt-skill --plugin optimize-prompt-skill