active/ag-task/SKILL.md
Read a Markdown task file, parse frontmatter, split work by level-2 headings outside code fences, and execute each section with subagents while keeping level-3 headings as ordered follow-on instructions for the same subagent.
npx skillsauth add kevinslin/skills ag-taskInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when the user invokes $ag-task with a Markdown file or asks to run a Markdown task plan through subagents.
./scripts/ag-task-parse "$TASK_FILE"
cwd, max_agents, agent, priority, depends_on, serial, or blocked_by when present. User instructions in the chat override frontmatter.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.
##) starts one subagent lane.###) inside that level-2 block is an ordered follow-on instruction for the same subagent.## or ###.If a level-2 section has no body before its first level-3 heading, use the title plus the first follow-on list as the initial context and still queue the follow-ons in order.
max_agents; otherwise use all available subagent capacity. If the tool surface does not expose a numeric capacity, start one subagent per ready level-2 task up to the practical session limit and backfill as agents finish.Do not send follow-ons after a failed initial task unless the follow-on is clearly independent or the user explicitly approves continuing.
Use a compact prompt like this for each level-2 lane:
You are working on one lane from a Markdown task file.
Source: <path>:<start-line>
Task: <level-2 title>
Global metadata: <frontmatter summary>
Initial instruction:
<body before the first level-3 heading>
Queued follow-ons for this same lane:
1. <level-3 title> - lines <start-end>
2. <level-3 title> - lines <start-end>
You are not alone in the codebase. Do not revert edits made by others. Keep changes scoped to this lane, adapt to nearby changes, and report changed files, validation run, blockers, and whether the lane is ready for the next queued follow-on.
For each follow-on, send:
Continue the same lane. Run this follow-on after the previous item:
Source: <path>:<start-line>
Follow-on: <level-3 title>
Instruction:
<level-3 body>
pending, running, blocked, or done.development
Create, rename, audit, or close a tracked Codex task whose turns and status are persisted in the local thread ledger. Only use when directly invoked.
testing
Manage Git preflight, branch and worktree creation, and completed-work cleanup. Use when explicitly invoked.
databases
Automatically use for durable knowledge, configured project-context lookup, and schema-backed artifact layouts.
content-media
Create, update, or optimize skills and SKILL.md content.