shared-subagent-batching

Community

Scale per-unit sub-agents with safe batching.

AuthorAKCqhzdy
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This pattern orchestrates per-unit sub-agents with a controlled batching approach to manage concurrency, retries, and deterministic outputs for multi-unit processing.

Core Features & Use Cases

  • Build a worklist of pending units and launch up to a configurable batch of sub-agents in parallel.
  • Each sub-agent processes exactly one unit and inherits the main agent's model.
  • On completion, validate outputs, retry failed units up to three times, and run a consumer-specific aggregate validation after draining the worklist.
  • Sub-agent prompts are sourced from each consumer skill's references/subagent-prompt-template.md.
  • Ensure one unit per sub-agent call; parallelism comes from many sub-agents running simultaneously.

Quick Start

Configure BATCH_SIZE in env.txt and run the consumer skill to start parallel per-unit sub-agents.

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: shared-subagent-batching
Download link: https://github.com/AKCqhzdy/dse-subject-grading/archive/main.zip#shared-subagent-batching

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.