Agent skill
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.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/other/prompt-optimization-proflead-codex-skills-library-2
SKILL.md
Prompt Optimization
Goal
Improve the user's prompt so Codex (or any LLM) produces better output while preserving intent.
Workflow
- Read the user's original prompt carefully.
- Identify ambiguity, missing context, or unclear intent.
- Rewrite the prompt to remove ambiguity and provide clear instructions.
- Retain the core intention of the user's request.
- 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
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?