The task list is getting long¶
A short queue is easier to read
Say "Prune the task list", or type
/prune. The agent moves finished items intoTASKS-archive.mdand drops notes that are no longer true. The history stays in the repository.
All three frameworks ship /prune: App-Director, Godot-Director and SaaSAllTheThings. The steps are the same in each. Nothing to install: run it in Claude Code, in the project where the framework is installed.
Short answer¶
- Run it when the queue gets hard to read. As the project grows,
TASKS.mdfills with done items and the open ones are hard to find. Godot-Director and SaaSAllTheThings suggest pruning onceTASKS.mdholds more than about ten done items. App-Director names no threshold. - Nothing is lost. Each item moves with its heading and fields unchanged, and IDs are never reused. An ID you can't find in
TASKS.mdis inTASKS-archive.md. - Only done items move. Items that are
todoorin-progressstay. - It also saves tokens. Every session reads the task list to find the next task, so a shorter list is cheaper to read: see It's costing more than I'd like.
Two ways to do it¶
By talking. Say "Prune the task list".
With the skill. Type /prune.
Saying it and typing the command run the same procedure, so use whichever is quicker.
Steps¶
- Start from committed work. Run it from a session where the finished items are committed, so the diff shows only the move.
- Let the agent move the items. Every
doneitem goes fromTASKS.mdto the end ofTASKS-archive.md. If the archive doesn't exist yet, the agent creates it with a short header. - Check the notes it removed. The agent deletes lines under the Notes section of
TASKS.mdthat are no longer true. Look at them ingit diffbefore you approve, and tell the agent to put back any that still matter. - Approve the commit. The agent commits the change as
docs: prune tasksonce you say yes.
What can go wrong¶
- The counters and milestones stay as they are. The next ID counter and the milestones are not changed, so new items keep numbering from where they were.
- Look in the archive for old IDs. An open item that depends on an archived ID still works, because
/next-tasklooks in the archive too. - A removed note you still need. It is in
git diffand in the history. Ask the agent to put it back before you approve.
Related¶
- The
/pruneskill page, with what is unique to each framework. - The procedures: App-Director, Godot-Director and SaaSAllTheThings.
Prune when the queue gets hard to read. The history stays in the archive.All questions