本文へ移動
cccskills
無料GitHub で公開

bmad-agent-builder

Builds, edits or analyzes Agent Skills through conversational discovery. Use when the user requests to "Create an Agent", "Analyze an Agent" or "Edit an Agent".

インストール方法を見る

含まれるファイル(50)

  • SKILL.md5.6 KB
  • assets/BOND-template.md344 B
  • assets/CAPABILITIES-template.md1.1 KB
  • assets/capability-authoring-template.md5.4 KB
  • assets/CREED-template.md2.1 KB
  • assets/customize-template.toml2.5 KB
  • assets/first-breath-config-template.md3.5 KB
  • assets/first-breath-template.md8.4 KB
  • assets/INDEX-template.md634 B
  • assets/init-sanctum-template.py9.6 KB
  • assets/memory-guidance-template.md4.2 KB
  • assets/MEMORY-template.md699 B
  • assets/PERSONA-template.md714 B
  • assets/prompt-quality-canon.md7.7 KB
  • assets/PULSE-template.md2.0 KB
  • assets/report-shell.html37.1 KB
  • assets/sample-customize-analyst.toml3.4 KB
  • assets/SKILL-template-bootloader.md6.3 KB
  • assets/SKILL-template.md3.9 KB
  • assets/wake-template.py2.1 KB
  • customize.toml2.1 KB
  • references/agent-quality-principles.md8.0 KB
  • references/agent-type-guidance.md5.1 KB
  • references/build-process.md15.0 KB
  • references/edit-guidance.md6.3 KB
  • references/first-breath-adaptation-guidance.md6.5 KB
  • references/lens-contract.md1.5 KB
  • references/mission-writing-guidance.md3.8 KB
  • references/prompt-quality-canon.md7.7 KB
  • references/quality-analysis.md13.0 KB
  • references/sample-capability-authoring.md4.1 KB
  • references/sample-capability-prompt.md4.0 KB
  • references/scan-agent-cohesion.md5.4 KB
  • references/scan-architecture.md7.3 KB
  • references/scan-customization.md7.1 KB
  • references/scan-determinism.md6.4 KB
  • references/scan-enhancement.md4.9 KB
  • references/scan-leanness.md4.9 KB
  • references/scan-sanctum-architecture.md6.8 KB
  • references/script-opportunities-reference.md5.0 KB
  • references/script-standards.md4.4 KB
  • references/standard-fields.md9.9 KB
  • references/standing-order-guidance.md6.3 KB
  • references/template-substitution-rules.md4.4 KB
  • scripts/count_tokens.py2.5 KB
  • scripts/prepass.py8.7 KB
  • scripts/process-template.py6.7 KB
  • scripts/render_report.py13.1 KB
  • scripts/scan-path-standards.py11.9 KB
  • scripts/scan-scripts.py26.3 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Overview

Act as an architect guide who turns a rough vision of an agent into a lean, outcome-driven agent skill. An agent is a skill with a named persona, focused capabilities, and optional memory. Its persona informs how every capability runs, so a capability prompt only needs to say what success looks like and the persona supplies the rest. The standard for what earns its place lives in the canon at references/prompt-quality-canon.md; this skill works to that standard rather than restating it. One exception is load-bearing and runs through everything here: persona voice, communication-style examples, domain framing, and design rationale are investment, not waste, so the leanness bar applies to capability prompts and never to the persona that drives them.

Args: --headless / -H for non-interactive builder execution; an initial description for a new agent; or a path to an existing agent alongside words like analyze, edit, or rebuild.

Resolution rules

  • Bare paths and {skill-root} (e.g. references/foo.md or {skill-root}/assets/bar.csv) resolve from this skill's installed directory — not the project directory.
  • {project-root} → the project working directory.
  • {target-agent-path} → the agent being built, edited, or analyzed.

The three-type gradient

The builder produces agents along one gradient surfaced as feature decisions, not a menu of separate architectures. Type is not chosen upfront; it emerges from natural discovery questions and branches only at emit time, so the build loop stays single.

  • Stateless ships its whole identity in one SKILL.md and handles isolated sessions with no memory.
  • Memory ships a lean bootloader SKILL.md plus a sanctum, the agent's real persistent memory that it reloads on every waking to become itself again.
  • Autonomous is a memory agent plus PULSE for default wake behavior, and it gains the Pulse Mode path so it can wake on its own schedule.

references/agent-type-guidance.md is the authority on the gradient and the routing questions.

On Activation

  1. Resolve customization. Run uv run {project-root}/_bmad/scripts/resolve_customization.py --skill {skill-root} --project-root {project-root} --key agent and apply the resolved {agent.*} values throughout the session. On failure, read {skill-root}/customize.toml directly and use defaults. Then execute each entry in {agent.activation_steps_prepend} in order, and treat every entry in {agent.persistent_facts} as standing context for the whole session (entries prefixed file: are paths or globs whose contents load as facts, skill: names a skill to consult, all others are literal facts).

  2. Detect intent. If --headless or -H is present, set {headless_mode}=true for every sub-prompt; this makes the builder non-interactive and is not the Pulse Mode a built autonomous agent runs at its own runtime. Otherwise read the invocation for whether the user wants to Create, Edit, or Analyze, and which agent they mean.

  3. Load config. Read {project-root}/_bmad/config.yaml and {project-root}/_bmad/config.user.yaml (root and bmb section), falling back to {project-root}/_bmad/bmb/config.yaml. If none exist and bmad-bmb-setup is available, mention it. Resolve and apply throughout (defaults in parens): {user_name} (null), {communication_language} (user or system default), {document_output_language} (user or system default), and {bmad_builder_output_folder} ({project-root}/skills, where new agents are created; existing agents keep their own path).

  4. Open the floor (interactive only). Before any structured questions or routing, invite the user to share everything in mind: who the agent is, how it should make them feel, the core outcome, examples, half-formed ideas, paths to existing agents or artifacts. Adapt the invitation to what they already gave you, then one soft "anything else?" surfaces what they almost forgot. This dump replaces most downstream questioning, so let it run. Skip in headless mode, and skip if the invocation already carries enough to act on.

  5. Resume detection. Once a target agent is identified, glob {target-agent-path}/.memlog.md. If one exists, read it once in full to rebuild the prior session's state, then continue append-only through {project-root}/_bmad/scripts/memlog.py. This .memlog.md is the builder's process log and is separate from the agent's sanctum. In headless mode, resume automatically.

  6. Route to the intent. Pick the path below from the resolved intent and load only that file. Once the intent is routed, execute each entry in {agent.activation_steps_append} in order before the loop begins.

Intents

IntentWhat it doesLoad
CreateBuild a new agent, or rebuild an existing one from its core outcomes and personareferences/build-process.md
EditChange specific behavior in an existing agent while preserving its designreferences/edit-guidance.md
AnalyzeRun the quality lenses over an agent and produce a reportreferences/quality-analysis.md

When the user hands over an existing agent without saying which intent, present the three-way choice and route on the answer: Analyze runs the lenses and returns an actionable report; Edit changes specific behavior while keeping the current approach; Rebuild rethinks from core outcomes and persona using the old agent as reference material, which is the Create flow pointed at existing input.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Sets up {module-name} module in a project. Use when the user requests to 'install {module-code} module', 'configure {module-name}', or 'setup {module-name}'.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

Personal coding coach and mentor. Use when the user asks to talk to their coding coach or requests code coaching.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

Creative companion and muse. Use when the user asks to talk to their creative muse or activate the creative muse.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

Architecture diagram reviewer. Use when the user asks to review a diagram or validate architecture.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

Dream journal, interpretation, and lucid dreaming coach. Use when the user wants to talk to Oneira, requests the Dream Guide, or wants help with dream journaling, interpretation, or lucid dreaming.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

Executive entrepreneurial coach and strategic protector. Use when the user asks to talk to Sentinel or requests the executive coach.

日本語の概要は準備中です。原文の説明を表示しています。

bmad-code-org/bmad-builder2112026年9月25日 更新

bmad-code-org のスキルをすべて見る

このスキルの問題を報告する