mdtask is a command line tool by Maxim
Syabro, who also wrote neat-annotations. A
task is a checkbox line in any markdown file in your repo, and the tool reads
them from there. There is no database and no separate app. Run it with
npx mdtask. Everything below is real output from version 0.1.17.
What it is
A spec file with the feature written at the top and the tasks as checkboxes underneath:
#auth is a tag, !high is a priority, and the indented lines are the task
body.
Using it
Give every task an id. The tool edits the file in place:
List what is open:
Say that one task waits on another. Ids must be typed in full, AUTH-3 is not
found, and this version still lists a blocked task. The agent skill below tells
the agent to skip it.
Look at one task. A bare number works here:
Close a task, then move the closed ones out of the spec file into
_archive.md at the repo root:
list filters by tag and priority with --tag auth and --priority high,
and sorts with --sort=priority. validate checks for duplicate ids and
broken lines. move and open move a task to another file or open it in your
editor.
The agent part
The tool ships four skills for coding agents and links them into a folder you name:
sddis the working rule: "No code without a spec. PRD is both the spec and the manual." Write the task, build it, then tick the box, add**Implemented:**bullets under it, and update the feature text above the tasks.mdtaskexplains the file format to the agent and tells it to use the CLI rather than parse the files itself.mdtask-createturns "add a task for X" into a task line, asks before saving, and assigns the id.mdtask-nextpicks the next open task, plans it, sends the plan to a reviewer, builds it, reviews the code, records what was done, and commits. When no tasks are left it stops, so it can run in a loop.
The README on GitHub describes a list --blocked option and skills named
mdtask-add and mdtask-do. The version on npm has neither. The GitHub
copy is ahead of what installs.
Last updated on