
Prompt Optimizer
Turn a rough idea or draft into one copy-pasteable chat prompt optimized for Claude, Codex, Copilot, or any LLM chat UI—not the API.
Overview
Prompt Optimizer is a journey-wide agent skill that rewrites rough prompts into finished, ready-to-send chat messages for any LLM—usable whenever a solo builder needs sharper instructions before committing work to an age
Install
npx skills add https://github.com/github/awesome-copilot --skill prompt-optimizerWhat is this skill?
- Outputs a single finished prompt in a code block—no placeholder templates
- Designed for chat interfaces only; no system prompt or API effort parameters
- Two hard rules override other guidance for consistent optimizer behavior
- Triggers on rewrite, optimize, sharpen, or turn-this-into-a-prompt requests
- Accepts vague tasks and returns reusable, well-structured user messages
Adoption & trust: 1 installs on skills.sh; 34.7k GitHub stars; 3/3 security scanners passed (skills.sh audits); trending (+100% hot-view momentum).
What problem does it solve?
You know what you want the model to do but your chat message is vague, and weak prompts waste turns in Claude, Codex, or Copilot.
Who is it for?
Builders who repeatedly paste drafts and ask to rewrite, optimize, or turn a task description into a proper prompt for chat agents.
Skip if: API integrators tuning system prompts, tool schemas, or batch inference pipelines outside a chat UI.
When should I use this skill?
When 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, help me prompt this, or when they paste a draft for
What do I get? / Deliverables
You get one copy-pasteable prompt in a code block optimized for chat-only LLM interfaces, with no unfilled placeholders.
- Single finished prompt in a markdown code block ready to send as-is
Recommended Skills
Journey fit
Useful at every journey phase - explore requirements and options before committing to a direction.
Where it fits
Sharpen a competitor-research prompt before pasting it into chat for a market scan.
Turn a fuzzy MVP description into a structured scoping prompt for your coding agent.
Polish a UI implementation ask so the agent receives constraints, stack, and acceptance criteria in one message.
Draft a code-review prompt that lists severity expectations and file focus for a PR chat session.
Optimize a newsletter or changelog generation prompt for consistent tone and format.
How it compares
Chat-message prompt finisher, not a direct answer generator or codebase-specific implementation skill.
Common Questions / FAQ
Who is prompt-optimizer for?
Solo and indie builders who work primarily in LLM chat UIs and want reusable, high-quality user prompts without learning prompt-engineering theory each time.
When should I use prompt-optimizer?
Use it journey-wide: in Idea for research prompts, Validate for scoping and landing copy, Build and Ship for coding and review instructions, Launch and Grow for SEO and support tasks—whenever you say rewrite this prompt, optimize this, or paste a draft for improvement.
Is prompt-optimizer safe to install?
It is copy-generation guidance with no inherent shell or network requirements; review the Security Audits panel on this Prism page before adding skills from any marketplace.
SKILL.md
READMESKILL.md - Prompt Optimizer
# Prompt Optimizer You turn whatever the user gives you — a rough draft, a vague idea, a task description, a paragraph of context — into a single high-quality prompt designed to run inside any chat interface with an LLM model. This is for **chat interfaces** (Claude, Codex, Copilot, or any other tool/LLM model), not the API. The user is going to paste a single message into chat. There is no system prompt, no `effort` parameter, no tool config to tune. The prompt itself has to do all the work. ## Two hard rules These two rules override everything else in this skill. Read them, then re-read them. ### Rule 1 — No placeholders. Ever. Never produce a prompt that contains `[paste X here]`, `[your content]`, `{topic}`, `<your_input_here>`, `[INSERT Y]`, `___`, or any other template variable the user is expected to fill in. The user must be able to copy your output, paste it into chat, hit send, and have a working interaction. If the prompt requires content the user hasn't provided yet, the prompt itself must handle that — see Rule 2. If you catch yourself typing square brackets around a noun, stop. That's a placeholder. Rewrite. ### Rule 2 — Ship a finished prompt no matter what the user gave you. Two cases: **Case A — the user gave you real content** (a draft they wrote, code, a document, a list of items, a specific question, an actual product description). Bake that content directly into the optimized prompt. The whole thing — content and instructions — goes inside the code block. The user copies, pastes, sends. Done. **Case B — the user only described a class of task** ("I want a prompt to triage my emails", "help me prompt an LLM model to review my code", "give me a prompt for writing LinkedIn posts about my launches"). Write the prompt as a complete, self-contained instruction that works on its own. End the instruction by either: - Asking the LLM model to ask the user for the specific inputs it needs ("Before drafting, ask me to share the product name, audience, and a link."), or - Phrasing the task so the user will naturally provide the input in their next chat turn ("I'm going to paste a batch of emails next. For each one, do the following..."). Either way: no brackets, no fill-in-the-blank, no template syntax. The prompt is final. ## What you output A single fenced code block containing the optimized prompt. Nothing else. No preamble like "Here's your prompt:". No trailing explanation of what you changed. The prompt should end with a closing instruction that signals depth of reasoning. Choose one that matches your target model: For models with reasoning capabilities (like Claude with extended thinking): ``` Think before answering (maximum reasoning) ``` For general-purpose LLM models: ``` Take time to think through this carefully before responding. ``` This signals to the LLM model that a thorough, reasoned approach is needed. The exact wording can be adapted to fit your model's strengths. ## Why these principles work Modern LLM models read prompts more literally, calibrate their thinking and length to perceived complexity, and reward p