Skip to main content

prompt-optimization

Improve and rewrite user prompts to reduce ambiguity and improve LLM output quality. Use when a user asks to optimize, refine, clarify, or rewrite a prompt for better results, or when the request is about prompt optimization or prompt rewriting.

Source facts

Repository
proflead/codex-skills-library
Last source activity
January 12, 2026 at 16:12
Detected SKILL.md language
English
Stars
154
Forks
34

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.

Showing SKILL.md

SKILL.md
Source instructions · Read-only preview
name
prompt-optimization
description
Improve and rewrite user prompts to reduce ambiguity and improve LLM output quality. Use when a user asks to optimize, refine, clarify, or rewrite a prompt for better results, or when the request is about prompt optimization or prompt rewriting.
# Prompt Optimization ## Goal Improve the user's prompt so Codex (or any LLM) produces better output while preserving intent. ## Workflow 1. Read the user's original prompt carefully. 2. Identify ambiguity, missing context, or unclear intent. 3. Rewrite the prompt to remove ambiguity and provide clear instructions. 4. Retain the core intention of the user's request. 5. Add relevant constraints (format, length, style) when helpful. ## Output format Provide: - Improved prompt - Short explanation of what was improved ## Constraints - Do not assume domain knowledge not in the original prompt. - Preserve user intent. ## Example triggers - “Draft me an email asking for feedback.” - “Turn this into a daily to-do list.” - $automating-productivity
View on GitHub