bf-baseline

bf-baseline is a skill for Claude Code from chan4lk/specclaw. It costs 19 tokens per session (4,584 once invoked), scanned A, original, MIT.

A harness design and recording plan for proving that a rebuilt application behaves like the older application it replaces. It covers different boundaries, such as functions, services, APIs, data, and excluded user interfaces, and checks for sources of unpredictable results.

In plain words
What is it for?
Use it to design comparison tests, generate capture code, and validate recorded fixtures for a legacy-app rebuild. It helps account for changing clocks, databases, and other non-deterministic inputs.
Why use it?
Rebuilding software can introduce small behavior changes that are hard to notice. This gives you a structured way to capture and compare expected behavior, while leaving the actual application run and capture to a human.

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 design comparison tests, generate capture code, and validate recorded fixtures for a legacy-app rebuild. It helps account for changing clocks, databases, and other non-deterministic inputs.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/chan4lk/specclaw/bf-baseline"><img src="https://agentmods.dev/badge/skills/chan4lk/specclaw/bf-baseline.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 19 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,584 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.00019 $0.04584
Opus 5.5 $0.00008 $0.01834
Sonnet 5.5 $0.00004 $0.00917
Haiku 4.5 $0.00002 $0.00458

Measured 1mo ago against content hash 22f13fbefd12, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

bf-baseline 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 1mo 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-baseline/SKILL.md · 143 lines

How it starts

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

specclaw bf-baseline

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

Design, generate, and record the golden-master harness for proving behavioral equivalence between the legacy app and its rebuild. Read-only side-command — no specclaw-validate-change call, no <change> involved, matching the analyze/architecture/domain/rebuild-plan/clarify pattern.

This command does not run the legacy app and does not capture fixtures itself, in any mode. Designing the harness (Mode A), generating the runnable capture code (Mode B, --harness), and validating a capture (Mode C, --record) are all separate from actually running a capture — that step is always a human, running the generated harness's own build/test command (whatever the identified stack's conventional one is) themselves. That boundary is deliberate: capture needs a real build, possibly a real database, and human judgment about which scenarios matter.

Mode A — design (default: no flag)

If the user's message contains --module MOD-###, this is a module-scoped design — read the sub-section at the end of this mode before doing anything, because steps 2 and 4 change.

  1. Collect:
    mkdir -p .specclaw/analysis/.collect
    specclaw-bf-baseline collect .specclaw [--module MOD-###] > .specclaw/analysis/.collect/baseline-design.json
    
    Requires .specclaw/analysis/domain-model.md to exist — scenarios are derived from its numbered business rules. Check the exit status before spawning. If it exits non-zero, surface its stderr message to the user verbatim and stop — it names /specclaw-bf:bf-domain as the command to run first. Don't retry, don't design scenarios from nothing, and never hand the agent a path to a half-written file. Also reports which supplementary documents (codebase-report.md, architecture.md, functional-spec.md, rebuild-backlog.md) are present, for the agent's own stack detection and backlog-item linkage.

Read the full file on GitHub · 143 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. 1mo ago Changed · -301 tokens per session 22f13fbefd12
  2. 2mo ago Changed · +2 lines f47fa50ec41f
  3. 2mo ago First seen · 141 lines · 320 tokens per session scan A dbb08f2c0e39

Subscribe to this mod's changes

bf-baseline is a skill published in the GitHub repository chan4lk/specclaw (15 stars, last pushed 11d ago), licensed MIT. It adds 19 tokens to every session and 4,584 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-baseline compared with skills from other repositories

bf-baseline next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
bf-baselinechan4lk/specclawSkill1511d agoMITA19Claude Code
validate-hypothesisJOINCLASS/ai-ceo-frameworkSkill63yesterdayMITA0Claude Code, Codex
backend-developerolehsvyrydov/AI-development-teamSkill1811d agoMITA94Claude Code
sqlolehsvyrydov/AI-development-teamSkill1811d agoMITA94Claude Code
secops-engineerolehsvyrydov/AI-development-teamSkill1811d agoMITA161Claude Code
e2e-testerolehsvyrydov/AI-development-teamSkill1811d agoMITA72Claude Code
verifyolehsvyrydov/AI-development-teamSkill1811d agoMITA82Claude Code