fd-task

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

A task-planning command that turns a development request into confirmed project notes and a step-by-step plan. It researches the codebase and saves task, architecture, affected-area, and plan documents.

In plain words
What is it for?
Use it to start a coding task, especially in an unfamiliar repository. It initializes the planning workspace, maps the codebase, checks the technology stack, and records the planned work.
Why use it?
It gives later implementation steps a shared understanding of the requirements, project structure, and likely files to change.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions CLAUDE.md; mentions subagents; mentions AGENTS.md.

Good fit Use it to start a coding task, especially in an unfamiliar repository. It initializes the planning workspace, maps the codebase, checks the technology stack, and records the planned work.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/dvnghiem/flowdeck/fd-task"><img src="https://agentmods.dev/badge/commands/dvnghiem/flowdeck/fd-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 33 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,596 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.00033 $0.02596
Opus 5.5 $0.00013 $0.01038
Sonnet 5.5 $0.00007 $0.00519
Haiku 4.5 $0.00003 $0.00260

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

Security

Grade A, and why

fd-task 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-task.md · 337 lines

How it starts

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

Task

Pipeline entrypoint. Turns a task description into the four confirmed artifacts every later stage reads.

Input: $ARGUMENTS — the task description. REQUIRED.

If $ARGUMENTS is empty, the agent MUST prompt the user for a task description before doing anything else. The agent MUST NOT guess or infer the task.

Step 1: Auto-init

Check whether ~/.fd-plan/<slug>/ exists, where <slug> is the project directory name.

MUST initialize if missing:

  1. Create ~/.fd-plan/<slug>/.

  2. MUST create STATE.md immediately after creating the planning directory. Write createDefaultState() to ~/.fd-plan/<slug>/STATE.md, then call planning-state action:update with:

    • updates.status: "in_progress"
    • updates.plan_confirmed: false
    • updates.last_action: "fd-task started"
    • updates.next_action: "complete fd-task steps"

    This ensures fd-resume has a fallback if the session is interrupted before artifacts are confirmed. Then create ~/.fd-plan/<slug>/config.json with the default config.

  3. Map the codebase with the graph:

    • Run fdx-graph action:status — it reports build age without paying for a build.
    • Absent or stale → run fdx-graph action:build. A no-op build is cheap and leaves the cache untouched.
    • Run fdx-graph action:report and read the generated GRAPH_REPORT.md for god nodes and cluster orientation.
    • For anything the graph does not cover (tech stack, dependency versions), delegate to @mapper or read package.json / go.mod / Cargo.toml / pyproject.toml plus the src/ tree.
  4. Write ~/.fd-plan/<slug>/architecture.md — the project-level tech design: tech stack, module layout, entry points, established conventions, external dependencies.

Log: "Initialized ~/.fd-plan/<slug>/ — project architecture mapped."

If it already exists, skip init. The agent MUST NOT overwrite an existing architecture.md.

Step 2: Research gate

Before searching anything, analyze the task description and propose what to research.

Read the full file on GitHub · 337 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 · +11 lines a700dfc42a3c
  2. 3mo ago First seen · 326 lines · 33 tokens per session scan A d7ab8c728172

Subscribe to this mod's changes

fd-task is a command published in the GitHub repository DVNghiem/FlowDeck (44 stars, last pushed 15d ago), licensed MIT. It adds 33 tokens to every session and 2,596 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-task compared with commands from other repositories

fd-task next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fd-taskDVNghiem/FlowDeckCommand4415d agoMITA33Claude Code
wtfp:check-refsakougkas/wtf-pCommand204d agoMITA28Claude Code
wtfp:contributeakougkas/wtf-pCommand204d agoMITA22Claude Code
wtfp:analyze-bibakougkas/wtf-pCommand204d agoMITA23Claude Code
wtfp:audit-milestoneakougkas/wtf-pCommand204d agoMITA24Claude Code
wtfp:export-latexakougkas/wtf-pCommand204d agoMITA22Claude Code
wtfp:remove-sectionakougkas/wtf-pCommand204d agoMITA18Claude Code