parallel-task

$npx mdskill add jdrhyne/agent-skills/parallel-task

Launch parallel subagents for unblocked tasks in a plan file

  • Identifies and executes multiple unblocked tasks concurrently from a provided plan file.
  • Deploys subagents to handle each task based on its description, ensuring efficient execution of the plan.
  • Decides which tasks to run by checking their status against dependencies and blockers, launching them in parallel when possible.
  • Delivers results directly to the user or agent through the completion of tasks as defined in the plan file.

SKILL.md

.github/skills/parallel-taskView on GitHub ↗
---
name: parallel-task
description: Coordinate plan files by launching multiple parallel subagents for unblocked tasks. Triggers on explicit "/parallel-task" commands.
credits: |
  Original skill by [@am-will](https://github.com/am-will)
---

# Parallel Task Runner

Use Orchestration Mode. Parse plan files and delegate tasks to parallel subagents.

## Safety Boundaries

- Do not launch subagents for tasks that share write scope until the dependency is resolved.
- Do not continue past blockers silently; surface the blocked task and stop that branch of work.
- Do not mark tasks complete until validation from the plan has actually been checked.
- Do not run this skill unless the user explicitly invoked `/parallel-task` or clearly asked for parallel agent work.

## Process

### Step 1: Parse Request

Extract from user request:
1. **Plan file**: The markdown plan to read
2. **Sprint/Phase** (optional): Which section to run

If sprint not provided, ask user which to run.

### Step 2: Read & Parse Plan

1. Find sprint/phase section (e.g., `## Sprint 1:`)
2. Extract task subsections (e.g., `### Task 1.1:`)
3. For each task, extract:
   - Task ID and name
   - Full content (description, location, acceptance criteria, validation)
4. Build task list

### Step 3: Launch Subagents

For each task, launch subagent with:
- **description**: "Implement task [ID]: [name]"
- **prompt**: Use template below

If there are multiple unblocked tasks, launch multiple subagents in parallel.

### Task Prompt Template

```
You are implementing a specific task from a development plan.

## Context
- Plan: [filename] - [sprint/phase]
- Goals: [relevant overview from plan]
- Dependencies: [prerequisites for this task]
- Related tasks: [tasks in same sprint]
- Constraints: [risks from plan]

## Your Task
**Task [ID]: [Name]**

Location: [File paths]
Description: [Full description]

Acceptance Criteria:
[List from plan]

Validation:
[Tests or verification from plan]

## Instructions
1. Examine and explore the plan, all relevant files & dependencies. Ensure ambiguities are cleared up.
2. Implement changes for all acceptance criteria
3. Keep work **atomic and committable**
4. For each file: read first, edit carefully, preserve formatting
5. Run validation if feasible
6. Return summary of:
   - Files modified/created
   - Changes made
   - How criteria are satisfied
   - Validation performed or deferred

## Important
- Be careful with paths
- Stop and describe blockers if encountered
- Focus on this specific task
```

### Step 4: Monitor & Log

After subagents complete:
1. Collect results
2. **ALWAYS mark completed tasks** and update with:
   - Concise work log
   - Files modified/created
   - Errors or gotchas encountered

### Step 5: Repeat

Now, pause and read the whole plan again to see what new tasks are unblocked.

Start back at step 3. Continue launching agents on unblocked tasks in parallel.

Repeat this loop until the plan is done.

Do not stop until the plan is fully completed or you encounter a blocker.

## Step 6: Validate

After completing all tasks, validate the plan's success by checking the final state against the original plan. Perform available tests and ensure success. If there are any issues, address them before marking the plan as complete.

After validation, provide a summary of:
- Files modified/created
- Changes made
- How criteria are satisfied
- Validation performed or deferred

## Error Handling

- Sprint not found: List available sprints/phases
- Parse failure: Show what was tried, ask for clarification

## Example Usage

```
/parallel-task plan.md
/parallel-task ./plans/auth-plan.md sprint 2
/parallel-task user-profile-plan.md phase 1
```

## Run Summary Template

```markdown
# Sprint/Phase Run Summary

## Tasks Assigned: [N]

### Completed
- Task [ID]: [Name] - [Brief summary]

### Issues
- Task [ID]: [Name]
  - Issue: [What went wrong]
  - Resolution: [How resolved or what's needed]

### Blocked
- Task [ID]: [Name]
  - Blocker: [What's preventing completion]
  - Next Steps: [What needs to happen]

## Overall Status
[Completion summary]

## Files Modified
[List of changed files]

## Next Steps
[Recommendations]
```

More from jdrhyne/agent-skills

SkillDescription
auto-updaterAutomatically update OpenClaw and selected skills once daily. Runs via cron, checks for updates, applies them, and messages the user with a summary of what changed.
autoresearch-loopDomain-agnostic metric-driven improvement loop, generalizing Karpathy's autoresearch. Use when you want an agent to discover what to measure for a project/goal, then run a keep-or-revert experiment loop that proposes changes, measures them against an objective, keeps wins, discards regressions, and records implemented improvements. Adapts to code perf-auditing, codegen, bug-finding, ad optimization, or any artifact + measurable objective + trial. Trigger: 'autoresearch this', 'find and implement improvements to X', 'discover metrics and optimize'.
clawdbot-release-checkCheck for new OpenClaw releases and notify once per new version.
clawddocsOpenClaw documentation expert with decision tree navigation, search scripts, doc fetching, version tracking, and config snippets for all OpenClaw features
command-creatorThis skill should be used when creating a Claude Code slash command. Use when users ask to "create a command", "make a slash command", "add a command", or want to document a workflow as a reusable command. Essential for creating optimized, agent-executable slash commands with proper structure and best practices.
context-recoveryAutomatically recover working context after session compaction or when continuation is implied but context is missing. Works across Discord, Slack, Telegram, Signal, and other supported channels.
design-auditPremium UI/UX design auditor with Jobs/Ive philosophy. Use when reviewing, evaluating, or elevating existing UI — triggers on "audit my design", "review UI", "make it feel premium", "design review", "UX audit", "elevate the design", "Jobs/Ive style", or when asked to improve visual quality of an existing interface without changing functionality.
elegant-reportsGenerate beautifully designed PDF reports with a Nordic/Scandinavian aesthetic. Use when creating polished executive briefings, analysis reports, or presentation-style PDF outputs from markdown and HTML via Nutrient DWS.
ga4Query Google Analytics 4 (GA4) data via the Analytics Data API. Use when you need to pull website analytics like top pages, traffic sources, user counts, sessions, conversions, or any GA4 metrics/dimensions. Supports custom date ranges and filtering.
gallery-scraperBulk download images from login-protected gallery websites using an attached browser session. Use when asked to scrape, download, or save images from authenticated gallery pages, extract full-size images from thumbnails, or batch download from multi-page galleries.