Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

Prompt Optimizer

Top Skills

  • prompt-optimizer

What It Can Do

  • Rewrite long prompts into concise, reusable task templates.
  • Preserve intent, constraints, and edge cases while reducing token usage.
  • Add strict output limits and formatting instructions for predictable responses.

Why Use It

  • Reduce prompt and context size without losing important requirements.
  • Improve consistency across repeated tasks by standardizing prompt structure.
  • Keep complex requests clear and scannable for humans and agents.

How It Works

  • Detects task intent and separates core requirements from verbose phrasing.
  • Rebuilds prompts into compact blocks: task, context, constraints, deliverable.
  • Keeps security, compliance, and correctness requirements intact.

Quick Examples

Use prompt-optimizer to rewrite this request for 30% fewer tokens while preserving all constraints.
Compress this multi-paragraph feature request into a reusable template with variables and a 150-word output cap.

Requirements

  • Plugin installed and enabled in Codex.
  • A source prompt or workflow request to optimize.