bf-blueprint-architect

bf-blueprint-architect is an agent for Claude Code from chan4lk/specclaw. It costs 108 tokens per session (4,245 once invoked), scanned A, original, MIT.

An architecture-documentation agent for a brownfield rebuild, meaning a rewrite of an existing application. It turns recorded decisions and analysis into target architecture diagrams, component designs, and a mapping from old parts to new ones.

In plain words
What is it for?
It helps create C4 diagrams, where systems are shown from broad context down to components, plus a decision-backed rebuild architecture and legacy-to-target mapping.
Why use it?
It prevents the target design from being based on undocumented personal preferences or guesses instead of decisions already made by the project.

Agent for Claude Code

Written for Claude Code: $CLAUDE_PLUGIN_ROOT variable. Also seen: model in frontmatter; mentions subagents.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the specclaw plugin — 32 skills, 21 agents shipped together

Good fit It helps create C4 diagrams, where systems are shown from broad context down to components, plus a decision-backed rebuild architecture and legacy-to-target mapping.

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add chan4lk/specclaw
Claude Code
/plugin install specclaw

Made for: Claude Code.

Or install specclaw, the plugin that ships this one along with the rest of its 32 skills, 21 agents.

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 bf-blueprint-architect

README.md
[![agentmods](https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-blueprint-architect/github.svg)](https://agentmods.dev/agents/chan4lk/specclaw/bf-blueprint-architect)
Your own site
<a href="https://agentmods.dev/agents/chan4lk/specclaw/bf-blueprint-architect"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-blueprint-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for bf-blueprint-architect

Your own site · 80×15
<a href="https://agentmods.dev/agents/chan4lk/specclaw/bf-blueprint-architect"><img src="https://agentmods.dev/badge/agents/chan4lk/specclaw/bf-blueprint-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 108 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 4,245 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.00108 $0.04245
Opus 5 $0.00054 $0.02122
Sonnet 5 $0.00022 $0.00849
Haiku 4.5 $0.00011 $0.00424

Measured 4d ago against content hash 86f820d8a0b2, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

bf-blueprint-architect 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 4d 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.

plugins/specclaw/agents/bf-blueprint-architect.md · 245 lines

How it starts

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

Identity

You are bf-blueprint-architect, a specclaw subagent. Every other brownfield analysis agent documents what the legacy system is. You document what the rebuild will be — and you do it entirely from decisions already recorded, never from your own architectural preferences.

The document you draft is client-presentable. It is the first artifact in the pipeline that shows the shape of the thing being built, in the same C4 vocabulary architecture.md uses for the thing being replaced, so the two can be read side by side.

The one rule everything else follows from

You are not an architect here. You are a synthesist. Every claim about the target rests on a decision somebody already made and cites it by id. You do not choose the stack, the database, the hosting model or the auth approach — decisions.md did, and if it did not, then that part of the blueprint is PROVISIONAL, not yours to fill in.

Three consequences, and none of them is negotiable:

  1. Every target-side claim carries the id of the decision that sanctions itSQ-014, CQ-007, UQ-002. Not "per the decisions", not "as decided": the literal id, inline, where the claim is made.
  2. A claim with no decision behind it renders PROVISIONAL(<id>), naming the open question, and never becomes a confident box in a diagram. A speculative architecture is worse than an incomplete one — it reads as a plan, and somebody builds it.
  3. You never assert the blueprint's own status. The **Blueprint status:** COMPLETE | PROVISIONAL (…) line is computed by bash from the decision record and injected into the header. Do not write it, do not restate it, and do not conclude in prose that the blueprint is complete.

Inputs

You will be invoked with these context blocks in your prompt:

  • Collected facts (JSON) — the output of specclaw-bf-blueprint collect:
    • questions[] — every clarify question with a resolved status of DECIDED / UNDECIDED / NOT-APPLICABLE, its decision text when decided, its decided_by/date, and the status_source file that proves the verdict. This is the authority on what has been decided. Never re-derive it by reading decisions.md and forming your own view — bash computed it once so that this document and the rest of the pipeline can never disagree.
    • unresolved_blocking_ids — exactly the ids that make things PROVISIONAL.
    • modules[] — the MOD-### roster from module-map.md: id, name, withdrawn, purpose, owned entities, references, services/routes, screens, business rules, dependencies. active_module_ids is the list you must produce one component section for.
    • legacy_inventory — the legacy containers and components, extracted structurally from architecture.md's own Mermaid blocks. When machine_readable is false, that extraction found nothing parseable: build the mapping table's left column from architecture.md's own sections instead, and cite each row by section.
    • module_map.confirmed, warnings — context. Bash renders the warnings itself.
  • Resolved paths of architecture.md, module-map.md, decisions.md, and — when present — rebuild-backlog.md, domain-model.md, clarifications.md, for you to Read directly.

Read the full file on GitHub · 245 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. 4d ago First seen · 245 lines · 108 tokens per session scan A 86f820d8a0b2

Subscribe to this mod's changes

bf-blueprint-architect is an agent published in the GitHub repository chan4lk/specclaw (12 stars, last pushed 5d ago), licensed MIT. It adds 108 tokens to every session and 4,245 once invoked, about $0.0005 per session on Opus 5. 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-05.

Related

Other agents, from other repositories

implementer

Use this agent when implementing story chunks, building features from specs, or continuing active story implementation. Owns the implement → validate → refine loop for each chunk. Produces pristine, production-ready code that matches locked patterns and design tokens. Context: Orchestrator is implementing a story and…

drobins25/craft · 292 tokens

become-researcher

Psychological material collector for /craft:become. Gathers the raw perceptual material from which an expert's mind can be reconstructed - beliefs, scar tissue, axioms, refusals, and emotional patterns. NOT a fact-finder. The crystallizer agent consumes this output directly. Context: Orchestrator is running…

drobins25/craft · 226 tokens

playwright-browser

Interactive browser automation agent powered by playwright-cli. Owns a live browser session - navigates pages, clicks elements, fills forms, reads accessibility snapshots, and reports findings as concise summaries. Designed for interactive steering via SendMessage - the agent remembers what it has seen and done across…

drobins25/craft · 233 tokens

style-analyzer

Use this agent after UI implementation or when the user requests design consistency audits. Ensures visual consistency, catches design drift from locked tokens, identifies technical debt in UI code, and guards the integrity of the design language. Context: Multiple UI components were built during the cycle. user…

drobins25/craft · 203 tokens

maze-architect

Route planner for perpendicular PR review. Reads a raw diff with ZERO intent context (no story files, no commit messages, no PR descriptions) and generates 2-4 questions that the code demands answers to. These questions become coordinates for parallel maze-runner review agents. The architect throws the frisbee blind …

drobins25/craft · 157 tokens

tester

Use this agent after chunk implementation to create comprehensive test suites, or when the user requests test generation. Creates unit, integration, and edge case tests to ensure code works correctly and provide shipping confidence. Context: All chunks are implemented, orchestrator invokes testing phase. user: "All…

drobins25/craft · 200 tokens