todo-done

todo-done is a command for Claude Code from peterfabakker/todo-mcp. It costs 0 tokens per session (555 once invoked), scanned A, original, MIT.

A command for marking a task in a connected to-do list as completed.

In plain words
What is it for?
Use it with phrases such as “mark done,” “complete X,” or “cross that off”; it can complete a task by ID or search for it by text first.
Why use it?
It removes the need to manually find and update a task when you have finished it.

Command for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it with phrases such as “mark done,” “complete X,” or “cross that off”; it can complete a task by ID or search for it by text first.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/peterfabakker/todo-mcp/todo-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/peterfabakker/todo-mcp

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 todo-done

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

Your own site · 80×15
<a href="https://agentmods.dev/commands/peterfabakker/todo-mcp/todo-done"><img src="https://agentmods.dev/badge/commands/peterfabakker/todo-mcp/todo-done.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 555 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00555
Opus 5 $0.00000 $0.00278
Sonnet 5 $0.00000 $0.00111
Haiku 4.5 $0.00000 $0.00056

Measured 9d ago against content hash 1f6be9583ca1, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

todo-done scanned grade A with 1 finding 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 9d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -N -X POST "$URL/mcp" \
skills/.claude/commands/todo-done.md · 60 lines

What it actually says

/todo-done

Triggers

Use this command when the user says any of: "todo-done", "todo done", "mark done", "mark X done", "complete X", "tick off X", "finished X", "done with X", "close todo", "resolve todo", "X is done", "knock off X", "that's done", "just finished X", "cross that off", "check off X"

What to do

Read URL:

URL=$(cat ~/.config/todo-mcp/url 2>/dev/null || echo "")
[ -z "$URL" ] && echo "Run /setup-todo first" && exit 1
  1. If the user gave an ID, call todo_complete directly.
  2. If the user gave text instead of an ID, search for it first:
curl -s -N -X POST "$URL/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"todo_list","arguments":{"params":{"done":false,"search":"SEARCH_TEXT"}}}}' \
  | grep '^data:' | python3 -c "
import sys,json
d=json.loads(sys.stdin.read()[5:])
for c in d.get('result',{}).get('content',[]):
    if c.get('type')=='text': print(c['text'])"
  1. If one match: complete it (MCP direct if available, else curl):
curl -s -N -X POST "$URL/mcp" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json, text/event-stream" \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"todo_complete","arguments":{"id":ID}}}' \
  | grep '^data:' | python3 -c "
import sys,json
d=json.loads(sys.stdin.read()[5:])
for c in d.get('result',{}).get('content',[]):
    if c.get('type')=='text': print(c['text'])"
  1. If multiple matches: list them and ask which one.
  2. If no matches: tell the user and suggest /list-todo.

Confirm with a one-liner: what was completed.

Examples

/todo-done 42
/todo-done buy milk
mark the quarterly report done
finished the login bug
that's done
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. 9d ago First seen · 60 lines · 0 tokens per session scan A 1f6be9583ca1

Subscribe to this mod's changes

todo-done is a command published in the GitHub repository peterfabakker/todo-mcp (0 stars, last pushed 5mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 555 tokens. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.