Logo de Meta Prompt Builder

Meta Prompt Builder

Comunidade
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.

Visão geral

Publicado porchrono-meta
Repositórioforge-harness
Nome da habilidademeta-prompt-builder
Estrelas
32
Forks
1
Arquivos incluídos
1
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    As habilidades de IA são escritas em Markdown simples, não em código específico de um provedor. Por isso, funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • Arquivos incluídos: 1

    Scripts, templates e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente para leitura e nunca são executados.

  • Código aberto

    Publicada por chrono-meta no GitHub. Leia os arquivos da habilidade antes de instalá-la.

Instalação

Instale a habilidade de IA Meta Prompt Builder no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL abaixo, que aponta para a pasta da habilidade, e confirme.
    https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/meta-prompt-builder
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Adicionar habilidade → Via URL do GitHub. Depois, cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Meta Prompt Builder em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Meta Prompt Builder automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Meta Prompt Builder não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Meta Prompt Builder faz?

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.

Por que usar Meta Prompt Builder no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. A habilidade Meta Prompt Builder é escrita em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. No TypingMind, você usa suas próprias chaves de API e paga diretamente aos provedores, em vez de pagar uma assinatura por licença de usuário. Suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Meta Prompt Builder no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/chrono-meta/forge-harness/tree/main/plugins/fh-meta/skills/meta-prompt-builder. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Meta Prompt Builder?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Meta Prompt Builder?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Meta Prompt Builder com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Meta Prompt Builder é gratuita?

Sim. A habilidade é publicada no GitHub por chrono-meta sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, templates ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas que ele pode acionar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA dá ao modelo o conhecimento e as orientações de que ele precisa: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver lista completa

Crie seu próprio espaço de trabalho com IA agora

Inscreva-se na nossa newsletter para receber avisos sobre novos recursos e futuros sorteios 👇