Skip to content

proflead/codex-skills-library / .codex/skills/prompt-optimization

prompt-optimization

Unverified

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
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis.Stars: 464kUpdated Claude CodeCodexVerifiedInstall
diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness.Stars: 318kUpdated Claude CodeCodexUnverifiedInstall
dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependenciesStars: 318kUpdated Claude CodeCodexUnverifiedInstall