Skip to content
Back to skills

Batch Subagents

ASecurity

Use many CLI agent workers for fixed highly parallel tasks.

  • 30 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added November 8, 2026
ai-agentsshell

Works with

  • cli

Security analysis

A100/100

Scanned November 8, 2026

npx -y skills add majiayu000/claude-skill-registry-data --skill batch-subagents --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Batch Subagents?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Batch Subagents
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-batch-subagents/badge)](https://www.skillsdirectory.com/skills/majiayu000-batch-subagents)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: batch-subagents
description: Use many CLI agent workers for fixed highly parallel tasks.
---

# batch-subagents

Prompts/tasks should be pogramatically generatable from few dependant variables such as:
 - each agent reviews one file in a directory (1 variable)
 - for each concept and chapter in a text book, the agent identifies all other related concepts (2 variables)
 - For each edge in a knowledge graph an agent reviews its validity (1 variable)

Use the `cross-provider-subagent` skill for cli worker instructions

## Batch

Turn the independent work into jobs with stable labels. Through
exactly one parent-visible shell call, `xargs -0 -n 1 -P "$parallelism"` pool.
Construct and assess those

Keep each label, absolute workspace, and complete prompt as literal data in its
numbered job directory.

GNU `xargs` treats child exit 255 as a stop signal. Have each per-job wrapper
record the worker's real status and result under its job directory, then return
zero to `xargs` so every job can launch. Emit every stable label with its result
or visible failure, and return nonzero if the pool or any worker failed.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.