auto-optimize-prompt
Auto-Optimize Prompt
User request: $ARGUMENTS
Iteratively optimize a prompt until no issues remain.
Goal
Loop until prompt-reviewer finds no issues: review → resolve NEEDS_USER_INPUT with user → fix via prompt-engineering → repeat.
- No path provided: Ask which file to optimize
- Working copy: Use
/tmp/auto-optimize-*.mdduring iterations; apply to original only when converged
Constraints
| Constraint | Why |
|---|---|
| Converge, don't cap | No iteration limits—run until no issues |
| Atomic output | Original unchanged until fully converged |
| DRY | Delegate review to prompt-reviewer, fixes to prompt-engineering |
| User-in-the-loop | NEEDS_USER_INPUT issues require user resolution (with context, options); skip if user declines |
Output
Report: file path, iterations, issues fixed (auto vs user-resolved), issues skipped, summary of changes.
More from doodledood/claude-code-plugins
scrollytelling
Implements scroll-driven storytelling experiences with pinned sections, progressive reveals, and scroll-linked animations. Use when asked to build scrollytelling, scroll-driven animations, parallax effects, narrative scroll experiences, or story-driven landing pages.
127research-web
Deep web research with parallel investigators, multi-wave exploration, and structured synthesis. Spawns multiple web-researcher agents to explore different facets of a topic simultaneously, launches additional waves when gaps are identified, then synthesizes findings. Use when asked to research, investigate, compare options, find best practices, or gather comprehensive information from the web.\n\nThoroughness: quick for factual lookups | medium for focused topics | thorough for comparisons/evaluations (waves continue while critical gaps remain) | very-thorough for comprehensive research (waves continue until satisficed). Auto-selects if not specified.
21decide
Personal decision advisor for QUALITY over speed. Exhaustive discovery, option finding, sequential elimination, structured analysis. Use for investments, purchases, career, life decisions. Surfaces hidden factors, tracks eliminations with reasons, confident recommendations. Triggers: help me decide, should I, which should I choose, compare options, what should I do, weighing options.
20human-writing
Research-backed principles for writing prose that avoids AI tells. Apply when writing articles, blog posts, emails, marketing copy, social media, or any prose content. Covers vocabulary, structure, tone, rhythm, and craft techniques that make writing feel authentically human. Not for code, commit messages, or technical documentation.
15optimize-prompt-token-efficiency
Iteratively optimizes prompts for token efficiency by maximizing information density - reduces verbosity, removes redundancy, tightens phrasing while preserving semantic content. Use when asked to compress, shorten, reduce tokens, tighten, maximize density, increase information density, or make a prompt more concise.
13prompt-engineering
Craft or update LLM prompts from first principles. Use when creating new prompts, updating existing ones, or reviewing prompt structure. Ensures prompts define WHAT and WHY, not HOW.
13