bf-blueprint

bf-blueprint is a skill for Claude Code from chan4lk/specclaw. It costs 245 tokens per session (2,650 once invoked), scanned A, original, MIT.

A planning command that builds a target-architecture document for a brownfield rebuild—a project where an existing system is being replaced or substantially reworked—from decisions already recorded elsewhere.

In plain words
What is it for?
Use it to create target architecture documentation with Mermaid diagrams and to mark areas where no recorded decision exists.
Why use it?
It gathers scattered rebuild decisions into one view without silently inventing choices about technology, databases, hosting, or authentication.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it to create target architecture documentation with Mermaid diagrams and to mark areas where no recorded decision exists.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/chan4lk/specclaw/bf-blueprint
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.

Any agent
npx skills add chan4lk/specclaw --skill bf-blueprint
Clone the repo
git clone --depth 1 https://github.com/chan4lk/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

README.md
[![agentmods](https://agentmods.dev/badge/skills/chan4lk/specclaw/bf-blueprint/github.svg)](https://agentmods.dev/skills/chan4lk/specclaw/bf-blueprint)
Your own site
<a href="https://agentmods.dev/skills/chan4lk/specclaw/bf-blueprint"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/bf-blueprint/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/specclaw/bf-blueprint"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/bf-blueprint.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 245 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,650 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00245 $0.02650
Opus 5 $0.00122 $0.01325
Sonnet 5 $0.00049 $0.00530
Haiku 4.5 $0.00024 $0.00265

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

Security

Grade A, and why

bf-blueprint 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 5d 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/skills/bf-blueprint/SKILL.md · 96 lines

How it starts

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

specclaw bf-blueprint

First, run specclaw-ensure-init .specclaw — idempotently creates .specclaw/ if it doesn't exist (silent if already initialized; auto-inits using the current directory's basename as the project name).

Write .specclaw/analysis/target-architecture.md: the target architecture of a brownfield rebuild, synthesised from decisions already recorded. Read-only side-command — no specclaw-validate-change call, no <change> involved, matching the analyze/architecture/domain/clarify/rebuild-plan pattern.

Why this command exists. The pipeline was asymmetric. The legacy side had architecture.md, domain-model.md and module-map.md; the target side had its architecture scattered across decisions.md, ADRs, bootstrap-plan.md and the backlog — nothing that showed the shape of the thing being built, and nothing anyone could put in front of a client.

It derives, it never decides. Every claim about the target rests on a recorded SQ/CQ/UQ decision and cites it by id. Nothing here chooses a stack, a database, a hosting model or an auth approach; where no decision exists, that part of the blueprint renders PROVISIONAL(<id>). Changing what this document says means answering a question in clarifications.md and re-running --resolve — never editing the blueprint.

It runs in the legacy repo. Like every other bf- analysis command, it writes into .specclaw/analysis/ here, and is never run in the rebuild repo. The output travels into the new repo as readability, never as something a verdict is computed from.

Step 1 — Collect

specclaw-bf-blueprint collect .specclaw

If it exits non-zero, surface its stderr message to the user verbatim and stop. There is one refusal, and it names every missing document and the command that produces each: architecture.md (/specclaw:bf-architecture), module-map.md (/specclaw:bf-domain), decisions.md (/specclaw:bf-clarify, then --resolve). Don't retry, don't attempt a partial blueprint from partial input, and never substitute your own reading of the codebase for a missing decision record.

Read the full file on GitHub · 96 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. 5d ago First seen · 96 lines · 245 tokens per session scan A d16a270ff6ef

Subscribe to this mod's changes

bf-blueprint is a skill published in the GitHub repository chan4lk/specclaw (12 stars, last pushed 6d ago), licensed MIT. It adds 245 tokens to every session and 2,650 once invoked, about $0.0012 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 skills, from other repositories