# Meta-prompting

> Canonical: https://skillalmanac.com/glossary/meta-prompting | Last verified: 2026-11-24 | Index status: not offered to search engines

Meta-prompting means using a language model to write or improve prompts, for example by giving it a task description and asking for a good prompt. The term is also used for prompts that stress structure over content.

Also called: meta prompting, meta prompt, prompt to write prompts, prompt generator, meta-prompts.

## In plain language

Meta-prompting is asking an AI to write the instructions for an AI. Instead of staring at a blank page, you describe the job, such as sorting support emails, and ask a model to draft the prompt that would do it. You then test and edit that draft. It is like asking an experienced colleague to draft a brief for you. It saves a first draft, but it does not guarantee a good prompt: the draft is only as accurate as your task description, and the model can still misunderstand your needs. Run the generated prompt on real examples before relying on it.

## Technical definition

In the sense used by prompt-generation tools, a meta-prompt is a prompt that instructs a model to create a good prompt from a task description, or to improve an existing one. OpenAI's prompt generation guide says the Generate button in its Playground uses meta-prompts that incorporate best practices to generate or improve prompts. Anthropic's announcement says its prompt generator is based on a long prompt that itself uses many prompting techniques, and that the generated templates are editable. A second usage appears in the Prompt Engineering Guide, which describes meta prompting as an approach that focuses on the structural and syntactical aspects of tasks and emphasizes form and pattern over content. The two senses are related but not identical.

## How it shows up when you use agents

Meta-prompting is most visible in two places. The first is prompt generators: OpenAI's Playground has a Generate button, and Anthropic's Console has a prompt generator. Both take a task description and return a draft prompt or template. The second is in agent work, where you ask a model to write instructions for another agent, such as a subagent brief, a skill or an [agent instruction file](/glossary/agent-instruction-file).

Three habits make it useful.

- **Describe the task in detail.** The draft comes from your description. Vague input gives a generic prompt.
- **Treat the output as a first draft.** Anthropic's announcement says the generated templates are editable so you can tweak them. Edit, then test on real inputs. A model can make a confident prompt that fails on your actual cases.
- **Keep the working version.** Save the final prompt in your repository or tool, not only in a chat, so it can be reviewed and reused. See [prompt template](/glossary/prompt-template).

What breaks when this is misunderstood: people skip testing because the prompt reads well, or generate prompts about a task they have not yet thought through. Another failure is losing the original intent through repeated rewrites, since each pass can drift. Next action: write down three real inputs and the output you expect for each, generate a prompt, and run it on those before you adopt it. This is a part of [prompt engineering](/glossary/prompt-engineering), and the result can be one step in a [prompt chain](/glossary/prompt-chaining).

## Common confusions

- **Meta-prompting versus prompt engineering.** [Prompt engineering](/glossary/prompt-engineering) is the whole practice of writing and testing prompts. Meta-prompting is the specific move of using a model to help write them.
- **Two meanings.** Prompt-generation tools use "meta-prompt" for a prompt that writes prompts. The Prompt Engineering Guide uses "meta prompting" for a structure-focused style. Check which one a source means.
- **Meta-prompting versus the system prompt.** A [system prompt](/glossary/system-prompt) is standing instructions. A meta-prompt is an instruction used to produce prompts, including a system prompt.
- **Myth: a generated prompt is tested.** Generation produces a draft. Testing is a separate step you carry out.

## Worked examples in this catalogue

### [prompt-writing](https://skillalmanac.com/skills/skill-almanac/prompt-writing)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: Prompts written and linted with a fixed structure, injection rules and a numeric test plan.

Why it exercises the concept: It is a prompt-writing procedure you can hand to a model, so the model's output is a prompt, with a lint and a test plan to check the draft.

### [skill-creator](https://skillalmanac.com/skills/anthropic/skill-creator)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: New skills created, existing ones improved, and their performance measured.

Why it exercises the concept: A skill is a set of written instructions for an agent. Using a model to draft and refine them, then measuring the result, is the same write-test-improve loop as meta-prompting, applied to skills.

### [subagent-design](https://skillalmanac.com/skills/skill-almanac/subagent-design)

Status: illustrative example from the item's own documentation, not executed for this page.

What you see: A decision about what to delegate, then subagent definitions and briefs written so that they work without the conversation.

Why it exercises the concept: Writing a brief for another agent is writing a prompt for it. The skill treats that as a design task with a check that the brief stands alone.

## Related terms

- [Prompt engineering](https://skillalmanac.com/glossary/prompt-engineering.md)
- [Prompt](https://skillalmanac.com/glossary/prompt.md)
- [Large language model (LLM)](https://skillalmanac.com/glossary/large-language-model.md)
- [Prompt template](https://skillalmanac.com/glossary/prompt-template.md)
- [System prompt](https://skillalmanac.com/glossary/system-prompt.md)
- [Context engineering](https://skillalmanac.com/glossary/context-engineering.md)

## Sources

- [Prompt generation](https://developers.openai.com/api/docs/guides/prompt-generation), OpenAI (API Docs) (accessed 2026-11-24)
- [Generate better prompts in the developer console](https://claude.com/blog/prompt-generator), Anthropic (accessed 2026-11-24)
- [Meta Prompting](https://www.promptingguide.ai/techniques/meta-prompting), Prompt Engineering Guide (DAIR.AI) (accessed 2026-11-24)

Definitions are written by Skill Almanac from the sources above and checked against them on 2026-11-24. [Glossary index](https://skillalmanac.com/glossary.md).
