Mind · Reasoning

MetaPrompt

Use prompts to generate or refine other prompts

Definition

Mechanism

A higher-order Meta Prompting technique where prompts are used to generate, refine, or analyze other prompts rather than directly answering questions. The LLM acts as a prompt engineer, creating task-specific prompts from templates or improving existing prompts through critique. Enables reusable prompt templates that generalize across problem categories. It constructs a PromptChain where the output of the first stage is the prompt instruction for the second.

Preconditions

  1. Prompt engineering principles
  2. Task description

Postconditions

  1. Optimized prompt generated

Invariants

  1. Output is a prompt
  2. Prompt instructs how to prompt

Risks

Failure modes

  1. {{prompt}} Drift

    Generated prompts diverge from intent over iterations.

  2. {{meta}}-Complexity

    Meta-prompt harder to write than direct prompt.

  3. Overfitting

    Generated prompts too specific to examples.

Relationships

Builds on

References

Infrastructure

Meta

Higher-order abstraction

Infrastructure

Prompt

Structured instruction to a generative model, optionally role-tagged

Society

PromptChain

Sequential LLM calls with validation gates

Infrastructure

Task

The atomic unit of intent

Nothing in this library builds on this pattern yet.

Reference

Signature

  • Meta(Prompt)

Identity

Ref
MetaPrompt#5d11
Sema ID
sema:MetaPrompt#mh:SHA-256:5d117201e4b2fe776f32e4effb8bb9b0d541e361ba37468250283f277026c974
Ring
2
Tier
1
Updated
2026-11-11
Supersedes
  • sema:MetaPrompt#mh:SHA-256:7a3a4dd5ba4513c3636d3d018e632f7503cc77e0d0bbb946975e00ba8257be92
  • sema:MetaPrompt#mh:SHA-256:a60668b9460c39064cec2e6b4a87e6f4d92e4164927ba453f3cf4ecdb7622f43
  • sema:MetaPrompt#mh:SHA-256:a66501101ec29854bb461a93e28bea471b5726a17085db26987c60ac65c1488d
  • sema:MetaPrompt#mh:SHA-256:db51ab77fd1592155749c401b495f1090c0bc820458fe34b2412ce040c7e70ef
  • sema:MetaPrompt#mh:SHA-256:f99473d1cac3cde3e39a0428c73a91c366925a3845747631a8f89a01137b582d
  • sema:MetaPrompt#mh:SHA-256:308ceb209aa848e10d8d3693adf4ad8aea7d957d918958034acc1a78524e8fcc