Skip to content
Skills Library
AI & agents · Planning

task-partitioner

/task-partitioner

This skill should be used when the user asks to "partition tasks for parallel agents", "plan multi-agent execution", "create dependency graph", or before spawning any parallel agents. Produces a dependency graph, disjoint file ownership map, and batched execution groups to prevent scope overlap and race conditions.

Repository
dotclaude ↗
Licence
MIT
Last repository change
08.07.2026

Assessment and security

92/ 100Class: good
Format25 / 25
Frontmatter with name and description, valid name, description up to 1,024 characters, name matching the folder.
Discoverability25 / 25
Description explains when to use the skill, has a reasonable length and uses third person.
Content27 / 35
At least 150 words and at most 500 lines, headings, step lists, examples or code.
Hygiene15 / 15
No placeholders such as TODO, no Windows paths, with a licence.
Riskno signals detected in the scan
Files in this package
1
Scripts
0
HTML comments
0
URLs in SKILL.md
0
Deprecation

No signals detected. Repository changed on 08.07.2026, without references to retired models or APIs.

Licence

MIT, open: use and modify while retaining author attribution.

What it does and when to use it

This skill should be used when the user asks to "partition tasks for parallel agents", "plan multi-agent execution", "create dependency graph", or before spawning any parallel agents. Produces a dependency graph, disjoint file ownership map, and batched execution groups to prevent scope overlap and race conditions.

Triggers from the description

partition tasks for parallel agentsplan multi-agent executioncreate dependency graph
Original author description

This skill should be used when the user asks to "partition tasks for parallel agents", "plan multi-agent execution", "create dependency graph", or before spawning any parallel agents. Produces a dependency graph, disjoint file ownership map, and batched execution groups to prevent scope overlap and race conditions.

How it works

SKILL.md has no level-two headings · 52 lines, 379 words

SKILL.md preview
---
name: task-partitioner
description: This skill should be used when the user asks to "partition tasks for parallel agents", "plan multi-agent execution", "create dependency graph", or before spawning any parallel agents. Produces a dependency graph, disjoint file ownership map, and batched execution groups to prevent scope overlap and race conditions.
allowed-tools: Read Glob Grep
---

Analyze the provided task list and produce a multi-agent execution plan.

**Step 1 — Identify dependencies.**
For each task, determine:
- Which other tasks must complete before this one can start (dependencies)
- Which tasks have no dependencies and can run in parallel

**Step 1b — Scope check (before Step 2).**
Count total tasks and total files affected:
- If total tasks > 15 OR total files > 50: split into batches of ≤15 tasks / ≤50 files. Output **one EXECUTION_PLAN per batch**, labeled `Batch 1 of K`, `Batch 2 of K`, etc.
- Each batch is self-contained and processed independently. The main agent runs Batch 1 completely (all groups done, checkpoint written) before starting Batch 2.
- Alert: `"Large scope: [N] tasks / [M] files → split into [K] batches. Complete each batch fully before starting the next."`

**Step 2 — Assign file ownership.**
For each task, assign a disjoint file set:
- Partition by module or directory, not by concern type
- No two tasks in the same execution group may share a file
- Use Glob and Grep to discover which files are relevant to each task

**Step 3 — Group into execution batches.**
- Group 1: all tasks with no dependencies (run in parallel)
- Group 2: tasks that depend only on Group 1 (run in parallel after Group 1 completes)
- Group N: tasks that depend on Group N-1

**Output format — use a markdown table, not JSON.** LLMs produce malformed JSON when it is embedded in mixed text. Tables parse cleanly.

```
EXECUTION PLAN:

Group 1 (parallel):
| Task ID | Files owned              | Depends on | Description              |
|---------|--------------------------|------------|--------------------------|
| A       | src/auth/, src/middleware/ | —          | Refactor AuthService     |
| B       | src/api/                 | —          | Review API endpoints     |

Group 2 (parallel, after Group 1):
| Task ID | Files owned   | Depends on | Description                        |
|---------|---------------|------------|------------------------------------|
| C       | src/services/ | A          | Update services using new AuthService |

TOTAL TASKS: N

FILE OWNERSHIP MAP:
- src/auth/       → Task A
- src/middleware/ → Task A
- src/api/        → Task B
- src/services/   → Task C
```

Present the plan to the main agent for review. Do not spawn any agents — the main agent decides when to proceed.

Versions

The database has no other skills named task-partitioner.

Database snapshot: 13.11.2026 · package version 6fb1ece038a0 (SHA-256 digest of the entire package)

Downloads in the last 30 days: 0 · ranking

Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.

Similar skills

  • 92plan-tasks
    This skill should be used when the user asks to generate a parallel execution plan from a task list ('plan tasks', 'chia task chay song song', 'dependency graph for tasks'). Drives the task-partitioner skill and outputs dependency-ordered batches with non-overlapping file ownership.
  • 100data-partitioner
    Process data partitioner operations. Auto-activating skill for Data Pipelines. Triggers on: data partitioner, data partitioner Part of the Data Pipelines skill category. Use when working with data partitioner functionality. Trigger with phrases like "data partitioner", "data partitioner", "data".
  • 100parallel-execution-optimizer
    Speed up a task by turning it into a dependency graph of parallel lanes with a lane matrix, batched reads and checks, write surfaces isolated by file, worktree, branch, or service, and a final verification table. Use when the user wants a task done much faster through parallel…
  • 90dispatching-parallel-agents
    Use when 2 or more substantial tasks are independent, have disjoint state, and parallel execution will save meaningful time. Do NOT use for coupled or sequential work.
  • 100agent-team
    This skill should be used when the user asks to "create a team", "spawn agents", "parallel execution", "delegate tasks to agents", "use a swarm", "team workflow", "split work across agents", "run tasks in parallel", or mentions wanting multiple agents to collaborate on a complex task.
  • 95skill-parallel-agents
    Decompose large tasks across parallel agents — use for migrations, multi-file refactors, or batch work

Feedback and reports

Your message goes to Bartosz Sokoliński. An email address is needed only for a reply. See the privacy policy.