batch

Generates batched workflows that decompose tasks into independently manageable units with automated efficiency.

37|7|Updated Mar 19, 2026
One-click install
npx skills add https://github.com/unclejobs-ai/second-claude-code --skill batch-unclejobs-ai
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: batch
Source: https://github.com/unclejobs-ai/second-claude-code/tree/main/skills/batch
Command: npx skills add https://github.com/unclejobs-ai/second-claude-code --skill batch-unclejobs-ai

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Batch safely decomposes large knowledge-work requests into multiple independent parallel units so you get faster throughput without hidden dependency failures.

Core Features & Use Cases

  • Independent parallel decomposition: Splits a big task into 2–10 non-overlapping units, each producing its own output file in isolation.
  • Mandatory approval gate: Forces a user-visible decomposition plan (including estimated cost and parallelism) before execution starts.
  • Worktree-isolated execution: Runs one agent per unit in separate worktrees to prevent cross-contamination and maintain determinism.
  • Failure-aware synthesis: Continues other units after failures and produces a summary report with error summaries and recommended actions.
  • Use Cases: Generate multiple similar artifacts (newsletters, competitor analyses), cover distinct sections, or analyze items where each unit has identical evaluation criteria.

Quick Start

Use the batch skill to decompose your request into independent units by asking the assistant to “batch this into 6 parallel sections and wait for my approval before running.”

Frequently Asked Questions about batch

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I parallelize large content generation tasks without dependency failures?

Parallelize large content generation by decomposing requests into 2–10 non-overlapping independent units. Each unit executes in isolated worktrees and outputs to separate files, preventing cross-contamination and hidden dependency failures during parallel execution.

How does worktree isolation work when running parallel task decomposition?

Worktree isolation runs one agent per decomposed unit in separate worktrees to prevent cross-contamination and maintain determinism. This ensures each parallel execution unit operates independently, producing its own output file without interfering with other running tasks.

Can I batch repeated analyses into independent parallel sections?

Yes, you can batch repeated analyses into independent parallel sections when evaluation criteria are identical across items and units are non-overlapping. The skill enforces a mandatory independence check and requires user approval of the decomposition plan before execution starts.

What happens if one unit fails during parallel batch execution?

If one unit fails during batch execution, other units continue running. The skill produces a batch summary report with explicit failure reporting, including error summaries and recommended actions, while successfully completed units still generate their separate output files.

Do I need to approve the decomposition plan before parallel execution starts?

Yes, a mandatory approval gate forces a user-visible decomposition plan showing estimated cost and parallelism before execution starts. You must approve the plan to proceed, ensuring you control the task decomposition and concurrency level.

When should I not use parallel batching for task decomposition?

Avoid parallel batching when task units overlap, require specific execution order, or have dependencies between them. The skill enforces a mandatory independence check and only suits non-overlapping, order-independent work like generating distinct document sections or separate competitor profiles.