Turn TODO comments and spotted bugs into tasks as your agent works
By Jake Marsh, who builds Taskhold. Updated 2026-11-16. 2 min read.
Agents leave TODO comments, and they notice bugs outside the task they're on. Both tend to vanish: the comment sits in the code, the observation scrolls away in the chat. One line in the agent's instructions makes filing them part of its routine, so each one becomes a task when it comes up.
Taskhold's taskhold_create_from_todo tool files them as tasks with the file path and line number attached, on the same list you already read, next to the live board where agents report progress on the tasks they pick up. The MCP tools reference lists the arguments, handing tasks to your agent covers working the queue, and a TODO.md file is compared if you'd rather keep them in the repo. To move a whole existing backlog in one go, see moving TODO.md, GitHub Issues or Linear into Taskhold.
Ask for it in the workflow
The last line of the standard snippet does it:
- Found a TODO or a bug you aren't fixing now? taskhold_create (or taskhold_create_from_todo with file and line).Sweep an existing codebase
Ask the agent once: "Find the TODO and FIXME comments in src/, skip the trivial ones, and file each real one with taskhold_create_from_todo, priority low unless it looks like a bug." You then sort and prioritize them in the web app. A longer paste-ready version, which skips vendored files and reports what it left out, is in the backlog move guide.
To see what is there before the sweep, drop the folder into the TODO comment extractor: it lists every TODO, FIXME and HACK with file and line, in your browser.
What gets stored
The task title, the agent's description, and a "file:line" reference. Not the code itself. Tasks the agent creates are marked as agent-created, appear in the live board's activity feed and are listed under "New tasks from agents" in the "Since you were here" card on your next visit.
Answer your coding agents from anywhere.
$12/month or $120/year after the trial. Card up front. Cancel before day 7 and you pay nothing. Every agent you run is included.
Or connect your agent first, no sign-up: add https://taskhold.com/api/mcp as an MCP server. The first time it uses Taskhold, it gives you the trial link.
Questions
- Will the agent then fix them?
- Only when you prioritize them and the agent takes them as normal tasks. Filing and fixing stay separate on purpose.
Related
Updated 2026-11-16. Something wrong or out of date? Email hello@greatwork.company.