What is prompt-optimizer?
Use when the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'.
event4u-app/agent-config
Use when the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/prompt-optimizer"Quick start
Install it or open the source, trigger it with a clear task, then follow the source workflow.
npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/prompt-optimizer"Use prompt-optimizer to help me with: [describe your task]. Before you begin, tell me what input you need, the steps you will follow, and the expected output.
No structured workflow was detected; follow the original SKILL.md below.
Continue to the workflowDirect answers
Use when the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'.
It is relevant to workflows involving the tasks described in the upstream documentation.
SkillSignal detected this source-specific command: npx skills add https://github.com/event4u-app/agent-config --skill "src/skills/prompt-optimizer". Inspect the repository and command before running it.
The upstream source does not declare a dedicated Agent platform.
No obvious permission action was detected by the static rules. This is not proof that the Skill is safe.
This page combines upstream documentation with deterministic repository, quality, and static-risk signals. It is not described as a manual test or security review.
SkillSignal brief
Use when the user wants a prompt optimized for ChatGPT, Claude, Gemini, or another AI — 'make this prompt better', 'optimize for ChatGPT', 'rewrite my prompt' — even without saying 'optimize'.
Useful in these contexts
Core capabilities
Distilled from the source
About 7 min · 11 sections
The user pastes a rough prompt and asks for it to be optimized, rewritten, sharpened, or "made better".
The user mentions a target AI (ChatGPT, Claude, Gemini, Perplexity, Copilot) and wants their prompt tuned for it.
The user invokes /optimize-prompt.
The user describes a goal ("I need a marketing-email prompt for ChatGPT") and the deliverable is a prompt, not the email itself.
Optimized prompt — fenced code block, ready to copy. Top line names the target AI if known.
What changed — 3-5 bullets, each ≤ 12 words.
Techniques applied (DETAIL only) — bullet list naming the techniques (e.g. "few-shot", "chain-of-thought", "role assignment").
Quality breakdown
Based on traceable docs and repository signals; stars are not treated as quality.
Compare before choosing
These links are selected from shared tasks, functions, stacks, platforms, and same-name variants. Compare the source owner, documentation, permissions, and maintenance signals.
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 th
Turn any rough prompt, half-formed idea, or task description into a finished, ready-to-send prompt optimized for any LLM model inside a chat interface — NOT the API. Use this skill whenever the user wants to write, rewrite, optimize, improve, sharpen, or polish a prompt for chat. Trigger phrases include "rewrite this prompt", "make this a better prompt", "optimize this prompt", "turn this into a prompt", "help me prompt this", "draft a prompt that...", "I want to ask...", or whenever the user pa
分析原始提示,识别意图和差距,匹配ECC组件(技能/命令/代理/钩子),并输出一个可直接粘贴的优化提示。仅提供咨询角色——绝不自行执行任务。触发时机:当用户说“优化提示”、“改进我的提示”、“如何编写提示”、“帮我优化这个指令”或明确要求提高提示质量时。中文等效表达同样触发:“优化prompt”、“改进prompt”、“怎么写prompt”、“帮我优化这个指令”。不触发时机:当用户希望直接执行任务,或说“直接做”时。不触发时机:当用户说“优化代码”、“优化性能”、“optimize performance”、“optimize this code”时——这些是重构/性能优化任务,而非提示优化。
日本語翻訳:このファイルは prompt-optimizer 用の日本語翻訳が必要です
When the user wants to plan, design, or implement an A/B test or experiment, or build a growth experimentation program. Also use when the user mentions "A/B test," "split test," "experiment," "test this change," "variant copy," "multivariate test," "hypothesis," "should I test this," "which version is better," "test two versions," "statistical significance," "how long should I run this test," "growth experiments," "experiment velocity," "experiment backlog," "ICE score," "experimentation program
Persona: Lyra — a master-level prompt-optimization specialist. Mission: turn a raw user prompt into a precision-crafted prompt that lands well on the user's chosen external AI (ChatGPT, Claude, Gemini, Perplexity, …). Sibling of
refine-promptwhich is engine-inbound; this skill is engine-outbound (the polished prompt is text the user will paste elsewhere).
/optimize-prompt.| Phrasing | Route to |
|---|---|
| "refine this ticket / prompt for the engine" | refine-prompt |
| "make this skill description pushier" | description-assist |
| "write the marketing email itself" | direct execution — the user wants the artifact, not a prompt |
| "review my code / commit" | review-changes and friends |
docs/guidelines/prompt-templates.md.The skill reads prompt_optimization.outbound (or .default when no
outbound override is set) from .agent-project-settings.yml:
| Mode | Behaviour |
|---|---|
off | The skill refuses; the dispatcher echoes the user's prompt verbatim with a one-line note. |
mini | BASIC path only — safe defaults, no clarifying questions, no template selection (use the user's structure as-is). Hard cap: 1 turn. |
max (default) | Full 4-D + template selection. DETAIL mode auto-detects per the table below. |
Any prompt starting with the configured prompt_optimization.bypass_prefix
(default /raw) is echoed verbatim, no shaping, no template.
Auto-detect on first turn:
| Signal | Mode |
|---|---|
| User wrote "BASIC" or "DETAIL" verbatim | honor it |
| One-line ask, common task (resume help, casual email, summary) | BASIC |
| Multi-paragraph context, professional/technical scope, named audience, named tone | DETAIL |
| Target AI not named AND request implies platform-sensitive output | DETAIL |
| Tiebreaker — both BASIC and DETAIL signals fire | DETAIL (safer default) |
BASIC — apply core 4-D fixes silently, return optimized prompt + 3-bullet "what changed". No questions.
DETAIL — gather missing context one question per turn (Iron Law from ask-when-uncertain). Stop asking once Deconstruct + Diagnose are clean. Then deliver.
Always inform mode + override: first reply names the chosen mode and offers the other in one numbered-options block. Re-pick is silent on subsequent turns.
Capture: (a) the rough prompt, (b) target AI if named, (c) explicit BASIC/DETAIL marker if present. If the user pasted only a topic ("marketing email"), treat it as the prompt seed.
Apply the table above. State: "Running in BASIC — say DETAIL to switch." (or vice-versa). Use a single numbered-options block only if the user has not signalled a mode and the heuristic is genuinely 50/50.
Identify each slot in the rough prompt: intent · entities · output shape · constraints · target AI · tone · audience. List every missing slot. Check for ambiguity, unstated assumptions, and contradictory requirements.
Fill missing slots with safe defaults (general audience, neutral tone, the named AI or "any modern LLM"). Skip to step 5.
Ask one question for the highest-leverage missing slot. Order: target AI → output shape → audience → tone → constraints. Stop asking once the prompt would land cleanly. Never batch. Hard cap: 3 question turns; after that, fill remaining slots with safe defaults and deliver — note the assumptions in § What changed.
Pick techniques per request type (see § 4-D step 3). Assign role ("You are a senior X…"), layer context, add structure (numbered steps, bullet headers, output format spec, length cap), and inject specificity (concrete numbers, named formats, explicit success criteria — replace "good", "professional", "high-quality" with measurable criteria).
Format per § Output format. Do not execute the optimized prompt yourself unless the user explicitly says "and run it" — this skill produces a prompt, not the answer to it.
language-and-tone for .md).nidhinjs/prompt-master and is rejected here — CO-STAR, RISEN, CRISPE, ReAct, and the image-AI templates land in docs/guidelines/prompt-templates.md and are first-class. Pick by request type, not by upstream whitelist.ask-when-uncertain Iron Law).bypass_prefix (default /raw). Echo it verbatim with a one-line note.refine-prompt — engine-inbound sibling; same prompt_optimization setting controls its modedocs/guidelines/prompt-templates.md — 12-template catalogue cited from Develop stepagents/runtime/council/responses/prompt-master-mini.json (2026-05-17) — analysis behind template adoption and the 5-safe-dogma rejection