bf-rebuild-plan

bf-rebuild-plan is a skill for Claude Code from chan4lk/specclaw. It costs 456 tokens per session (6,253 once invoked), scanned A, original, MIT.

A planning tool that turns project-analysis documents into an ordered rebuild backlog, meaning a list of work items for recreating or restructuring an application. It can use architecture, domain, module, decision, clarification, and baseline documents.

In plain words
What is it for?
Use it to initialize the analysis area, collect project findings, and write or refresh a rebuild backlog, optionally for one module.
Why use it?
It converts scattered analysis into an ID-stable sequence of implementation work and can refresh that sequence when the analysis changes.

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 initialize the analysis area, collect project findings, and write or refresh a rebuild backlog, optionally for one module.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/specclaw/bf-rebuild-plan"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/bf-rebuild-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 456 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,253 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 53
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
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.00456 $0.06253
Opus 5 $0.00228 $0.03127
Sonnet 5 $0.00091 $0.01251
Haiku 4.5 $0.00046 $0.00625

Measured 6d ago against content hash 3b78748d4558, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

bf-rebuild-plan 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 6d 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-rebuild-plan/SKILL.md · 150 lines

How it starts

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

specclaw bf-rebuild-plan

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).

Turn the four analysis documents — plus, when present, decisions.md, clarifications.md, and the baseline outputs (manifest.json/scenarios.md) — into a living, ID-stable rebuild backlog. Read-only side-command — no specclaw-validate-change call, no <change> involved, matching the analyze/architecture/domain/clarify/baseline pattern.

Determine the invocation mode from the user's message: refresh mode if it contains --refresh, default mode otherwise. Additionally, if the message contains --module MOD-###, this is a module-scoped run: pass that flag through to both collect and render, unchanged.

Step 1 — Collect

specclaw-bf-rebuild-collect collect .specclaw [--refresh] [--module MOD-###]

Pass --refresh only in refresh mode, and --module MOD-### only if the user named a module. This single step:

  • Checks that all five .specclaw/analysis/*.md documents exist — the four analysis documents plus module-map.md, which declares the MOD-### modules every backlog item is grouped under. If it exits non-zero for this reason, surface its stderr message to the user verbatim and stop — it names exactly which document(s) are missing and which command produces each (module-map.md comes from /specclaw:bf-domain). Don't retry, don't attempt a partial backlog from partial input, and never invent a grouping to work around a missing map.
  • Fails if --module names no active module in the map, listing the ones that do exist. A withdrawn module cannot be planned — its id stays claimed as a tombstone.
  • If .specclaw/analysis/rebuild-backlog.md already exists and --refresh was not passed, it exits non-zero with a refusal message — surface that message verbatim and stop. Do not delete or archive the file yourself; tell the user to re-run with --refresh, or to archive/delete it manually first if they genuinely want a from-scratch run.
  • Otherwise emits one JSON object to stdout: the module roster from module-map.md (each module's id, name, active/withdrawn status, DR-### rules, and dependencies) together with the map's own PROPOSED/CONFIRMED status and this run's module_scope; the five documents' paths/line counts; which optional inputs are present (decisions.md, clarifications.md, .specclaw/baseline/manifest.json, .specclaw/baseline/scenarios.md) with their resolved paths; every clarifications.md question's id/type/blocking/answered/rules/items (ID-level facts only, no prose); which CQ-### ids have a recorded decision; the scenarios.md roster and manifest.json fixtures (id/rules/item); whether a "No Legacy Behaviour Exists" section is present; and — in refresh mode — every existing BL-### item's id/title/depends_on/rules/status/prior Gate/Verification. It also reports the next free BL-### id.

Read the full file on GitHub · 150 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. 6d ago First seen · 150 lines · 0 tokens per session scan A 3b78748d4558

Subscribe to this mod's changes

bf-rebuild-plan is a skill published in the GitHub repository chan4lk/specclaw (12 stars, last pushed 7d ago), licensed MIT. It adds 456 tokens to every session and 6,253 once invoked, about $0.0023 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

raise-issue

A good bug report is not a good description. It is a description a developer can act on before they have found the code themselves. That translation is the whole job here.

adamlinscott/claude-skills · 169 tokens

report-issue

This is an alias so that both /raise-issue and /report-issue work.

adamlinscott/claude-skills · 93 tokens

capture-lessons

Ship and capture lessons workflow. Creates the PR, updates lessons learned, updates documentation, generates the sprint retrospective, and updates the backlog. Use at the end of a sprint cycle, or when the user says "ship", "capture", "lessons", "retro", "retrospective", "wrap up", or "done with this sprint". Also use…

rbah31/claude-code-workflow · 100 tokens

sprint-plan

Sprint planning workflow. Creates a structured plan from the backlog with tasks, acceptance criteria, dependencies, and risks. Use when starting a new sprint, planning work, or when the user says "plan", "sprint", "what should we work on", or "next sprint". Always use this skill to start a sprint cycle — never plan…

rbah31/claude-code-workflow · 75 tokens

update-briefs

Updates the briefs/ shared memory directory after a sprint completes. Reads sprint outputs and writes structured summaries for other agents. Use after any sprint completes, or when the user says "update briefs", "sync state", "update project state", or "what changed". Also use automatically after /capture-lessons or…

rbah31/claude-code-workflow · 77 tokens

project-launch-checklist

Audits a project for hiring visibility before going public. Verifies README clarity for impatient hiring managers, checks evaluation setup, tests, CI/CD, config file, and deployment link. Generates a pre-launch audit report with gaps and priorities. Use when you're ready to make a project visible to hiring managers or…

AravindKurapati/claude-best-practices · 73 tokens