prompt-optimizer

prompt optimizer

affaan-m 232k ↓ 6.5k MIT updated 25d ago
Claude Code
View source ↗

What it does

  • User says "optimize this prompt", "improve my prompt", "rewrite this prompt"
  • User says "help me write a better prompt for..."
  • User says "what's the best way to ask Claude Code to..."
  • User says "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令"
  • User pastes a draft prompt and asks for feedback or enhancement
  • User says "I don't know how to prompt for this"
  • User says "how should I use ECC for..."

Requirements & configuration

  • Needs Clarification: Numbered list of questions the user should answer.
  • Not what you need? Tell me what to adjust, or make a normal task request
  • Auth: require valid token, users can only update own profile
  • | cost-aware-llm-pipeline | Token optimization recommendations |

Configuration: CLAUDE

Derived from the skill's own SKILL.md documentation · extracted 2026-07-23

prompt optimizer

Source

Repository: https://github.com/affaan-m/everything-claude-code

prompt-optimizer FAQ

What does the prompt-optimizer skill do?

>- Analyze raw prompts, identify intent and gaps, match ECC components (skills/commands/agents/hooks), and output a ready-to-paste optimized prompt. Advisory role only — never executes the task itself. TRIGGER when: user says "optimize prompt", "improve my prompt", "how to write a prompt for", "help me prompt", "rewrite this prompt", or explicitly asks to enhance prompt quality. Also triggers on Chinese equivalents: "优化prompt", "改进prompt", "怎么写prompt", "帮我优化这个指令". DO NOT TRIGGER when: user wants the task executed directly, or says "just do it" / "直接做". DO NOT TRIGGER when user says "优化代码", "优化性能", "optimize performance", "optimize this code" — those are refactoring/performance tasks, not prompt optimization. User says "optimize this prompt", "improve my prompt", "rewrite this prompt" User says "help me write a better prompt for..."

What does prompt-optimizer require?

Needs Clarification: Numbered list of questions the user should answer. Not what you need? Tell me what to adjust, or make a normal task request Auth: require valid token, users can only update own profile | cost-aware-llm-pipeline | Token optimization recommendations | Configuration keys: CLAUDE.

How do I install prompt-optimizer?

Run: npx -y skills add https://github.com/affaan-m/everything-claude-code --skill prompt-optimizer --agent claude-code — the source lives at github.com/affaan-m/everything-claude-code.

Maintain prompt-optimizer?

Let people know it's listed here — add the badge (live metrics, light/dark aware) or a plain link to your README or docs.

prompt-optimizer on getagentictools
[![prompt-optimizer on getagentictools](https://getagentictools.com/badge/skills/affaan-m-everything-claude-code-prompt-optimizer.svg)](https://getagentictools.com/skills/affaan-m-everything-claude-code-prompt-optimizer?ref=badge)
npx agentictools info skills/affaan-m-everything-claude-code-prompt-optimizer

The second line is the CLI lookup for this page — handy in READMEs and docs.