The "Meta-Prompt" Technique: How One Instruction Makes AI Write Prompts for You

The "Meta-Prompt" Technique: How One Instruction Makes AI Write Prompts for You

In late January 2025, developers from the OpenAI Prompt Engineering and Anthropic teams published the results of internal experiments: it turns out that GPT-4o and Claude 3.5 Sonnet models show significantly better results if you first ask them to write an optimal prompt for your task and then execute it. This technique has been dubbed the "meta-prompt" or "prompt about prompt."

How it works

Usually, we write a request directly: "Write an email newsletter for a course launch." The model provides text—sometimes good, sometimes generic.

A meta-prompt works differently. You ask the model to:

  1. Formulate the ideal instruction for your task—including role, context, format, and constraints.
  2. Execute this instruction and provide the final result.

Example request:

"First, write an optimal prompt for the task: create an email newsletter about the launch of an interior design online course for an audience aged 30–45. Then, execute this prompt and create the email text."

In response, the model first provides a detailed instruction—specifying tone, structure, key sections, and calls to action. Then, it writes the email itself, following that instruction.

Why the result is better

Internal tests showed a 20–35% increase in quality based on metrics of relevance and completeness. The reason is simple: the model explicitly articulates all the requirements for the task and guides itself. It works much like a self-check—the AI doesn't miss important details and avoids falling into generic phrasing.

The effect is especially noticeable in tasks where structure is important:

  • writing technical documentation;
  • creating marketing materials with a specific tone of voice;
  • generating lesson plans and teaching guides;
  • preparing analytical reports.

How to apply it in your work

The meta-prompt requires no complex setup. Simply add this phrase to the beginning of your request:

"First, formulate an optimal prompt for this task, then execute it."

Or a more detailed version:

"Step 1: Describe the best prompt for the task [task description]. Specify the role, context, format, and constraints. Step 2: Execute this prompt and provide the result."

The technique works across all popular models—GPT-4, Claude, and Gemini. In GEMERA AI, you can test the meta-prompt with any of these models directly in the chat or web interface.

What this changes

The meta-prompt lowers the barrier to entry for beginners: there is no need to study prompt engineering guides—the model itself will suggest how to properly formulate the request. For experienced users, it saves time: instead of several rounds of revisions, you get a high-quality result on the first try.

The main limitation is that token consumption increases by about 30–40% because the model generates the prompt first and then the response. However, if the task is complex and requires precision, the extra tokens are well worth the result.

Want to try the meta-prompt in practice? Open a chat with GPT-4, Claude, or Gemini in GEMERA AI, add the phrase about formulating a prompt to the beginning of your request, and compare the result with a standard response. The difference is noticeable from the very first use.