Capture or continue work on a task
Captures or continues work on a task, managing intent and context in task files.
/plugin marketplace add MaxWolf-01/agents/plugin install mx@MaxWolf-01task-name-or-topicCapture or continue work on a task.
Arguments: $ARGUMENTS
Tasks capture intent, not implementation state. The code is the implementation state. Git is the history.
A task file contains:
Tasks are NOT:
If a task file or topic was specified in arguments:
agent/tasks/YYYY-MM-DD-<slug>.mdIf no arguments:
grep "^status: active" agent/tasks/*.mdBefore starting work, use memex to find related context:
explore to follow wiki-links from discovered filesBriefly report what you found.
If continuing an existing task:
If creating a new task, do the thinking first — then clarify:
You do 90% of the work. Don't lazily offload questions to the user. Your job is to:
Deeply analyze — What does their request imply? What are the realistic approaches? What constraints exist in the codebase? What trade-offs matter?
Think through each option — For each viable approach:
Form a recommendation — Based on your analysis, which approach makes most sense? Why? Be opinionated.
Present the full analysis — Write it out. Show your reasoning. The user should see you've genuinely thought through the problem.
Then ask what you actually need to know — After all that analysis, what decisions genuinely require user input? These might be:
Use AskUserQuestion for structured input when you have specific options to choose between. But the questions should emerge FROM your analysis — they're the genuine decision points you identified, not generic "what do you want?" prompts.
The pitfall to avoid: Using AskUserQuestion as a substitute for thinking. If you haven't done the analysis, you haven't earned the right to ask questions.
For new tasks, create the file with this structure:
---
status: active
started: YYYY-MM-DD
---
# Task: <Descriptive Title>
## Intent
What user wants. Their mental model. Why this matters.
## Assumptions
What we're taking for granted. Surface these explicitly.
## Sources
**Knowledge files:**
- [[knowledge-file]] — why relevant
**External docs (from research):**
- MUST READ: [Doc title](url) — critical context
- Reference: [Doc title](url) — shows that X works like Y
## Done When
(What does success look like? Checklist of acceptance criteria if helpful.)
## Considered & Rejected
(Fill as approaches are explored and dropped)
## Discussion
(Capture clarifications, mental model corrections, key decisions)
For existing tasks:
With intent clear, proceed with the work. The task file is your north star.
Update the task file when understanding changes:
Don't update for:
The distinction: capture what matters for intent, not what you're doing.
When you discover gotchas or reusable patterns, note them for later extraction to knowledge files (via /distill or /learnings).
When updating task files, don't write:
Task files capture what matters for intent and decision-making, not everything that happened.
Single-focus work items. Most tasks are this.
Meta-tasks that collect context for larger undertakings (like GitHub tracking issues).
Use descriptive filenames — include "-tracking" or similar in the name:
2026-01-10-auth-migration-tracking.md2026-01-08-gemini-integration-tracking.mdStructure:
Example hierarchy:
[[auth-migration-tracking]]
├── [[auth-migration-research-jwt-vs-sessions]]
├── [[auth-migration-backend-implementation]]
└── [[auth-migration-frontend-token-handling]]
Each subtask links back to the tracking task. Agents working on subtasks read the tracking task first for full context.
Create a subtask when work can be delegated — isolated enough to spec out, substantial enough that fresh context helps.
Good candidates:
The test: Is speccing it out less work than just doing it? If explaining the task is as much work as doing it, just do it yourself.
When to split (same principle as knowledge files):
Use date prefix + descriptive keywords:
YYYY-MM-DD-<keywords-separated-by-dashes>.md2026-01-10-workflow-overhaul-commands-implementation.md2026-01-09-gemini-extraction-prompt-latex-handling.md2026-01-08-mobile-playback-safari-audio-context-fix.md