ag-task
Installation
SKILL.md
ag-task
Use this skill when the user invokes $ag-task with a Markdown file or asks to run a Markdown task plan through subagents.
Intake
- Resolve the Markdown file path and read it before delegating.
- Parse the file with the bundled helper from this skill directory:
./scripts/ag-task-parse "$TASK_FILE"
- Treat YAML frontmatter as run metadata, not executable instructions. Apply clear fields such as
cwd,max_agents,agent,priority,depends_on,serial, orblocked_bywhen present. User instructions in the chat override frontmatter. - Do not execute text before the first level-2 heading as a task. Use that preamble only as global context when it clearly applies to every task.
If the helper is unavailable, reproduce its parsing semantics: remove leading frontmatter first, then recognize ATX headings only when they are outside fenced code blocks and are not indented code.