fd-done

fd-done is a command for Claude Code from DVNghiem/FlowDeck. It costs 15 tokens per session (1,492 once invoked), scanned A, original, MIT.

A task-closing command that compares completed work with the requested requirements, then can commit and push after confirmation.

In plain words
What is it for?
Use it after the required planning and verification steps to review changed files, summarize the result, and optionally commit and push.
Why use it?
It adds checks before closing a planned task and prevents closing when verification has not passed or blockers remain.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it after the required planning and verification steps to review changed files, summarize the result, and optionally commit and push.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dvnghiem/flowdeck/fd-done"><img src="https://agentmods.dev/badge/commands/dvnghiem/flowdeck/fd-done.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,492 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.00015 $0.01492
Opus 5.5 $0.00006 $0.00597
Sonnet 5.5 $0.00003 $0.00298
Haiku 4.5 $0.00002 $0.00149

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

Security

Grade A, and why

fd-done 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-done.md · 209 lines

How it starts

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

Done

Close the task: summarize what was built against what was asked, then commit and push.

Input: $ARGUMENTS — optional --topic=<slug> to target a topic other than the active one.

Step 0: Pre-flight

  1. Check ~/.fd-plan/<slug>/STATE.md exists. If not: "No planning workspace. Run /fd-task first."
  2. Resolve <topic> from --topic, else from topic in STATE.md.
  3. Read STATE.md via planning-state action=read. Record status, plan_confirmed, blockers, steps_complete.

Step 1: Verify gate

/fd-done only runs after /fd-verify passed.

If status != "verified":

❌ Cannot close — /fd-verify has not passed for "<topic>".

Run /fd-verify first. If it reported failures, fix them and re-run it.

The agent MUST stop. The agent MUST NOT commit and MUST NOT update state.

The agent MUST also stop if blockers is non-empty, listing each blocker.

Step 2: Summarize built vs required

Read ~/.fd-plan/<slug>/<topic>/task.md and check every requirement and acceptance criterion against what actually landed.

Collect the changed files:

git diff --name-only HEAD
git log --oneline --no-merges <base>..HEAD

Present:

════════════════════════════════════════════════════
SUMMARY: <topic>
════════════════════════════════════════════════════

Requirements
  ✅ R-01: <requirement> — <where it landed>
  ✅ R-02: <requirement> — <where it landed>
  ⚠️  R-03: <requirement> — not implemented: <reason>

Acceptance Criteria
  ✅ <criterion>
  ⚠️  <criterion> — <gap>

Changed files: <N>
  <file 1>
  <file 2>
════════════════════════════════════════════════════

The agent MUST report gaps honestly. A requirement that was dropped or deferred MUST be stated as such. The agent MUST NOT quietly omit it.

Step 3: Slop check

Before committing, run a slop scan on the diff to catch AI-generic artifacts:

git diff HEAD~1 -- . 2>/dev/null | grep -iE "improving|enhancing|robust|comprehensive|leveraging|utilizing|pivotal|seamless|tailored|streamline|cutting-edge|deliverable|game.?changer|revolutioni|foster|unparalleled|bespoke" || true

Read the full file on GitHub · 209 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 5231c4fc520c
  2. 3mo ago First seen · 209 lines · 15 tokens per session scan A 4197609ce332

Subscribe to this mod's changes

fd-done is a command published in the GitHub repository DVNghiem/FlowDeck (44 stars, last pushed 15d ago), licensed MIT. It adds 15 tokens to every session and 1,492 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-08-30.

Related

fd-done compared with commands from other repositories

fd-done next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fd-doneDVNghiem/FlowDeckCommand4415d agoMITA15Claude Code
wtfp:contributeakougkas/wtf-pCommand204d agoMITA22Claude Code
contributeakougkas/wtf-pCommand204d agoMITA16Claude Code
cpalirezarezvani/claude-skillsCommand31k3d agoMITA14Claude Code
remove-deadcodecode-yeongyu/oh-my-openagentCommand71ktodaynoneA20OpenCode
eg-precommit-reviewvshvedov/elephant-goldfishCommand10425d agoMITA24Claude Code
validate-pr-descriptionrjmurillo/ai-agentsCommand50todayApache-2.0A22Claude Code