bf-rebuild-plan

bf-rebuild-plan is a skill for Claude Code from chan4lk/specclaw. It costs 17 tokens per session (5,947 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-bf plugin — 15 skills, 14 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-bf, the plugin that ships this one along with the rest of its 15 skills, 14 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 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,947 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.00017 $0.05947
Opus 5.5 $0.00007 $0.02379
Sonnet 5.5 $0.00003 $0.01189
Haiku 4.5 $0.00002 $0.00595

Measured 24d ago against content hash 998da56b93fe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 24d 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-bf/skills/bf-rebuild-plan/SKILL.md · 151 lines

How it starts

The opening of the file, as written. The whole thing — 151 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

mkdir -p .specclaw/analysis/.collect
specclaw-bf-rebuild-collect collect .specclaw [--refresh] [--module MOD-###] > .specclaw/analysis/.collect/rebuild-plan.json

Pass --refresh only in refresh mode, and --module MOD-### only if the user named a module. Check the exit status before spawning anything below, and never hand the agent a path to a half-written file. 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: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 · 151 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. 24d ago Changed · +17 tokens per session 998da56b93fe
  2. 1mo ago Changed 21e84e6fe870
  3. 1mo ago Changed · +1 lines feb228bf96a2
  4. 2mo 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 (14 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 5,947 once invoked, about $0.0001 per session on Opus 5.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

bf-rebuild-plan compared with skills from other repositories

bf-rebuild-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bf-rebuild-planchan4lk/specclawSkill143d agoMITA17Claude Code
backloga-lottes/aSPARKSkill252d agoMITA94Claude Code
backend-developerolehsvyrydov/AI-development-teamSkill1919d agoMITA94Claude Code
javaolehsvyrydov/AI-development-teamSkill1919d agoMITA136Claude Code
secops-engineerolehsvyrydov/AI-development-teamSkill1919d agoMITA161Claude Code
sqlolehsvyrydov/AI-development-teamSkill1919d agoMITA94Claude Code
e2e-testerolehsvyrydov/AI-development-teamSkill1919d agoMITA72Claude Code