Prompting

Meta-Prompt

A prompt that instructs the model to generate or improve other prompts.

Full Definition

A meta-prompt tasks the model with prompt engineering itself — either writing a new prompt from a task description, critiquing an existing prompt, or generating a set of prompt variants for testing. This exploits the model's deep familiarity with what makes prompts work and can surface phrasing or structures the human author would not have thought of. Meta-prompting is widely used in automated prompt optimisation pipelines where prompts are evolved programmatically. It requires carefully scoping the output format so the generated prompt is directly usable without manual cleanup.

Examples

1

'You are an expert prompt engineer. Write a system prompt for an AI coding assistant that should help junior developers debug Python errors.'

2

'Critique the following prompt for ambiguity and rewrite it to be clearer: [prompt text]'

Apply this in your prompts

PromptItIn automatically uses techniques like Meta-Prompt to build better prompts for you.

✦ Try it free

You might also like

How to Write Better AI Prompts (Step-by-Step)Meta-Prompting: Asking AI to Write PromptsWrite Meta DescriptionsSEO Meta DescriptionFAQ PagePrompt Engineering Guide 2026: What Actually Works

Related Terms

System Prompt

The instruction layer sent before any user message that controls how an AI model

View →

Iterative Prompting

Refining a prompt through multiple rounds of feedback until the output meets req

View →

Prompt Template

A reusable prompt structure with placeholders that are filled in at runtime.

View →
Browse the AI prompt glossary