Agent skill

Expand Tasks

by anombyte93 in anombyte93/prd-taskmaster

Expand all TaskMaster tasks with deep research before coding begins.

MITAuto-check: notesProduct & Project Management

Install Expand Tasks

skills CLI
$ npx skills add anombyte93/prd-taskmaster --skill expand-tasks -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install anombyte93/prd-taskmaster expand-tasks --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/anombyte93/prd-taskmaster.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/expand-tasks .claude/skills/expand-tasks && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
expand-tasks
GitHub stars
604
Token cost
~2k tokens
SKILL.md length
885 words
Files
1
Skills in repo
9
Repo updated
First seen
Licence
MIT

At a glance

Expand all TaskMaster tasks with deep research before coding begins.

  • Works in 5 steps: Preflight → Choose Scope → Generate Research Prompts → …
  • Tasks that involve PRD writing
  • SKILL.md covers When to Use, Native-parallel first (token…, Prerequisites and Workflow (5 Steps), plus 5 more sections
  • Calls python3

What it does

Expand Tasks is an agent skill from anombyte93/prd-taskmaster. Expand all TaskMaster tasks with deep research before coding begins. Reads tasks.json, launches parallel research agents per task in waves using the research-expander agent. Writes findings back to tasks.json. Part of the prd-taskmaster toolkit. Use after PRD is parsed and before implementation. Invoke with /expand-tasks.

Its SKILL.md is about 2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in Product & Project Management, covering PRD writing and Deep research. It works with Model Context Protocol. The repository describes itself as: Zero-config goal-to-tasks engine for Claude Code (the Atlas engine). Graded PRD validation, dependency-ordered task graph, evidence-gated execution. The licence is MIT.

When your agent uses it

  • Tasks that involve PRD writing
  • Tasks that involve Deep research

Example prompts

  • “/expand-tasks”

Requirements

  • Python 3
  • Pre-approved tools (allowed-tools): Read, Write, Edit, Bash, Task, Skill, Glob, Grep, AskUserQuestion, ToolSearch, mcp__atlas-engine, mcp__plugin_prd_go, mcp__plugin_prd-taskmaster_go, mcp__plugin_atlas-go_go

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. Preflight
  2. Choose Scope
  3. Generate Research Prompts
  4. Launch Parallel Research Agents
  5. Collect and Write Results

What it can do on your machine

Read from SKILL.md and the folder at commit 3a9756a. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves these tools, so the agent can use them without asking each time:

    • Read
    • Write
    • Edit
    • Bash
    • Task
    • Skill
    • Glob
    • Grep
    • AskUserQuestion
    • ToolSearch

    …and 4 more on the same allowed-tools line.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Expand Tasks loads about 2k tokens when it runs. Until then it costs about 84 tokens; SKILL.md has 885 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~84
When it runs · the whole SKILL.md, loaded when a task matches
~2k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NotePre-approves every shell command (allowed-tools: Bash)SKILL.md
    allowed-tools: Read, Write, Edit, Bash, Task, Skill, Glob, Grep, AskUserQuestion, ToolSearch, mcp__atlas-engine, mc

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from anombyte93/prd-taskmaster at commit 3a9756a, republished under its MIT licence (© anombyte93). 885 words, ~1,998 tokens.

Download SKILL.mdSave it as .claude/skills/expand-tasks/SKILL.md (or your agent's skills folder).
name
expand-tasks
description
Expand all TaskMaster tasks with deep research before coding begins. Reads tasks.json, launches parallel research agents per task in waves using the research-expander agent. Writes findings back to tasks.json. Part of the prd-taskmaster toolkit. Use after PRD is parsed and before implementation. Invoke with /expand-tasks.
allowed-tools
Read, Write, Edit, Bash, Task, Skill, Glob, Grep, AskUserQuestion, ToolSearch, mcp__atlas-engine, mcp__plugin_prd_go, mcp__plugin_prd-taskmaster_go, mcp__plugin_atlas-go_go
user-invocable
true

Expand Tasks with Research v1.0

Expands TaskMaster tasks with research before coding begins. Deterministic operations handled by script.py; AI handles judgment.

Script location: skills/expand-tasks/script.py (relative to plugin root) Part of: prd-taskmaster plugin Depends on: research-expander agent (parallel research worker), any research provider configured via task-master models --set-research or registered as an MCP research tool.

When to Use

Activate when user says: expand tasks, research tasks, research before coding for all, expand subtasks. Do NOT activate for: single task research (use /research-before-coding), PRD generation (use /prd:go).

Native-parallel first (token economy)

Before launching agent waves, check the cheaper path: the native engine expands tasks in parallel for free. Prefer python3 script.py expand — backend op expand (native api) — or the expand_tasks MCP tool: it runs structured expand across pending tasks concurrently (inheriting the engine's ThreadPoolExecutor) on economy-tier models / keyless host CLIs and merges atomically. Use THIS skill's agent waves when: no provider/CLI is available, native expand reports failures for specific tasks (rerun just those here), or the research must be repo-grounded (agents can read the codebase; native expand cannot).

Prerequisites

  • TaskMaster tasks.json must exist (run /prd:go first)
  • A research provider is configured — either (a) task-master models --set-research <model> --<provider> for any task-master provider family, or (b) an MCP research tool registered in ~/.claude.json that Claude Code can call directly (for example mcp__plugin_prd_go__* tools or an external search/reason MCP)
  • At least 1 task in tasks.json

Workflow (5 Steps)

Step 1: Preflight
bash
python3 skills/expand-tasks/script.py read-tasks

Returns JSON: total, expanded, pending_expansion, tasks[].

If pending_expansion is 0: Report all tasks already expanded. Exit skill.

If research provider is not configured: Check via task-master models and verify a research role is set. If none, tell the user to configure one (task-master models --set-research <model> --<provider>) and exit. The skill does not assume any specific research backend — it uses whatever is configured.


Step 2: Choose Scope

Use AskUserQuestion:

  • All tasks (default): Expand every task that hasn't been researched yet
  • Specific tasks: User provides task IDs (comma-separated)
  • By dependency level: Expand tasks with no dependencies first, then next wave

AI judgment: Recommend "All tasks" for initial expansion, "By dependency level" for incremental work.


Step 3: Generate Research Prompts

For each task to expand:

bash
python3 skills/expand-tasks/script.py gen-prompt --task-id <ID>

Returns JSON with prompt field containing the full research agent prompt.

AI judgment: Review the auto-generated prompt. Customize research questions if the task needs domain-specific queries. Add project context from the PRD or session-context files if relevant.


Step 4: Launch Parallel Research Agents

Launch research agents in parallel waves. Each wave = up to 5 concurrent agents.

For each task, spawn a Task agent using the dedicated research-expander subagent type (defined in agents/research-expander.md):

Task(
  subagent_type: "research-expander",
  description: "Research Task <ID>: <title>",
  run_in_background: true,
  prompt: <prompt from Step 3>
)

Wave strategy:

  • Wave 1: Tasks with no dependencies (they inform downstream tasks) — run in parallel
  • Wave 2: Tasks depending on Wave 1 — run in parallel
  • Wave 3+: Continue until all tasks covered — run in parallel per wave
  • Max 5 agents per wave to avoid overwhelming the configured research backend

Wait for each wave to complete before launching the next. Parallel dispatch only happens WITHIN a wave; waves themselves are serial.


Show full SKILL.md (402 more words)Show less
Step 5: Collect and Write Results

As each research-expander agent completes, save its research output:

  1. Write agent output to a temp file:

    bash
    cat > /tmp/research-task-<ID>.md <<'EOF'
    <agent output>
    EOF
  2. Write research back to tasks.json:

    bash
    python3 skills/expand-tasks/script.py write-research --task-id <ID> --research /tmp/research-task-<ID>.md
  3. After all tasks are written, verify:

    bash
    python3 skills/expand-tasks/script.py status

AI judgment: Review each research result for quality. If a result is too thin (< 5 lines of useful content) or clearly failed, re-run that specific task's research through a fresh research-expander invocation.


Research Agent Prompt Pattern

The gen-prompt command generates prompts that follow the research-before-coding pattern:

  1. Agent receives task context (title, description, dependencies, subtasks)
  2. Agent runs 3-5 targeted queries against the user's configured research provider. The research-expander agent is tool-agnostic: it picks up whichever research tools are available in the current Claude Code session. This may be task-master research, an MCP search/reason tool from ~/.claude.json (including any mcp__plugin_prd_go__* tools registered by this plugin), WebSearch as a last resort, or whatever the user has bound. The skill does not hard-code any specific research MCP.
  3. Agent distills results into structured summary
  4. Summary returns to main context (~25-40 lines per task)

Critical: prefer structured research tools (task-master research, MCP search/reason tools) over raw WebSearch/WebFetch when available — they produce cleaner outputs with citations.


Error Handling

ErrorAction
Research provider unreachable or rate-limitedExit skill, tell user to verify task-master models research role is set and reachable
research-expander agent returns empty/failedRe-run that specific task with different queries
tasks.json not foundExit skill, tell user to run /prd:go first
Task already expandedSkip silently unless user forces re-expansion
Agent timeoutMark task as failed, continue with others

Output

After all tasks are expanded, the skill reports:

  • Total tasks expanded
  • Any failures that need retry
  • Next recommended action (usually: begin implementation)

Integration with prd-taskmaster

This skill fits between Step 8 (Parse & Expand Tasks) and Step 11 (Choose Next Action) of the prd-taskmaster workflow. After PRD is parsed into tasks but before execution begins.

/prd:go → generates PRD → parses into tasks
    ↓
/expand-tasks   → research-expander agents run in Parallel waves → writes findings back to tasks.json
    ↓
Implementation begins (with research context in each task)

Tips

  • Run after PRD generation but before any implementation
  • Research results are stored in research_notes field of each task in tasks.json
  • Re-running on already-expanded tasks is safe (will skip unless forced)
  • For very large task lists (20+), consider expanding in dependency order to save context
  • Each research-expander agent typically completes in ~30s depending on research backend and query depth; 15 tasks ≈ 3 waves ≈ 2-3 minutes total

© anombyte93, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/expand-tasks of anombyte93/prd-taskmaster.

Open the folder on GitHubat commit 3a9756a

Compare with similar skills

Expand Tasks next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Expand Tasks compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Expand Tasks this skillanombyte93/prd-taskmaster604—~2kAutomated safety check: NotesMIT
Tdoctornado-doc/tdoc103—~18kAutomated safety check: NotesAGPL-3.0
Writing312362115/claude107—~1.6kAutomated safety check: PassMIT
Ouroboros PM InterviewQ00/ouroboros6.2k1 repos~5.7kAutomated safety check: PassMIT
Produck Feedback To Buildtryproduck/produck-skills510—~1kAutomated safety check: PassApache-2.0
Rhesisrhesis-ai/rhesis397—~1.2kAutomated safety check: PassProprietary

Similar skills

  • Tdoc

    tornado-doc/tdoc

    Use tdoc by default to create, edit, publish, or share any document, even when tdoc is not mentioned.

    103 GitHub stars~18k tokensUpdated today
    Product & Project ManagementAuto-check: notes
  • Writing

    312362115/claude

    通用写作技能:以"内容→组件→组合"的方式产出技术文档、产品文档、汇报材料. An agent skill from 312362115/claude.

    107 GitHub stars~1.6k tokensUpdated 4 mo ago
    Product & Project ManagementAuto-check passed
  • Runs a guided product-manager interview that classifies each question automatically and produces a Product Requirements Document.

    6.2k GitHub starsUsed in 1 repo~5.7k tokens
    Product & Project ManagementAuto-check passed
  • Produck Feedback To Build

    tryproduck/produck-skills

    Pulls full in-context user feedback tickets through the Produck MCP server and turns them into an aligned product change instead of a guess.

    510 GitHub stars~1k tokensUpdated 1 mo ago
    Product & Project ManagementAuto-check passed
  • Rhesis

    rhesis-ai/rhesis

    Design, run, and analyze AI test suites on Rhesis — explore endpoints, build test foundations from a spec, create requirements and metrics, execute tests, and analyze results.

    397 GitHub stars~1.2k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Tapd Product Discovery

    TencentBlueKing/bk-bcs

    A skill your agent uses when work starts before a complete PRD exists, including 产品前置, 产品调研, 用户调研, 竞品分析, PRD, 原型, 想法建单, 老板需求, 需求来源, 产品父单, 角色拆单, 设计子单, 前端子单, 后端子单, 页面原型 Spec, BKUI 原型, HTML 原型, 原型评审…

    840 GitHub stars~1.6k tokensUpdated today
    Product & Project ManagementAuto-check passed

More from anombyte93/prd-taskmaster

All 9 skills in this repo
  • Customise Workflow

    anombyte93/prd-taskmaster

    Customise the prd-taskmaster plugin workflow via curated brainstorm questions.

    604 GitHub starsUsed in 1 repo~2k tokens
    Auto-check: notes
  • Generate

    anombyte93/prd-taskmaster

    Phase 2 of the prd-taskmaster pipeline: spec generation and task parsing.

    604 GitHub starsUsed in 1 repo~3.8k tokens
    Auto-check: notes
  • Execute Fleet

    anombyte93/prd-taskmaster

    Phase execution skill for licensed Atlas Fleet runs. An agent skill from anombyte93/prd-taskmaster.

    604 GitHub stars~2.2k tokensUpdated 1 mo ago
    Auto-check: notes
  • Discover

    anombyte93/prd-taskmaster

    Phase 1 of the prd-taskmaster pipeline: brainstorm-driven discovery.

    604 GitHub stars~2.4k tokensUpdated 1 mo ago
    Auto-check passed
  • Execute Task

    anombyte93/prd-taskmaster

    Execute the next TaskMaster task using the implementation plan with CDD verification.

    604 GitHub stars~4.8k tokensUpdated 1 mo ago
    Auto-check: notes
  • Handoff

    anombyte93/prd-taskmaster

    Phase 3 of the prd-taskmaster pipeline: smart mode selection and user handoff.

    604 GitHub stars~5k tokensUpdated 1 mo ago
    Auto-check passed

Questions about Expand Tasks

What does Expand Tasks do?

Expand all TaskMaster tasks with deep research before coding begins. Expand Tasks is an agent skill from anombyte93/prd-taskmaster. Expand all TaskMaster tasks with deep research before coding begins.

When should I use Expand Tasks?

Expand Tasks fits situations like: tasks that involve PRD writing; tasks that involve Deep research.

How do I install Expand Tasks in Claude Code?

Run `npx skills add anombyte93/prd-taskmaster --skill expand-tasks -a claude-code`. Or copy the skill folder (skills/expand-tasks in anombyte93/prd-taskmaster) into .claude/skills/expand-tasks in your project. Claude Code loads it when a task matches its description.

How do I install Expand Tasks in Codex?

Run `npx skills add anombyte93/prd-taskmaster --skill expand-tasks -a codex`. Or copy the skill folder (skills/expand-tasks in anombyte93/prd-taskmaster) into .agents/skills/expand-tasks in your project. Codex loads it when a task matches its description.

Can I use Expand Tasks in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add anombyte93/prd-taskmaster --skill expand-tasks -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/expand-tasks, .gemini/skills/expand-tasks, .github/skills/expand-tasks and .opencode/skills/expand-tasks in your project.

What does Expand Tasks need to run?

Going by SKILL.md and its folder, Expand Tasks needs the command-line tools its instructions call (python3). Our summary lists: Python 3. Its frontmatter pre-approves these tools: Read, Write, Edit, Bash, Task, Skill, Glob, Grep, AskUserQuestion, ToolSearch, mcp__atlas-engine, mcp__plugin_prd_go, mcp__plugin_prd-taskmaster_go, mcp__plugin_atlas-go_go.

Does Expand Tasks access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Expand Tasks safe to install?

Our automated static check of SKILL.md found notes only (pre-approves every shell command (allowed-tools: bash)), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Expand Tasks use?

Expand Tasks is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Expand Tasks use?

About 2k tokens (SKILL.md is roughly 8k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Expand Tasks?

Skills that share tags, products or a category with Expand Tasks: Tdoc (tornado-doc/tdoc, 103 stars), Writing (312362115/claude, 107 stars), Ouroboros PM Interview (Q00/ouroboros, 6.2k stars) and Produck Feedback To Build (tryproduck/produck-skills, 510 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Expand Tasks?

anombyte93 (a GitHub user) maintains it in anombyte93/prd-taskmaster, which has 604 GitHub stars. The repository holds 9 skills in this directory. The repository was last updated on August 14, 2026.

Source: anombyte93/prd-taskmaster on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.