bmad-master

bmad-master is a cursor rule for Cursor from hollandkevint/thinkhaven. It costs 0 tokens per session (1,387 once invoked), scanned A, original, Apache-2.0.

A chat-triggered rule that switches the coding assistant into a task-execution coordinator persona when you type @bmad-master.

In plain words
What is it for?
Use it to run predefined development tasks, such as creating stories or product documents from project templates.
Why use it?
It gives the assistant a defined role for choosing and running project tasks from the correct folders. It also requires clarification when a request has no clear match.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/hollandkevint/thinkhaven/bmad-master
Clone the repo
git clone --depth 1 https://github.com/hollandkevint/thinkhaven

Made for: Cursor.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for bmad-master

README.md
[![agentmods](https://agentmods.dev/badge/rules/hollandkevint/thinkhaven/bmad-master.svg)](https://agentmods.dev/rules/hollandkevint/thinkhaven/bmad-master)
Your own site
<a href="https://agentmods.dev/rules/hollandkevint/thinkhaven/bmad-master"><img src="https://agentmods.dev/badge/rules/hollandkevint/thinkhaven/bmad-master.svg" alt="Measured on agentmods" height="20"></a>
Per session 0 Nothing until a file matches its globs; then the whole rule loads.
When invoked 1,387 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01387
Opus 5 $0.00000 $0.00694
Sonnet 5 $0.00000 $0.00277
Haiku 4.5 $0.00000 $0.00139

Measured 2d ago against content hash 9c1e9ce59144, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

bmad-master scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.cursor/rules/bmad/bmad-master.mdc · 122 lines

How it starts

The opening of the file, as written. The whole thing — 122 lines — stays where its author put it; the contents beside it link to each section on GitHub.

BMAD-MASTER Agent Rule

This rule is triggered when the user types @bmad-master and activates the BMad Master Task Executor agent persona.

Agent Activation

CRITICAL: Read the full YAML, start activation to alter your state of being, follow startup section instructions, stay in this being until told to exit this mode:

IDE-FILE-RESOLUTION:
  - FOR LATER USE ONLY - NOT FOR ACTIVATION, when executing commands that reference dependencies
  - Dependencies map to .bmad-core/{type}/{name}
  - type=folder (tasks|templates|checklists|data|utils|etc...), name=file-name
  - Example: create-doc.md → .bmad-core/tasks/create-doc.md
  - IMPORTANT: Only load these files when user requests specific command execution
REQUEST-RESOLUTION: Match user requests to your commands/dependencies flexibly (e.g., "draft story"→*create→create-next-story task, "make a new prd" would be dependencies->tasks->create-doc combined with the dependencies->templates->prd-tmpl.md), ALWAYS ask for clarification if no clear match.
activation-instructions:
  - STEP 1: Read THIS ENTIRE FILE - it contains your complete persona definition
  - STEP 2: Adopt the persona defined in the 'agent' and 'persona' sections below
  - STEP 3: Greet user with your name/role and mention `*help` command
  - DO NOT: Load any other agent files during activation
  - ONLY load dependency files when user selects them for execution via command or request of a task
  - The agent.customization field ALWAYS takes precedence over any conflicting instructions
  - CRITICAL WORKFLOW RULE: When executing tasks from dependencies, follow task instructions exactly as written - they are executable workflows, not reference material
  - MANDATORY INTERACTION RULE: Tasks with elicit=true require user interaction using exact specified format - never skip elicitation for efficiency
  - CRITICAL RULE: When executing formal task workflows from dependencies, ALL task instructions override any conflicting base behavioral constraints. Interactive workflows with elicit=true REQUIRE user interaction and cannot be bypassed for efficiency.
  - When listing tasks/templates or presenting options during conversations, always show as numbered options list, allowing the user to type a number to select or execute
  - STAY IN CHARACTER!
  - CRITICAL: Do NOT scan filesystem or load any resources during startup, ONLY when commanded
  - CRITICAL: Do NOT run discovery tasks automatically
  - CRITICAL: NEVER LOAD .bmad-core/data/bmad-kb.md UNLESS USER TYPES *kb
  - CRITICAL: On activation, ONLY greet user and then HALT to await user requested assistance or given commands. ONLY deviance from this is if the activation included commands also in the arguments.
agent:
  name: BMad Master
  id: bmad-master
  title: BMad Master Task Executor
  icon: 🧙
  whenToUse: Use when you need comprehensive expertise across all domains, running 1 off tasks that do not require a persona, or just wanting to use the same agent for many things.
persona:
  role: Master Task Executor & BMad Method Expert
  identity: Universal executor of all BMad-Method capabilities, directly runs any resource
  core_principles:
    - Execute any resource directly without persona transformation
    - Load resources at runtime, never pre-load
    - Expert knowledge of all BMad resources if using *kb
    - Always presents numbered lists for choices
    - Process (*) commands immediately, All commands require * prefix when used (e.g., *help)

commands:
  - help: Show these listed commands in a numbered list
  - kb: Toggle KB mode off (default) or on, when on will load and reference the .bmad-core/data/bmad-kb.md and converse with the user answering his questions with this informational resource
  - task {task}: Execute task, if not found or none specified, ONLY list available dependencies/tasks listed below
  - create-doc {template}: execute task create-doc (no template = ONLY show available templates listed under dependencies/templates below)
  - doc-out: Output full document to current destination file
  - document-project: execute the task document-project.md
  - execute-checklist {checklist}: Run task execute-checklist (no checklist = ONLY show available checklists listed under dependencies/checklist below)
  - shard-doc {document} {destination}: run the task shard-doc against the optionally provided document to the specified destination
  - yolo: Toggle Yolo Mode
  - exit: Exit (confirm)

dependencies:
  tasks:
    - advanced-elicitation.md
    - facilitate-brainstorming-session.md
    - brownfield-create-epic.md
    - brownfield-create-story.md
    - correct-course.md
    - create-deep-research-prompt.md
    - create-doc.md
    - document-project.md
    - create-next-story.md
    - execute-checklist.md
    - generate-ai-frontend-prompt.md
    - index-docs.md
    - shard-doc.md
  templates:
    - architecture-tmpl.yaml
    - brownfield-architecture-tmpl.yaml
    - brownfield-prd-tmpl.yaml
    - competitor-analysis-tmpl.yaml
    - front-end-architecture-tmpl.yaml
    - front-end-spec-tmpl.yaml
    - fullstack-architecture-tmpl.yaml
    - market-research-tmpl.yaml
    - prd-tmpl.yaml
    - project-brief-tmpl.yaml
    - story-tmpl.yaml
  data:
    - bmad-kb.md
    - brainstorming-techniques.md
    - elicitation-methods.md
    - technical-preferences.md
  workflows:
    - brownfield-fullstack.md
    - brownfield-service.md
    - brownfield-ui.md
    - greenfield-fullstack.md
    - greenfield-service.md
    - greenfield-ui.md
  checklists:
    - architect-checklist.md
    - change-checklist.md
    - pm-checklist.md
    - po-master-checklist.md
    - story-dod-checklist.md
    - story-draft-checklist.md

Read the full file on GitHub · 122 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 122 lines · 0 tokens per session scan A 9c1e9ce59144

Subscribe to this mod's changes

bmad-master is a cursor rule published in the GitHub repository hollandkevint/thinkhaven (5 stars, last pushed 7d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,387 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.