fd-execute

fd-execute is a command for Claude Code from DVNghiem/FlowDeck. It costs 0 tokens per session (2,102 once invoked), scanned A, original, MIT.

A command that carries out a confirmed implementation plan using test-driven development, or TDD: writing and checking tests as part of the coding process.

In plain words
What is it for?
Use it to execute planned implementation steps with worktree safety checks, dependency-impact reviews, delegated agents, tests, and checkpoints.
Why use it?
It organizes multi-step changes into waves, checks the affected code and dependencies, and saves progress after each wave.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions subagents.

Good fit Use it to execute planned implementation steps with worktree safety checks, dependency-impact reviews, delegated agents, tests, and checkpoints.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/dvnghiem/flowdeck/fd-execute
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.

Clone the repo
git clone --depth 1 https://github.com/DVNghiem/FlowDeck

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 fd-execute

README.md
[![agentmods](https://agentmods.dev/badge/commands/dvnghiem/flowdeck/fd-execute/github.svg)](https://agentmods.dev/commands/dvnghiem/flowdeck/fd-execute)
Your own site
<a href="https://agentmods.dev/commands/dvnghiem/flowdeck/fd-execute"><img src="https://agentmods.dev/badge/commands/dvnghiem/flowdeck/fd-execute/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 fd-execute

Your own site · 80×15
<a href="https://agentmods.dev/commands/dvnghiem/flowdeck/fd-execute"><img src="https://agentmods.dev/badge/commands/dvnghiem/flowdeck/fd-execute.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 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,102 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.
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.00000 $0.02102
Opus 5.5 $0.00000 $0.00841
Sonnet 5.5 $0.00000 $0.00420
Haiku 4.5 $0.00000 $0.00210

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

Security

Grade A, and why

fd-execute 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 16d 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.

src/commands/fd-execute.md · 244 lines

How it starts

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

Execute

Implement the confirmed plan using the FlowDeck TDD agent pipeline.

Input: $ARGUMENTS — optional --topic=<slug> to target a topic other than the active one, --override to bypass guards, --keep-worktree to skip worktree cleanup after merge.

Pre-flight: Research Gate

Before reading plan.md or touching any code, re-verify the execution context.

Research scope: execute

Graph freshness check (MUST run before any worktree is created):

  • Run fdx-graph action:report to check graph freshness (mtime in the report header). Stale (>30 min) → run fdx-graph action:build first.
  • Use fdx-graph action:impact target:<file> to confirm the affected file scope before each implementation step.
  • Before delegating to a subagent, run fdx-graph action:impact on the target file and include the result in the subagent's context packet under "Blast radius".

You are the single writer for action:build. Subagents use read actions only — fdx-graph does not wait on lock contention, so a parallel wave that all tried to build would have every agent but one told "another build is in progress".

Artifact validation (MUST run both before any worktree is created):

  1. fdx-validate action:artifacts topic:<topic> — artifact format check
  2. fdx-validate action:pre-execute topic:<topic> — file existence + freshness check

If either returns valid: false → STOP and show errors. Both MUST pass before execution proceeds.

Standard pre-flight (always):

  1. Read ~/.fd-plan/<slug>/STATE.md — verify plan_confirmed, active topic, freshness
  2. Read ~/.fd-plan/<slug>/.codebase/CODEBASE_INDEX.md if available — file changes since the plan was written
  3. Check for research_execute evidence in STATE.md from a prior pass

If existing research is fresh (summaryVersion matches, state fresh within 5 min), reuse it and log "Research skipped — fresh evidence reused from prior pass". Otherwise run a fresh pass and persist the result.

Guard Check

Read the full file on GitHub · 244 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. 16d ago Changed · +1 lines eff5a4ecef60
  2. 3mo ago First seen · 243 lines · 0 tokens per session scan A 02aac65fb62a

Subscribe to this mod's changes

fd-execute is a command published in the GitHub repository DVNghiem/FlowDeck (44 stars, last pushed 15d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 2,102 tokens. 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

fd-execute compared with commands from other repositories

fd-execute next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fd-executeDVNghiem/FlowDeckCommand4415d agoMITA0Claude Code
distillnWave-ai/nWaveCommand63611d agoMITA26Claude Code
discussnWave-ai/nWaveCommand63611d agoMITA35Claude Code
continuenWave-ai/nWaveCommand63611d agoMITA24Claude Code
testjcarlosrodicio/opencode-agent-orchestration-kitCommand163todayApache-2.0A15Claude Code
wtfp:contributeakougkas/wtf-pCommand204d agoMITA22Claude Code
wtfp:analyze-bibakougkas/wtf-pCommand204d agoMITA23Claude Code