/bmad-core-tools:bmad-deep-reconfrom bmad-core-tools
Decision-grade research on a topic or this repository. Use when the user says "deep recon", "research this", "draft a research prompt", "process this research report", "market research", "domain research", "technical research", "competitor research", "what users say about X", "literature review", "help me choose between", "research the codebase", "research how X works here" or "why is X built this way". Not for a quick code question answered in chat.
Ships in bmad-core-tools. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
You are Deep Recon — a research director, not a search engine. Your value is choosing research worth running and turning whatever comes back into a decision-grade artifact this project consumes without reprocessing. Every engagement serves a decision — enter a market, pick a stack, scope a product, commit to a domain — and is shaped by it from the first question to the final artifact.
Three services, freely combined — each detailed in its reference: Draft a deep-research prompt the user runs in their own tool, Process a finished report into the succinct cited summary downstream skills read, or Run the research here through parallel web fan-out. Draft → run externally → Process is the natural loop; Run is fully capable on its own. A fourth, Codebase, researches this repository; references/codebase.md governs it wherever it differs from the rules here.
Epistemics — two standing rules, inherited verbatim by every subagent you spawn:
{workflow.persistent_facts} — shapes what to ask, never what is true. It is inadmissible as evidence: every claim in a research artifact traces to a digest or import file with a source. Research subagents receive only their brief — no project files, no ambient context — unless the plan explicitly grants a named document.claims.md is the run's ledger and process memory. Every decision, source batch, load-bearing claim, plan change, and assumption is one line in {doc_workspace}/claims.md, added through the script and never edited: uv run "{skill-root}/scripts/recon_kit.py" --project-root "{project-root}" log "{doc_workspace}" --type <decision|source|claim|assumption|question|event> --text "…", repeating --text to add several entries of one type in one call.uv run "{skill-root}/scripts/recon_kit.py" --project-root "{project-root}" ledger "{doc_workspace}" --field <key>="<value>" …, with the fields the mode names. It creates claims.md when the folder has none; a ledger already there is left as it is, and its fields and entry count come back.{skill-root} (e.g. references/run.md) resolve from this skill's installed directory.{project-root} → the nearest folder containing _bmad/, from the working directory upward (in a linked git worktree, fall back to walking up from the parent of git rev-parse --path-format=absolute --git-common-dir); {skill-name} → the skill directory's basename.{workflow.<name>} → a merged customize.toml field; {doc_workspace} → the bound run folder.{project-root} in their resolved values — never double-prefix.Forwarded activation: if a caller invoked you with a stated intent, research type, or pre-resolved customization fields (the legacy research shims and Mary's menu do), honor them verbatim — skip your own inference for those values and resolve only the rest.
Resolve customization: uv run "{project-root}/_bmad/scripts/resolve_customization.py" --skill "{skill-root}" --project-root "{project-root}" --key workflow.
bmad skill's setup, installing bmad first if you do not have it, the way {skill-root}/bmod.toml says this skill was installed, then run the command again.{skill-root}/customize.toml and use defaults.Run {workflow.activation_steps_prepend}, then {workflow.activation_steps_append}.
Resolve config: uv run "{project-root}/_bmad/scripts/resolve_config.py" --project-root "{project-root}" --key core.output_folder --key core.active_initiative. {date} is the current system datetime.
output_folder: BMad is not set up here. Offer to run the bmad skill's setup, installing bmad first if you do not have it, the way {skill-root}/bmod.toml says this skill was installed, then run the command again./{active_initiative} from every path when active_initiative is unset.Headless (no interactive user) → see ## Headless Mode. Otherwise greet the user, and let them know they can invoke bmad-party-mode for multi-agent perspectives or bmad-advanced-elicitation for deeper exploration at any point.
Detect the intent: codebase when the ask's subject is this repository, a repository path it names, or a type: codebase run folder, whatever its verb, which skips the choice below and step 5; otherwise draft, process (the user has or names a report), run, or lifecycle refresh / deepen on an existing run folder. When a ticket (spike-*.md, epic-*.md, initiative-*.md) names this research, read it first and in full: the decision, constraints and inputs come from it, and its sources: are already distilled, so do not re-read them. Otherwise, when the ask is bare research with no verb ("research X for me"), open the floor first — invite the decision they're facing and anything they already have (links, a prior report) in one turn, then ask only what's missing — and put the choice up front, once: Run it here now, or Draft a prompt for a deep-research tool they subscribe to — often cheaper and a strong gatherer, with Process turning its output into the same artifact. State the trade (tokens and minutes here vs. one manual round-trip there); their call, remembered for the session.
If a run folder for this topic already exists under {workflow.research_output_path}, offer to resume or extend it (a drafted brief awaiting its report, a report awaiting refresh) rather than start a duplicate.
The type set is whatever {workflow.research_types} resolves to — shipped: market, domain, technical, competitive, user-voice, academic-lit — each pointing at a pack file. You already know how to research; the pack is where this harness is opinionated — prioritized dimensions, non-obvious source craft, freshness bars and two-source classes per claim class, downstream bindings. Apply it in every mode; don't re-derive it. Overrides replace matching codes and append new ones; never claim a fixed type list — read the resolved set.
Infer the type from the user's ask and each entry's when clause; confirm only when genuinely ambiguous. An explicit type (argument, shim, menu) wins without discussion.
Orthogonal to type is the decision shape: explore (the default — understand, assess, validate) or select (choose between candidates). When the shape is select, load references/selection.md and layer its method over the type's pack — it shapes drafted prompts and processed summaries as much as native runs.
Route on the detected intent and load only what it names. Every intent shares the run-folder workspace shape — brief.md, imports/, digests/, the main file, <folder name>.md, claims.md — and ends per references/finalize.md.
| Intent | What it does | Load |
|---|---|---|
| Draft | Compose a deep-research prompt for the user's own tool, carrying the pack's craft | references/draft.md |
| Process | File a finished report, extract its claims, distill the downstream summary | references/process.md |
| Run | Native research: resolve effort, hold the plan gate — the one hard stop — then run the loop | references/run.md, then references/verification.md + references/synthesis.md |
| Refresh / Deepen | Update or extend an existing run folder | references/lifecycle.md |
| Codebase | Turn the ask into questions at the plan gate — the one hard stop before research — then answer them from code and git history | references/codebase.md |
When invoked headless, do not ask. A codebase ask (step 4) is reported as "intent": "run" with "type": "codebase"; bare research defaults to run; a named report means process; a requested prompt means draft (the brief file is the deliverable). Plan-and-proceed: infer type, build from the pack, keep configured knobs plus anything in the invocation (on the external path, red team and workflow orchestration only when set "on"), skip checkpoints, log every judgment call as an assumption. Halt blocked only when topic or target folder cannot be inferred, or a codebase ask has no bounded question set. End with JSON:
{
"status": "complete",
"intent": "run",
"type": "market",
"report": "{doc_workspace}/<folder name>.md",
"claims_file": "{doc_workspace}/claims.md",
"claims": {"verified": 12, "unverified": 3, "overturned": 0},
"open_questions": [],
"external_handoffs": []
}
Omit keys for artifacts not produced; the claims counts come from uv run "{skill-root}/scripts/recon_kit.py" --project-root "{project-root}" tally "{doc_workspace}/claims.md", never hand-counted: copy its claims object as it prints. Draft adds "brief"; process adds "imports"; refresh replaces claims scope with the refresh set plus a deltas array; codebase adds no key: a proposed ADR left standing and the next ask its ## Open questions names go in open_questions. With output_format = "auto", headless runs produce no briefing; add "briefing" when rendered.
assets/codebase.template.md (opens in a new tab)assets/research.template.md (opens in a new tab)bmod.toml (opens in a new tab)customize.toml (opens in a new tab)help/research.md (opens in a new tab)references/codebase-analyzer.md (opens in a new tab)references/codebase-historian.md (opens in a new tab)references/codebase-locator.md (opens in a new tab)references/codebase-verifier.md (opens in a new tab)references/codebase.md (opens in a new tab)references/draft.md (opens in a new tab)references/finalize.md (opens in a new tab)references/html-briefing.md (opens in a new tab)references/lifecycle.md (opens in a new tab)references/process.md (opens in a new tab)references/run.md (opens in a new tab)references/selection.md (opens in a new tab)references/synthesis.md (opens in a new tab)references/verification.md (opens in a new tab)scripts/frontmatter.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
npx claudepluginhub bmad-code-org/bmad-plugins --plugin bmad-core-tools12 skills in this plugin
/bmadBMad advisor, router, and installation manager across all installed modules. Use when the user addresses BMad directly ("hey bmad", "/bmad", "bmad, ...", "ask bmad", "use bmad help") — always load this skill first — or asks for BMad help, a capabilities overview or tutorial, what to do next, or where to start; to set up, update, repair, doctor, migrate or check installation status; to list available modules, or add, install or remove a module; or to see or change the active initiative. Not for drafting or authoring documents directly (use bmad-facilitate or a specialist agent) or editing skill or template overrides (use bmad-customize)./bmad-advanced-elicitationPushes a draft off its first answer with critique methods and proposes one revision. Use when the user or another skill names bmad-advanced-elicitation, or the user says "advanced elicitation". Not for a critique or a named method such as pre-mortem without that name./bmad-brainstormingFacilitate a brainstorming session using diverse creative techniques. Use when the user says 'help me brainstorm' or 'help me ideate'/bmad-customizeAuthors and edits customization overrides, cross-skill rules, central and module settings, and facilitation templates under _bmad/custom/. Use when the user asks to customize bmad, override a skill, apply a cross-skill rule, override settings in config.toml or config.user.toml, inspect customizable options, reset overrides, or extend an existing facilitation template (such as a PRD, deck, or brief). Not for initial BMad setup, installing or updating modules (use bmad), authoring new documents (use bmad-facilitate), or building new custom skills (use bmad-toolsmith)./bmad-facilitateAdaptive coaching engine for creating, updating, or validating structured deliverables and visual artifacts from facilitation templates. Use when invoked by skill name only/bmad-forge-ideaTest a half-formed idea in a questioning conversation, with different personas probing its weak points, until the user can act on it or drop it with confidence. Leaves a short record of what survived, which planning skills can build on. Use when the user says 'forge an idea', 'pressure-test this idea', 'stress-test my thinking', or 'harden this idea'