Meta-Prompting: Using AI to Write Better Prompts
You do not have to write every prompt by hand. Meta-prompting is the practice of using AI to write, improve, and critique your prompts. Instead of staring at a blank box trying to recall every best practice, you describe the task and let the model draft a strong prompt for you. The model knows the patterns (roles, context, examples, output format) and applies them consistently.
This is one of the highest-leverage skills in advanced prompting, because a good meta-prompt produces a better starting prompt in thirty seconds than most people write in thirty minutes. But it only works if you give the model the right raw material and then verify the result against your eval set.
What You'll Learn
- What meta-prompting is and why it works
- The three meta-prompting moves: generate, improve, and critique
- How to give the model enough context to produce a genuinely good prompt
- Why you must still evaluate the generated prompt, not just trust it
- How to build a reusable "prompt generator" you can return to
Why Meta-Prompting Works
A capable model has seen an enormous number of prompts and knows the structure of an effective one: a clear role, relevant context, a precise task, constraints, examples, and an output format. When you ask it to write a prompt, it assembles those parts for you. It is essentially applying the entire prompt-engineering checklist on your behalf, every time, without forgetting a step.
The catch is that the model can only work with what you tell it. If you say "write me a prompt for emails," you get a generic prompt. If you describe the audience, the goal, the tone, the constraints, and what a great output looks like, you get a prompt tailored to your actual job.
The Three Meta-Prompting Moves
1. Generate. Start from nothing. You describe the task and ask the model to write the prompt. Best when you are setting up a new workflow.
2. Improve. Start from a prompt you already have that is underperforming. You hand the model your prompt and ask it to strengthen it. Best when something half-works and you want it better.
3. Critique. Ask the model to find the weaknesses in a prompt before you even run it: ambiguities, missing context, unhandled edge cases, conflicting instructions. Best as a quick review pass on any important prompt.
You will often chain them: generate a first draft, critique it, then improve it based on the critique.
Generating a Prompt From a Task Description
The quality of a generated prompt depends almost entirely on the brief you give. Here is a meta-prompt that pulls the right information out of you before writing.
The two parts that make this strong: it interviews you first, and it asks for example inputs at the end, which gives you a head start on your eval set.
Improving an Existing Prompt
When you already have a prompt, give the model the prompt and evidence of how it fails. A critique with examples is far more useful than a critique in the abstract.
Notice the constraint "without breaking the cases it already handles well." That is the eval mindset bleeding into meta-prompting: improvements must not cause regressions.
Critiquing Before You Run
A critique pass catches problems cheaply, before they show up in real use.
The Non-Negotiable: Evaluate the Result
Meta-prompting gives you a better starting point, not a finished answer. A generated prompt can still be wrong for your specific inputs. So the workflow is always:
- Generate, improve, or critique to get a candidate prompt.
- Run that candidate against your frozen eval set from earlier.
- Compare its score to your current prompt.
- Keep it only if the number went up.
Meta-prompting without evaluation is just trading your guess for the model's guess. Meta-prompting plus evaluation is a genuine optimization loop, which is exactly what the next lesson builds.
Build a Reusable Prompt Generator
Rather than retyping the meta-prompt each time, save your best one. Many people keep a "prompt to write prompts" in a notes app or as a saved custom assistant. Once you have a version that reliably interviews you and produces strong prompts, treat it as a tool and reuse it. Over time, tune it the same way you tune any prompt: against examples of prompts it generated that worked and ones that did not.
Key Takeaways
- Meta-prompting uses AI to generate, improve, and critique your prompts.
- It works because the model applies the full prompt-engineering checklist consistently, but only with the context you provide.
- Give rich briefs to generate, and give concrete failure examples to improve.
- A critique pass catches ambiguity, missing context, and contradictions before you deploy.
- Always run the generated prompt against your eval set and keep it only if the score improves.

