Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add bdfinst/agentic-dev-team/plugin install dev-teamWrote 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.
[](https://agentmods.dev/skills/bdfinst/agentic-dev-team/speculative-build)<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/speculative-build"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/speculative-build/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.
<a href="https://agentmods.dev/skills/bdfinst/agentic-dev-team/speculative-build"><img src="https://agentmods.dev/badge/skills/bdfinst/agentic-dev-team/speculative-build.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00051 | $0.05331 |
| Opus 5.5 | $0.00020 | $0.02132 |
| Sonnet 5.5 | $0.00010 | $0.01066 |
| Haiku 4.5 | $0.00005 | $0.00533 |
Grade A, and why
speculative-build 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 25d 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.
How it starts
The opening of the file, as written. The whole thing — 402 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Speculative build
Role: orchestrator. This procedure implements one complex step N times, ranks the candidates with scripts, and merges the winner. /build --candidates N is the only entry point. The flag is experimental.
Preconditions
/build runs these checks before it follows this skill:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/build_candidates.py" validate-flags --candidates='<raw>' --max-cost-usd='<raw>' --jobs='<raw>'
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/build_worktree_baseref.py" detect
Pass only the flags the user gave to /build; omit the others, as /build does.
This skill assumes four results:
validate-flagsexited 0 and printed"speculative": true./buildlocated the session transcript, the wayskills/cost-report/SKILL.mddoes.build_worktree_baseref.py detectprintedheadforworktree.baseRef./buildholds theAgent(orTask) tool.
If the Agent (or Task) tool is missing, halt before batch 1. Give the report that /build's Orchestrator constraints prescribe.
If any other result is missing, halt with this message:
speculative dispatch requires a session transcript, worktree.baseRef = head and validated flags; run /build, not this skill
This skill halts when you invoke it outside /build.
A Preconditions halt writes no record and prints only its own message.
Base and batches
Run the step as a loop of batches. The sections below detail each part. For each batch:
- Read
prevfrom the cost meter. - Hash the plan file, dispatch the batch, then hash it again. Halt if the hashes differ.
- Read
now. Computedelta = now - prev. Adddeltatospent. - Run the suite in each candidate worktree.
- Screen each candidate, then run
collect. - Run
project, then dispatch the next batch. After the last batch, go to Rank.
These placeholders recur in templates and commands:
<X>is the cap from--max-cost-usd.<P>is the projected total thatprojectprints.<b>is the batch number.<ks>lists the earlier attempt numbers.
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.
- 25d ago First seen · 402 lines · 51 tokens per session scan A f39e2061fac7
speculative-build is a skill published in the GitHub repository bdfinst/agentic-dev-team (312 stars, last pushed today), licensed MIT. It adds 51 tokens to every session and 5,331 once invoked, about $0.0002 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-11-07.
speculative-build compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| speculative-buildbdfinst/agentic-dev-team | Skill | 312 | today | MIT | A | 51 | Claude Code |
| merge-batchdiegosouzapw/OmniRoute | Skill | 91k | 3d ago | MIT | A | 46 | Claude Code |
| prowler-commitprowler-cloud/prowler | Skill | 15k | yesterday | Apache-2.0 | A | 44 | Claude Code, Codex |
| gh-auth-isolationgithub/gh-aw | Skill | 5.8k | today | MIT | A | 20 | Claude Code, Codex |
| github-skillzeenie-ai/OpenCompany | Skill | 1.1k | yesterday | MIT | A | 51 | Claude Code |
| comet-githubrpamis/comet | Skill | 3.3k | yesterday | MIT | A | 72 | Claude Code, Codex |
| re0-mergeLilMGenius/paperthin | Skill | 1.5k | yesterday | MIT | A | 51 | Claude Code, Codex |