specswarm: Instructions file for Claude Code

CLAUDE.md

specswarm CLAUDE.md is an instructions file for Claude Code from MartyBonacci/specswarm. It costs 2,691 tokens per session, scanned A, original, MIT.

Instructions for developing and validating SpecSwarm, a Claude Code plugin that uses written specifications to guide building, changing, fixing, and shipping software.

In plain words
What is it for?
Use it when modifying SpecSwarm, validating changes before a commit, bumping its version, or working with its /ss commands.
Why use it?
It gives contributors the project's development rules, plugin checks, versioning process, and available command workflow in one place.

Instructions file for Claude Code

Written for Claude Code: SessionStart hook event. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions CLAUDE.md.

This is MartyBonacci/specswarm's own configuration. It tells Claude Code how to work on specswarm itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything specswarm configures →

Reuse

Borrowing it

Nothing to install: this file belongs to MartyBonacci/specswarm. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/MartyBonacci/specswarm/main/CLAUDE.md
Clone the repo
git clone --depth 1 https://github.com/MartyBonacci/specswarm

Made for: Claude Code.

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 specswarm CLAUDE.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/martybonacci/specswarm/claude-md/github.svg)](https://agentmods.dev/instructions/martybonacci/specswarm/claude-md)
Your own site
<a href="https://agentmods.dev/instructions/martybonacci/specswarm/claude-md"><img src="https://agentmods.dev/badge/instructions/martybonacci/specswarm/claude-md/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 specswarm CLAUDE.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/martybonacci/specswarm/claude-md"><img src="https://agentmods.dev/badge/instructions/martybonacci/specswarm/claude-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 2,691 This file is loaded in full into every session.
When invoked 2,691 The same file — it is already loaded in full.
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.02691 $0.02691
Opus 5.5 $0.01076 $0.01076
Sonnet 5.5 $0.00538 $0.00538
Haiku 4.5 $0.00269 $0.00269

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

Security

Grade A, and why

specswarm CLAUDE.md 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 2mo 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.

CLAUDE.md · 113 lines

How it starts

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

CLAUDE.md — SpecSwarm

Overview

SpecSwarm is a Claude Code plugin providing spec-driven development workflows: Build, Modify, Fix, Ship. As of v6.0.0, all functionality lives in the ss plugin and is invoked via /ss:* commands (23 visible + 11 internal/hidden = 34 total — v7.1.0 /ss:preflight, v7.2.0 /ss:notify, v7.3.0 /ss:intervention, v7.4.0 /ss:verify, v7.5.0 /ss:retrospective, v7.6.0 /ss:decisions, v7.8.0 /ss:dry-run, v7.9.0 /ss:watchdog, v7.10.0 /ss:overnight, v7.18.0 /ss:conduct + /ss:mentor-init). v7.11.0 hardens the verification loop (WARN-on-zero preflight gates, canonical-checkbox /ss:tasks, verify-queue drain in /ss:implement, ship verify-queue precondition, decision-miner prior-commitments input). v7.12.0 collapses the verify-queue Stop hook into a per-feature summary when pending > SPECSWARM_VERIFY_QUEUE_LIST_MAX (default 8), so large queues stop flooding the conversation. v7.13.0 (AUTO-MAGIC epic Phase 2 — see docs/designs/automagic-epic-plan.md) adds the taste model (lib/taste.sh, memory corpus as distilled-rulings store with check-type: frontmatter, accreting from decisions/clarify/verify answers) and assume-first clarify (three-way gap ladder, structured provenance-cited ## Assumptions ledger, batched fork questions, assumptions-provenance preflight check). v7.14.0 adds blocking per-slice build+lint gates (SPECSWARM_SLICE_GATES, real test-framework-detector.sh/quality-gates.sh), verify-time diff screeners (geometry/roundtrip/fixture-shape/test-globs → spec-mentor clauses), and the NEEDS-SIGHTED queue state that blocks /ss:ship until human sighted sign-off (/ss:verify --sighted or ship-time batch). v7.15.0 closes the distiller loop (deterministic rulings auto-generate edit-time hooks via embedded specswarm-rule blocks; spec-mentor receives judgment taste rules in its bundle) and hardens headless runs (sync/budget clauses in every dispatch, work-tree-aware failure classification, one-shot auto-resume — lib/overnight/resilience.sh). v7.16.0 adds /ss:bakeoff (calibration loop: N candidates → contact sheet → verdict → pinned winner + distilled ruling), [DECIDED-BY-DATA: metric, review-when] fork-deferral markers (tracked by metrics + watchdog), and the ground-truth-bias preflight check (7th). v7.17.0 caps the epic with /ss:go — the single default entry point walking the full ladder via hooks/go-loop-hook.sh + .specswarm/go-loop.state, pausing only at 4 human touchpoints (assumptions review, decision sheet, sighted gates, ship blessing); /ss:build untouched. v7.18.0 extracts the proven mentor→builder loop (four-minds pilot: ~500 audited dispatches) into /ss:conduct (hardened headless dispatch via lib/conduct/dispatch.sh — per-tree flock, process-group timeout kill, survivor + orphan-listener sweeps, opus-pinned, audited runs at .specswarm/conduct/runs/ — plus the independent-verification protocol and six failure-mode resume recipes), /ss:mentor-init (mentor-directory scaffold from templates/mentor/ with a SessionStart role hook), and watchdog conduct-run monitoring (auto-enabled when .specswarm/conduct/ exists). Includes 10 natural-language skills, 6 multi-agent orchestration agents with v7.7.0 explicit model assignments (5 on opus, 1 on haiku), and the .specswarm/ per-project state directory (directory name preserves the SpecSwarm brand).

Read the full file on GitHub · 113 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. 2mo ago First seen · 113 lines · 2,691 tokens per session scan A a58663b00bb7

Subscribe to this mod's changes

specswarm CLAUDE.md is an instructions file published in the GitHub repository MartyBonacci/specswarm (67 stars, last pushed 3mo ago), licensed MIT. It adds 2,691 tokens to every session, about $0.0108 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-08-30.

Related

specswarm CLAUDE.md compared with instructions from other repositories

specswarm CLAUDE.md next to 6 instructions from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
specswarm CLAUDE.mdMartyBonacci/specswarmInstructions file673mo agoMITA2,691Claude Code
vscode buildNext.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA9,719GitHub Copilot
next.js AGENTS.mdvercel/next.jsInstructions file143kyesterdayMITA7,461Codex, OpenCode
langchain AGENTS.mdlangchain-ai/langchainInstructions file149kyesterdayMITA4,680Codex, OpenCode
vscode oss-third-party-notices.instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA5,516GitHub Copilot
vscode copilot-instructions.mdmicrosoft/vscodeInstructions file195kyesterdayMITA3,093GitHub Copilot
deepseek-harness AGENTS.mddeepseek-ai/deepseek-harnessInstructions file274k2d agoMITA4,313Codex, OpenCode