speckit.implement

A command that carries out the tasks listed in tasks.md, a file containing the planned implementation work, in limited batches.

In plain words
What is it for?
Use it to implement a planned feature batch by batch, mark finished tasks, and see how many tasks remain.
Why use it?
It keeps large implementations manageable and records completed tasks so later runs can continue from the right place.

Command for Claude Code

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.

agentmods
npx agentmods add commands/rshade/finfocus/speckit.implement
Clone the repo
git clone --depth 1 https://github.com/rshade/finfocus

Made for: Claude Code.

Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 2,627 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 81% copy Near-identical to another mod 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 $0.00014 $0.02627
Opus 5 $0.00007 $0.01314
Sonnet 5 $0.00003 $0.00525
Haiku 4.5 $0.00001 $0.00263

Measured 2d ago against content hash 3d8050aae7ae, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

speckit.implement 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 2d 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.

Origin

This is a copy

81% identical to speckit.implement — 74 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/speckit.implement.md · 185 lines

How it starts

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

User Input

$ARGUMENTS

You MUST consider the user input before proceeding (if not empty).

Batch Processing (Context Window Optimization)

To maintain code quality and reduce CodeRabbit/review issues, this skill processes tasks in batches to prevent context window bloat from degrading output quality.

Default batch size: 5 tasks per invocation.

Override: User can pass --batch N in arguments (e.g., /speckit.implement --batch 3).

Behavior:

  1. After parsing tasks.md, count pending tasks (not marked [X] or [x])

  2. If pending tasks exceed the batch size, only process the first N pending tasks

  3. After completing the batch, STOP and output:

    --- BATCH COMPLETE ---
    Processed: [N] tasks ([list task IDs])
    Remaining: [M] tasks pending
    
    To continue: Run /clear then /speckit.implement
    This sheds accumulated context and improves code quality for remaining tasks.
    ---
    
  4. Do NOT continue processing beyond the batch limit

  5. Mark completed tasks as [X] in tasks.md before stopping so the next invocation picks up where you left off

Outline

  1. Run .specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'''m Groot' (or double-quote if possible: "I'm Groot").

  2. Check checklists status (if FEATURE_DIR/checklists/ exists):

    • Scan all checklist files in the checklists/ directory

    • For each checklist, count:

      • Total items: All lines matching - [ ] or - [X] or - [x]
      • Completed items: Lines matching - [X] or - [x]
      • Incomplete items: Lines matching - [ ]
    • Create a status table:

      | Checklist | Total | Completed | Incomplete | Status |
      |-----------|-------|-----------|------------|--------|
      | ux.md     | 12    | 12        | 0          | ✓ PASS |
      | test.md   | 8     | 5         | 3          | ✗ FAIL |
      | security.md | 6   | 6         | 0          | ✓ PASS |
      

Read the full file on GitHub · 185 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. 2d ago First seen · 185 lines · 14 tokens per session scan A 3d8050aae7ae

Subscribe to this mod's changes

speckit.implement is a command published in the GitHub repository rshade/finfocus (5 stars, last pushed 16d ago), licensed Apache-2.0. It adds 14 tokens to every session and 2,627 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 81% identical to speckit.implement, differing in 74 lines, and is treated as a copy.