firehose> #llmops

Meta-Prompt

A prompt that writes a prompt (or a plan, or a spec): a reusable, templated instruction that takes a small request and expands it into a large, structured artifact an agent then executes. The template carries fixed scaffolding written exactly as it must appear, plus labelled placeholders — <requested content> slots you replace, and conditional <if task_type is feature or complexity is medium/complex, include these sections:> blocks that expand only when relevant. The meta-prompt author fixes the shape of good output; the invocation fills the content. Because the artifact is one file (e.g. a Claude Code slash command like plan_w_team.md), it is deployed over and over — "it only takes one time to build out a great [prompt]" and it "gives value every single time" (see Reusable Workflow Library).

Concretely: plan_w_team.md takes two arguments — a USER_PROMPT (what to build) and an ORCHESTRATION_PROMPT (how to staff and sequence the team) — and generates a full implementation plan with ## Task Description, ## Objective, ## Relevant Files, ## Step by Step Tasks, ## Acceptance Criteria, ## Team Orchestration, and ### Team Members. A Stop hook then runs validators that assert the generated plan actually contains those required sections before the plan is accepted — the meta-prompt's output format is enforced, not merely requested.

The template is instructing an agent to build the plan "as you would" — teaching the primary agent how to produce the artifact, so the leverage compounds: you author the generator once and it produces well-shaped specs on demand.

Claims


Linked from