Auto optimize prompt
Skill doodledood/manifest-dev/.claude/skills/auto-optimize-prompt
Iteratively auto-optimize a prompt until no issues remain. Uses review-prompt in a loop, asks user for ambiguities, applies fixes via prompt-engineering skill. Runs until converged.From its SKILL.md
npx -y skills add doodledood/manifest-dev --skill auto-optimize-promptAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
SKILL.md
1.2 KB, as published. Nobody here has run it
Auto-Optimize Prompt
User request: $ARGUMENTS
Iteratively optimize a prompt until no issues remain.
Goal
Loop until a general-purpose agent that activates the review-prompt skill 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 a general-purpose agent activating the review-prompt skill, 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.