Agent skill · Code Review & Quality

prompt-optimizer

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 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 ref

mturacgithub.com/mturacGitHub ↗
codexcopilotcursorMIT
Install
npx skills add mturac/everything-openai-codex --skill prompt-optimizer --agent codex

Same command for any agent — swap --agent for claude-code, cursor, copilot.

Facts
Files in the skill folder: 1
SKILL.md size: 15 KB
Bundled scripts: none
Version: 1.0.0
Declared author: YannJY02
Path: skills/prompt-optimizer/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 84
Language: JavaScript

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# Prompt Optimizer Analyze a draft prompt, critique it, match it to ecc ecosystem components, and output a complete optimized prompt the user can paste and run. ## When to Use - 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 OpenAI Codex 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..." - User explicitly invokes `/prompt-optimize` ### Do Not Use When - User wants the task done directly (just execute it) - User says "优化代码", "优化性能", "optimize this code", "optimize performance" — these are refactoring tasks, not prompt optimization - User is asking about ecc configuration (use `configure-ecc` instead) - User wants a skill inventory (use `skill-stocktake` instead) - User says "just do it" or "直接做" ## How It Works **Advisory only — do not execute the user's task.** Do NOT write code, create files, run commands, or take any implementation action. Your ONLY output is an analysis plus an optimized p

What's inside
Steps it walks through
  1. When to Use
  2. Do Not Use When
  3. How It Works
  4. Analysis Pipeline
  5. Phase 0: Project Detection
  6. Phase 1: Intent Detection
  7. Phase 2: Scope Assessment
  8. Phase 3: ecc Component Matching
  9. Phase 4: Missing Context Detection
  10. Phase 5: Workflow & Model Recommendation
  11. Output Format
  12. Section 1: Prompt Diagnosis
  13. Section 2: Recommended ecc Components
  14. Section 3: Optimized Prompt — Full Version
More from everything-openai-codex
All skills →
About this skill
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 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 ref

How do I install it?

Run `npx skills add mturac/everything-openai-codex --skill prompt-optimizer --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From mturac/everything-openai-codex, a repository with 84 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going