Skip to main content
Reads lines from stdin and spawns one agent per line. Each line is substituted into a slug template and a description template, producing a batch of agents with a single command.

Synopsis

Both <slug-template> and <description-template> use {} as the substitution marker. Every occurrence of {} in the slug template is replaced with a sanitized version of the input line (lowercased, each run of non-alphanumeric characters replaced with one dash and a leading run dropped, truncated to 60 characters; a line with no letters or digits becomes item). Every occurrence of {} in the description template is replaced with the raw input line. Empty lines are skipped.

Arguments

Examples

Spawn an agent for each changed file

The per-agent summaries go to stdout. The final Spawned N agents count goes to stderr. When a spawn fails, the count reads Spawned N/M agents (K failed).

Preview without spawning

The (3 agents) count goes to stderr.

Null-delimited input

Specify a model and persona

Errors