Meta Prompt Builder 标志

Meta Prompt Builder

社区
chrono-meta
meta-prompt-builder

Generates structured prompts to send to each agent in an agent dispatch plan. Triggered by "write the instructions", "what do I say to the agent?", "write the prompt for me", "meta-prompt-builder". Bridges agent-composer (which agents) and prompt content (what to say). Uses Goal/Context/Constraints/Done When structure.

概览

发布者chrono-meta
代码仓库forge-harness
技能名称meta-prompt-builder
星标数
32
复刻数
1
附带文件
1
许可协议MIT
链接
  • Markdown 格式的指令

    模型按需加载 SKILL.md 文件,因此只有在请求确实与该技能匹配时才会消耗 Token。

  • 兼容任何大语言模型

    AI 技能采用纯 Markdown,而非特定提供商的代码,因此可搭配 GPT、Claude、Gemini、Grok 或本地模型使用。

  • 1 个附带文件

    模型执行任务时可读取的脚本、模板和参考资料。这些文件为只读文件,绝不会被执行。

  • 开源

    由 chrono-meta 发布于 GitHub。请在安装前查看技能的源文件。

安装

在 TypingMind 中安装 Meta Prompt Builder AI 技能,即可搭配任意大语言模型使用;也可以将其放入其他支持读取 SKILL.md 的智能体中。

1

安装到 TypingMind

TypingMind 可直接从 GitHub 文件夹安装技能:读取 SKILL.md,打包资源文件,并将结果保存在本地。

  1. 打开应用,前往“插件 → 技能”。
  2. 选择“从 GitHub 安装”。
  3. 粘贴下方的技能文件夹 URL 并确认。
    https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/meta-prompt-builder
  4. 请在每个需要使用该技能的聊天中启用它。
依次选择“插件 → 技能 → 添加技能 → 从 GitHub URL 导入”,然后粘贴文件夹 URL 并点击“继续”。
2

安装到其他智能体

任何支持 Agent Skills 格式的智能体都可以使用此技能,只需将文件夹复制到该智能体的技能目录中。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/chrono-meta/forge-harness.git /tmp/forge-harness
mkdir -p .claude/skills
cp -r /tmp/forge-harness/plugins/fh-meta/skills/meta-prompt-builder .claude/skills/meta-prompt-builder
复制后,请重启 Claude Code,以加载新技能。

在 TypingMind 中使用此技能

在任意 TypingMind 聊天中启用 Meta Prompt Builder,后续即可交由模型处理。技能的名称和描述会放在系统提示词中,一旦请求匹配,模型就会自动加载完整指令,无需您手动调用,且在实际使用前不会消耗 Token。

一旦请求与技能匹配,模型就会自动加载 Meta Prompt Builder。

兼容任何 AI 模型

AI 技能是纯 Markdown 指令,而非特定提供商的代码,因此 Meta Prompt Builder 不局限于最初适配的模型。只需在 TypingMind 中安装一次,即可搭配 GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 或您自行运行的本地模型使用,全程使用您自己的 API 密钥。

  • 仅在需要时加载

    系统提示词中仅包含技能名称和描述。首次遇到匹配的请求时才会加载完整指令,因此技能未使用时,这些指令不会消耗 Token。

  • 在聊天中切换模型

    技能是指令而非代码,因此切换模型不会导致技能失效,新模型会读取同一个 SKILL.md。

技能指令

这是模型会加载的 SKILL.md 内容。请在安装前阅读,因为技能就是模型将遵循的指令。

meta-prompt-builder — Prompt Delegation Skill

When agent-composer decides "what to orchestrate", meta-prompt-builder designs "what to say to each agent." Delegates prompt writing itself to AI — interprets Goal / Context / Constraints / Done When structure within the FH context.

Primary Users

agent-composer proficients — People who already have an orchestration plan and want to structure the specific instructions for each agent. Use this when you already know "which agents to use."

Beginners (unsure which agents to use) → start with agent-composer first. meta-prompt-builder is a post-orchestration step.

Triggers

  • /meta-prompt-builder
  • Automatically suggested immediately after agent-composer outputs an orchestration plan when user says "how do I instruct each one specifically?"
  • "Write the prompts per Wave", "What should I say to each agent?", "Design the instructions"
  • "I don't know what to tell the agents"
  • "Tell me how to instruct this task so it's handled well"
  • "Write the prompt for me"
  • "Tell me how to request this from Claude"
  • "How should I write the instructions?"

Step 0. Receive Task

Input: natural language task description + (optional) agent-composer orchestration plan

If no input is provided, ask for 4 fields:

What task are you designing a prompt for?
 - Goal: What are you trying to achieve?
 - Context: What project, files, or harness state is involved?
 - Constraints: What should be avoided? Are there budget or time limits?
 - Done When: When can you say "it's done"?

Natural Language Goal → Auto-suggest Recommended Chain

When Goal is provided in natural language (e.g., "I need to report to the team lead"), suggest a recommended chain using the keyword mapping below.

Goal keywordRecommended chainReason
"report", "team lead", "executive", "CTO", "persuade", "review"apex-review → (sim-conductor if needed)Decision-maker simulation then quality validation
"analyze", "diagnose", "something seems off"harness-doctor → context-doctorStructural + contextual diagnosis simultaneously
"simulate", "validate", "meta"sim-conductor (D-code or Area B)Multi-perspective validation
"install", "setup", "onboarding"plugin-recommender → install-wizardRecommend then install
"review", "code check"sim-conductor D-code → harness-pr-reviewerCode review chain

Output format:

Recommended chain: {Goal keyword} →
  Wave 1: {Agent A} — {1-line reason}
  Wave 2: {Agent B} — {1-line reason}
→ Proceed with this chain? (Y: immediately orchestrate with agent-composer / N: enter 4-field directly)

Step 1. Reinterpret as FH 4-field

Structure the input task according to FH context.

FieldFH interpretation
GoalThe harness state change this agent combination must achieve
ContextHarness version + latest sim result M/S tier + target file paths
ConstraintsSimplification guard + no self-recursion + no inter-Wave file conflicts
Done WhenM-tier 0 items OR specified agent fan-in complete OR N naming candidates produced

Step 2. Generate Per-Agent Prompt Drafts

Receive agent-composer orchestration plan as input and generate instructions to deliver to each agent per Wave.

Format:

Wave {N}-{ID}: [{agent name}]
  Goal: {1 line}
  Context: {harness state in 3 lines max}
  Constraints: {prohibited items in 2 lines max}
  Done When: {evaluation criterion in 1 line}
  ───────────────────────────────
  Actual instruction:
  "{Natural language instruction for the agent — 2–4 sentences}"

When called standalone without an agent-composer plan: collect 4-field directly via Step 0 questions, then generate a single-agent prompt.


Step 3. Quality Self-Validation

Before outputting the generated prompt draft, check against 3 criteria.

  1. Goal achievability: Is the Goal achievable within the agent's allowed-tools range?
  2. Done When measurability: Is Done When a measurable event in the M/S/R framework?
  3. Context alignment: Does the Context match the "target" scope defined in the agent's SKILL.md?

Items that fail the check are marked [WARN] and the decision is delegated to the user.

Step 3 bias prevention: When checking Goal achievability, Read the agent's SKILL.md to directly verify (directly compare allowed-tools list). Since generator and validator are the same LLM, self-validation without external reference repeats bias.

Done When completeness check: Even if Done When is measurable in the M/S/R framework, the following 3 must also be stated to pass without WARN:

  1. Measurement subject (which agent's output is the basis)
  2. Measurement timing (absolute basis for this run vs relative to previous run)
  3. Version / baseline (harness-doctor version, sim-conductor Area, etc.)

Done When Ambiguity Patterns — Automatic WARN Triggers

If Done When contains any of the following patterns, automatically emit [WARN: Done When not measurable].

Ambiguity typeExample expressionWARN reason
Subjective completion"if it goes well", "if it's done properly", "if it feels right"No binary judgment criterion
Speed without numbers"quickly done", "finished soon"No count/time criterion
Absence description"if there are no issues", "if there are no errors"Cannot count as M/S/R
Unconditioned completion"when it's all done", "when finished"What state counts as complete is undefined

Acceptable form examples:

  • "M-tier 0 items" ✅
  • "harness-doctor fan-in complete + S-tier 3 or fewer" ✅
  • "Scenario 1 PASS verdict received" ✅

Integration with Existing FH Assets

AssetIntegration direction
agent-composerInput source: orchestration plan → meta-prompt-builder elaborates Wave-by-Wave prompts
sim-conductorOutput validation: generated prompts can be quality-validated via D-code mode
fact-checkerWave 0 gating: check if generated prompts overlap or conflict with existing assets
field-harvestContext field input source: field patterns can be reflected in Constraints
harness-doctorDone When cross-validation: verify alignment with harness-doctor checklist

Meta-Simulation Validation Criteria (required after onboarding)

Detail: See SKILL_detail.md §Meta-Simulation Validation Criteria — 3-axis functional/performance measurement (goal achievement / context alignment / constraint validity) + 3 validation scenarios + marketplace-gate onboarding gate — read after onboarding when validating the skill itself, not per-invocation.


Done When

This skill's own Done When must satisfy the 3-part completeness check it imposes on others (measurement subject · measurement timing · version/baseline). The previous version — All steps 0–3 completed — met 0 of 3 and matched its own Unconditioned completion WARN pattern.

Measurement subject: this skill's own output — the prompt draft set
                     produced in this invocation (not the dispatched
                     agents' results, which this skill never sees)
Measurement timing:  absolute, at end of this run — no comparison to a
                     previous run is implied or required
Version / baseline:  the Step 3 checklist and the WARN-trigger table in
                     THIS file; note the SKILL.md revision used if the
                     table has changed since the draft was written

☐ Steps 0–3 each produced their named artifact — a step with no
  artifact is incomplete, not "completed"                        (measured: 4 steps, 4 artifacts)
☐ One prompt draft exists per agent named in the dispatch plan   (measured: drafts == agents
                                                                  in plan)
☐ Every draft carries all four fields (Goal / Context /
  Constraints / Done When), none empty                           (measured: 4 fields × N drafts,
                                                                  0 empty)
☐ Each draft's own Done When was run through the 3-part
  completeness check and the WARN-trigger table, with the
  result recorded per draft                                      (mandatory-pass)
☐ Every Goal was checked against the target agent's declared
  allowed-tools by READING that agent's SKILL.md — not from
  recall                                                          (mandatory-pass)
☐ [WARN] items are surfaced to the user with the reason, and
  the decision is the user's                                     (mandatory-pass)
☐ Drafts are handed over for review, not dispatched              (mandatory-pass)
☐ The drafts are usable by the target agent as written           (judged — adversarial pairing:
                                                                  generator and validator are the
                                                                  same model, so self-validation
                                                                  repeats its own bias. Have the
                                                                  target agent, or a different
                                                                  model, read one draft cold and
                                                                  state what it would do; a
                                                                  divergence from the intended
                                                                  task is a FAIL)

Simplification Guard

  • meta-prompt-builder does not execute agents directly. Prompt design only.
  • Requests without Done When must be confirmed before proceeding.
  • Generated prompts are always reviewed by the user before execution.

附带文件

技能加载后,模型会按需读取这些文件。它们仅作为可读文件提供,绝不会被执行。

常见问题

Meta Prompt Builder AI 技能有什么作用?

Generates structured prompts to send to each agent in an agent dispatch plan. Triggered by "write the instructions", "what do I say to the agent?", "write the prompt for me", "meta-prompt-builder". Bridges agent-composer (which agents) and prompt content (what to say). Uses Goal/Context/Constraints/Done When structure.

为什么在 TypingMind 中使用 Meta Prompt Builder?

因为您只需安装一次,就能搭配任何模型使用。Meta Prompt Builder 采用纯 Markdown 格式,而非特定提供商专用的代码,因此同一技能可用于 GPT-5、Claude、Gemini、Grok 或本地模型。您甚至可以在聊天中途切换模型,而不会影响技能的正常使用。TypingMind 使用您自己的 API 密钥,因此您直接向提供商付费,而不是按席位订阅;您的技能和聊天记录也都保留在您自己的存储空间中。

如何在 TypingMind 中安装 Meta Prompt Builder?

在 TypingMind 中打开“插件 → 技能 → 从 GitHub 安装”,然后粘贴 https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/meta-prompt-builder。TypingMind 会读取其中的 SKILL.md,打包相关文件,并将其安装为技能,供您在各个聊天中按需启用。

哪些 AI 模型可以使用 Meta Prompt Builder?

您在 TypingMind 中连接的任何模型都可以。AI 技能采用纯 Markdown 指令,而非特定提供商专用的代码,因此 GPT、Claude、Gemini、Grok 和本地模型都能在请求匹配时加载此技能。

Meta Prompt Builder 可以搭配多少个 AI 模型使用?

数量不限。只要模型支持技能,您就可以将它与 Meta Prompt Builder 搭配使用。GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llama 等模型都可以通过您自己的 API 密钥接入 TypingMind。

Meta Prompt Builder AI 技能免费吗?

是的。chrono-meta 已在 GitHub 上根据 MIT 许可证发布了该技能。您只需向自己的 AI 提供商支付所用 Token 的费用。

什么是 AI 技能?

AI 技能是一组可复用的指令,用于教会 AI 模型完成某项特定任务。它遵循开放的 Agent Skills 格式:包含名称和描述的 SKILL.md 文件,以及模型可能需要的脚本、模板或参考文件。模型仅在您的请求与技能匹配时才会读取这些指令,因此已安装的技能在使用前不会产生任何费用。

AI 技能与插件或 MCP 服务器有何不同?

插件或 MCP 服务器为模型提供可调用的新工具,也就是在某处运行并返回结果的代码。AI 技能则为模型提供知识和流程:如何处理任务、遵循哪些步骤,以及怎样的输出才算优质。技能采用纯 Markdown 格式,因此不需要服务器、API 密钥或运行时环境,并且适用于任何模型。

查看全部

立即创建您自己的 AI 工作区

订阅我们的电子简报,获取新功能和后续赠奖活动的通知 👇