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.
npx agentmods add commands/dvnghiem/flowdeck/fd-checkpointgit clone --depth 1 https://github.com/DVNghiem/FlowDeckWhat 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 | $0.00000 | $0.00759 |
| Opus 5 | $0.00000 | $0.00380 |
| Sonnet 5 | $0.00000 | $0.00152 |
| Haiku 4.5 | $0.00000 | $0.00076 |
Grade A, and why
fd-checkpoint 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 3d 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 — 70 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/fd-checkpoint
Purpose: Force-save the current session to checkpoint.json and STATE.md so it can be safely resumed later with /fd-resume. Normally runs automatically on session.idle via the session-events hook; invoke manually to force a save before closing a session.
Usage
/fd-checkpoint
What Happens
- Check
~/.fd-plan/<slug>/STATE.mdexists. If not, error:"No planning workspace. Run /fd-task to start." - Read the current STATE.md and the existing
~/.fd-plan/<slug>/checkpoint.jsonif present. - Update STATE.md:
- Set
last_updatedto the current timestamp - Ensure
statusreflects current state accurately
- Set
- If
~/.fd-plan/<slug>/<topic>/plan.mdexists, scan it for completed steps and updatesteps_completein STATE.md. - Write
~/.fd-plan/<slug>/checkpoint.json. This is the file/fd-resumereads first. Merge into the existing file — never drop fields written by an earlier command.
{
"version": "1",
"project": "<slug>",
"topic": "<topic>",
"saved_at": "<ISO>",
"current_command": "fd-execute",
"current_stage": "wave-2",
"phases": { "1": "complete", "2": "in_progress", "3": "pending" },
"files_written": ["~/.fd-plan/<slug>/<topic>/plan.md"],
"worktrees": [],
"blockers": [],
"status": "in_progress"
}
Field rules:
version— always"1". Bump only when the schema changes incompatibly.project— the project slug (the directory name used for~/.fd-plan/<slug>/).topic— the active topic slug, i.e. the subdirectory holding the artifacts.saved_at— ISO 8601 timestamp of this save.current_command— the/fd-*command in flight, e.g.fd-execute.current_stage— the stage within that command, e.g.complete,wave-2,failed.phases— every known wave number mapped tocomplete|in_progress|pending.files_written— planning artifacts written this session, as~-prefixed paths.worktrees— worktrees still live and unmerged, e.g.fd-<slug>-wave-2. Empty when none.blockers— STATE.md blockers, verbatim. Empty when unblocked.status—in_progresswhile the pipeline is running,doneafter/fd-done.
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.
- 3d ago First seen · 70 lines · 0 tokens per session scan A a29a295c3b49
fd-checkpoint is a command published in the GitHub repository DVNghiem/FlowDeck (24 stars, last pushed 14d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 759 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.
Other commands, from other repositories
annotate-plan
Draft a plan and open it in the annotator UI for user review.
wtfp:create-outline
Build the section structure, argument map, dependencies, and word budgets.
wtfp:checkpoint
Save, list, or restore an exact portable paper-state checkpoint.
wtfp:execute-outline
Draft independent section waves in parallel and verify cross-section coherence.
wtfp:pause-writing
Record an exact context handoff so another session can resume without reconstructing intent.
wtfp:resume-writing
Restore the latest portable handoff and route the researcher to the next safe action.