divide-task

divide-task is a skill for Claude Code from retz8/pastiche. It costs 60 tokens per session (481 once invoked), scanned A, original, MIT.

A workflow for breaking a completed software specification into smaller GitHub issues. It also records those tasks in a TODO file and links them back to the parent issue.

In plain words
What is it for?
Use it after a specification is complete to define numbered subtasks, mark whether each needs human decisions, record blockers, and create linked GitHub issues.
Why use it?
It turns a large implementation into independently trackable work with clear ownership, dependencies, and readiness for autonomous coding. The workflow also requires reviewing the breakdown before issues are created.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it after a specification is complete to define numbered subtasks, mark whether each needs human decisions, record blockers, and create linked GitHub issues.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/retz8/pastiche/divide-task
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add retz8/pastiche --skill divide-task
Clone the repo
git clone --depth 1 https://github.com/retz8/pastiche

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for divide-task

README.md
[![agentmods](https://agentmods.dev/badge/skills/retz8/pastiche/divide-task/github.svg)](https://agentmods.dev/skills/retz8/pastiche/divide-task)
Your own site
<a href="https://agentmods.dev/skills/retz8/pastiche/divide-task"><img src="https://agentmods.dev/badge/skills/retz8/pastiche/divide-task/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for divide-task

Your own site · 80×15
<a href="https://agentmods.dev/skills/retz8/pastiche/divide-task"><img src="https://agentmods.dev/badge/skills/retz8/pastiche/divide-task.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 481 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00060 $0.00481
Opus 5.5 $0.00024 $0.00192
Sonnet 5.5 $0.00012 $0.00096
Haiku 4.5 $0.00006 $0.00048

Measured 1mo ago against content hash d2a8ac79bc73, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

divide-task scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/skills/divide-task/SKILL.md · 32 lines

What it actually says

divide-task

Harness conventions: _dev/docs/harness.md. Requires: task spec written, task [WIP], feature branch checked out.

Workflow

  1. Derive sub-tasks from the spec. Each sub-task is one implementation step, sized for a single overnight session. Number them N.1, N.2, … where N is the task's TODO number.

  2. Analyze each sub-task:

    • Autonomy — purely mechanical, mergeable without human judgment → autonomous-ready; otherwise → decision-needed. When in doubt, decision-needed.
    • Dependencies — which sub-tasks must land first. Independent sub-tasks that touch disjoint files/logic may run in parallel; note the execution order.
  3. Review with the user before creating anything: list sub-tasks, labels, and dependency order. Adjust until approved.

  4. Create child issues. For each sub-task:

    • Title [N.x] <name>; body: one-paragraph scope + pointer to the spec path; same milestone as the parent; autonomy label.
    • For blocked ones: create blocked-by-<blocker-issue-number> labels on demand (gh label create) and apply them. Blockers must be created first so their issue numbers exist.
    • Link each as a sub-issue of the parent (GitHub sub-issue, or a task-list in the parent body if unavailable).
  5. Mirror into _dev/TODO.md. Under the task line, add an indented checklist: - [ ] **N.x** <name> (#<issue>).

  6. Update the parent issue. Add the sub-issue links and the spec reference.

Label lifecycle (for whoever completes a sub-task)

When a blocking sub-task closes, remove its blocked-by-<its-number> label from every issue carrying it, and tick the sub-task checkbox in TODO.md.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 32 lines · 60 tokens per session scan A d2a8ac79bc73

Subscribe to this mod's changes

divide-task is a skill published in the GitHub repository retz8/pastiche (4 stars, last pushed 4mo ago), licensed MIT. It adds 60 tokens to every session and 481 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

contribution-workflow

Design or document how new work enters a design system: contribution types, proposal criteria, review stages, sign-off and release. Triggers: contribution process, how should someone contribute, contribution guidelines, adding a new component. Not for audit findings to tickets (backlog-generator).

murphytrueman/design-system-ops · 60 tokens

backlog-generator

Turn existing audit findings into sprint-ready tickets with T-shirt estimates, acceptance criteria, dependencies and phases. Triggers: tickets from audit, backlog from findings, sprint planning from report. Not for the contribution process (contribution-workflow).

murphytrueman/design-system-ops · 51 tokens

forge-sync

Use when checking if .forge/ artifacts are stale after a change to requirements, architecture, or any upstream artifact. Use before running /build, /review, or /ship to confirm the artifact chain is consistent. Use when the user says "is anything out of date" or "what needs to be regenerated".

aneja5/forge-skills · 66 tokens

feedback

Use when implementation, review, security, scalability, or incident work reveals that an upstream .forge/ artifact is wrong, when a contract is missing an operation, when an ADR is being contradicted by a current need, when security recommends architecture changes, or when the user says "we discovered the spec is…

aneja5/forge-skills · 65 tokens

planning-and-task-breakdown

Use when .forge/prd.md and .forge/architecture.md exist and the work needs to be decomposed before implementation, when sizing tasks for a sprint, when mapping dependencies between modules, or when a critical path needs to be identified before parallel work begins.

aneja5/forge-skills · 58 tokens

documentation-hygiene

Use when reviewing documentation quality, when establishing README and changelog standards, when preventing doc rot, when in-code comments duplicate code instead of explaining intent, or when subdirectories of a repo have no documentation entry point.

aneja5/forge-skills · 48 tokens