# Todo Discipline

> Use when starting any complex task (3+ steps) or before declaring work complete. Enforces todo/task state to match reality — merge updates + read verification. Prevents false completion.

- Skill: `frankxai/todo-discipline-2` (Agent Skill)
- Install (CLI): `npx skillmds@latest add frankxai/todo-discipline-2`
- Raw SKILL.md: https://api.skillmd.com/api/skills/frankxai/todo-discipline-2/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- License: MIT
- Author: frankxai (https://skillmd.com/u/frankxai)
- Updated: 2026-09-22
- Page: https://skillmd.com/skills/frankxai/todo-discipline-2

---


# Todo Discipline (Free)

Agents often create task lists, do the work, then conclude while the UI still shows **0/N done**. This skill makes **task state = reality** a hard gate.

## When to Use

- Complex tasks with 3+ steps  
- Multi-agent or long sessions  
- Before any “done”, handover, or “battle-tested” claim  

**Don't use for:** single-step Q&A.

## Hard gate

Before any concluding message:

1. Update **every** finished item to completed (merge, don’t wipe history)  
2. **Immediately read** the task list again (no-args read)  
3. Only then write the final summary  

Treat the **read result** as ground truth if merge responses echo stale state (common in long/headless runs).

## Rules

- Prefer merge over full replace  
- Only one item `in_progress` at a time  
- Never pass an empty todos array on merge (can clear the list)  
- Supply full id + content + **new** status for items you change  

## Verification checklist

- [ ] All finished work marked completed  
- [ ] No stale in_progress when claiming done  
- [ ] Read-back confirmed  
- [ ] User-visible task counter matches reality  

## License

MIT — Frank Riemer / GenCreator.

