← Back to Library
AllAdvancedIdeas

Meta-Prompting Automatic Prompt Optimizer

Automatically optimizes prompts by asking the model to write the best prompt for performing a specific task.

❀️ 1,920 likes

πŸ“‹ Full Prompt

You are the world's best prompt engineer. Design the optimal prompt for this task: [Task Goal]: [Specific desired output] [Target AI Model]: [model name] [Key Constraints]: [important limitations] [Failure Patterns]: [approaches that haven't worked before] Write an optimized prompt with these criteria: 1. System prompt that clearly establishes the model's role 2. Instructions specifying desired output format 3. One good example and one bad example 4. Specific language that eliminates ambiguity Write the completed prompt and explain why it is effective.

πŸ’¬ Input Example

Task Goal: Design a customer feedback classifier prompt with accurate sentiment analysis

✨ Output Example

[System] You are an NLP expert... [Instructions] Classify in this format: {sentiment, category, priority} [Good example] ... [Bad example] ...

🏷️ Tags

#prompt optimization#automation#meta

πŸ’‘ Usage Tips

  • βœ…Replace the variables in brackets ([]) with your specific situation.
  • βœ…Specify the desired tone and length of writing for more accurate results.
  • βœ…Request additional modifications based on the generated output to improve quality.
  • βœ…Specifying a particular audience allows AI to adjust vocabulary and explanation level.

πŸ”— Related Prompts

Effective Writing Strategies with AI

AI writing prompts let you efficiently produce blog posts, business emails, press releases, novels, and more. The key is to assign AI a precise role, and clearly specify the desired tone, length, and target audience. For example, requesting "write a 2000-word SEO-optimized blog post in a professional tone" yields significantly higher-quality output. After generating a draft, iterative feedback helps elevate the final quality step by step.

This prompt belongs to the Ideas category, optimized for All at a Advanced level. It is systematically designed applying core prompt engineering principles: role assignment, context setting, and constraints.

Explore More Prompts

Discover 90+ verified prompts in the PromptGenie library.

Browse Library