{
 "library": "bootstrap",
 "version": "0.11.0",
 "root": "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5",
 "license": null,
 "slug": "MetaPrompt",
 "ref": "MetaPrompt#5d11",
 "hash": "sema:MetaPrompt#mh:SHA-256:5d117201e4b2fe776f32e4effb8bb9b0d541e361ba37468250283f277026c974",
 "stub": "5d11",
 "layer": "Mind",
 "type": "Reasoning",
 "summary": "Use prompts to generate or refine other prompts",
 "mechanism": "A higher-order Meta#f277 Prompt#1b04ing 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#02b5 where the output of the first stage is the prompt instruction for the second.",
 "invariants": [
  "Output is a prompt",
  "Prompt#1b04 instructs how to prompt"
 ],
 "parameters": {},
 "signature": [
  "Meta(Prompt)"
 ],
 "preconditions": [
  "Prompt#1b04 engineering principles",
  "Task#a850 description"
 ],
 "postconditions": [
  "Optimized prompt generated"
 ],
 "failure_modes": [
  "Prompt#1b04 Drift: Generated prompts diverge from intent over iterations.",
  "Meta#f277-Complexity: Meta#f277-prompt harder to write than direct prompt.",
  "Overfitting: Generated prompts too specific to examples."
 ],
 "domain": "",
 "caution": "",
 "sources": [],
 "name": "MetaPrompt",
 "builds_on": [
  {
   "alias": "meta",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Meta",
   "ref": "Meta#f277",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Meta"
  },
  {
   "alias": "prompt",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Prompt",
   "ref": "Prompt#1b04",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Prompt"
  },
  {
   "alias": "task",
   "relation": "references",
   "library": "bootstrap",
   "slug": "Task",
   "ref": "Task#a850",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/Task"
  },
  {
   "alias": "prompt_chain",
   "relation": "references",
   "library": "bootstrap",
   "slug": "PromptChain",
   "ref": "PromptChain#02b5",
   "url": "https://semahash.org/vocabularies/bootstrap/patterns/PromptChain"
  }
 ],
 "related": [],
 "used_by": [],
 "url": "https://semahash.org/vocabularies/bootstrap/patterns/MetaPrompt",
 "md_url": "https://semahash.org/vocabularies/bootstrap/patterns/MetaPrompt.md",
 "library_url": "https://semahash.org/vocabularies/bootstrap"
}
