/markdown-tasks:do-all-tasksfrom markdown-tasks
Automatically processes every incomplete task in .llm/todo.md using one fresh subagent per task, skipping blocked tasks and committing each one.
Ships in markdown-tasks. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Work through incomplete tasks in .llm/todo.md, one fresh worker and one commit per task.
Use the markdown-tasks:tasks skill for script path rules and task semantics. <plugin-root> is ${CLAUDE_PLUGIN_ROOT} in Claude Code; in Codex, it is the plugin root that contains this skills/do-all-tasks/SKILL.md file.
Instructions the user gave after the skill name govern how far the loop runs and any constraints on it. Without instructions, run until no incomplete tasks remain.
Workers make live edits, so this workflow cannot run in plan mode. If plan mode is active in Claude Code, call ExitPlanMode before doing anything else.
Before running any queue script, confirm the session exposes callable tools to spawn a fresh subagent and wait for its result. In Codex, check the available tool set rather than assuming delegation is supported.
If either capability is missing, stop. Report which one is unavailable and that this workflow needs both. Leave task states, archives, and Git unchanged, and do not mark tasks blocked for this reason. Implementing tasks directly in the leader is not a fallback.
The leader (this agent) coordinates and never implements. It uses only Bash and the agent-spawning tool, never Read, Edit, Write, Grep, or Glob. With Bash it may only:
task_get.py, including --index, --range, or --limit to preview the queue beyond the next task.task_unblock.py --dry-run.task_mark.py --marker='!' --reason='<what failed>', adding --title '<task title>' when the failed task is not the first incomplete one.HEAD.task_archive.py.task_get.py is the leader's only view of the queue. The leader never reads .llm/todo.md, task-referenced files, or source files. Each worker discovers its own implementation context.
Blocked [!] tasks from earlier runs are invisible to task_get.py, so survey them first:
python <plugin-root>/scripts/task_unblock.py .llm --dry-run
The dry run rewrites nothing. Its per-file counts show the blocked tasks in .llm/todo.md that this run will skip and the blocked work still waiting in archives.
Report those counts before spawning the first worker, where they will not scroll away under the run's output, then continue. Recovery is the user's decision: point them at the markdown-tasks:markdown-unblock-tasks skill.
Track which tasks this run has attempted.
Extract the first incomplete task:
python <plugin-root>/scripts/task_get.py .llm/todo.md
If no task is returned, go to archiving. Otherwise:
HEAD commit.markdown-tasks:do-one-task skill. Add no other instructions to the worker prompt. The worker extracts its own task, implements only that task, runs the finish workflow, leaves exactly one commit, and marks the task complete itself.Require a clean worktree. Stop and report if the worker left staged or unstaged changes.
On success, verify that HEAD advanced by exactly one commit and that task_get.py no longer returns the completed task. Report "Task completed successfully: [task description]".
On failure, report "Task failed: [task description]", verify that HEAD did not advance, and mark the first incomplete task (the failed one) blocked:
python <plugin-root>/scripts/task_mark.py .llm/todo.md --marker='!' --reason='<what failed>'
The reason is the only record of the failure that survives this session. Quote the concrete failure the worker reported (the failing command, the assertion, the missing dependency), not a restatement of the task. Report "Skipping blocked task: [task description]". task_get.py skips [!] tasks, so each failing task is attempted once.
If the worker made commits before failing, or the task state is ambiguous, stop instead of marking or stacking more work.
Before extracting another task, run the precommit test against HEAD. It is cached, so an already-passing commit returns almost instantly:
git test run HEAD --retest --verbose --verbose
Also check git test results HEAD when available. Continue only when the command succeeds and the recorded result is good. If the result is bad or unknown, report "Stopping due to failures" and stop; never stack a task on an unverified commit.
Repeat extraction, delegation, result handling, and the gate until no incomplete tasks remain or the user's instructions are met.
When task_get.py returns nothing, every task is [x] or [!]. Archive the list:
python <plugin-root>/scripts/task_archive.py .llm/todo.md
Report "All tasks completed - task list archived to .llm/YYYY-MM-DD-todo.md", the number of blocked tasks carried forward, and the tasks blocked during this run. Do not archive when the user's stopping instructions leave [ ] tasks behind.
Each task's worker tends to add its own tests, so a long run can grow the suite and slow the gate. When this run completed many tasks or the gate got noticeably slower, judge whether a code:test-speed pass is worth it, and if so suggest it to the user or append it as a task.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub motlin/claude-code-plugins --plugin markdown-tasks8 skills in this plugin
/add-one-taskAdd a self-contained task to .llm/todo.md. Use when the user asks to add one task or append work to the markdown task list./do-one-taskFind and implement the next incomplete task from .llm/todo.md, commit it through the finish workflow, and mark it done. Use when the user wants the next queued task done./import-planImport a plan markdown file into .llm/todo.md as self-contained tasks, one per plan step plus verification and archive tasks. Use after plan mode or when the user names a plan file./markdown-unblock-tasksRecover blocked [!] tasks from archived task lists back into .llm/todo.md. Use when the user asks to unblock, recover, retry, or resurrect blocked tasks, or wants to know what blocked work is waiting in the archives./plan-tasksConvert a planning discussion into self-contained tasks in .llm/todo.md. Use at the end of a planning conversation, before any implementation starts./sweep-todosFind TODO comments in the codebase and add each one to .llm/todo.md as a task. Use when the user wants source TODOs collected into the task list.Other plugins' skills for the same job