Skip to main content

queue

A lock-free shared work queue that MANY workers (terminals/sessions) can drain at the same time without double-processing. Each item is a file claimed by an atomic rename, so concurrent claims are safe with no locks. Supports dynamic enqueue (`add`), a `--stop-file`/budget pause, and `reclaim` of a dead worker's stale claims. USE when work should be pulled by **multiple concurrent workers from one queue** ("process this queue from 3 terminals", "a shared work queue", "let several agents drain these in parallel safely"), or when items arrive over time. For a single orchestrator processing a fixed list, use /agentflow:foreach (its `--shard k/N` splits a list across terminals by static partition — queue is the dynamic, pull model instead).

Jump to install

Source facts

Repository
AleSaiani/agentflow
Last source activity
May 25, 2026 at 18:30
Detected SKILL.md language
English
Stars
5
Forks
0

Install options

The review-first prompt is selected by default. You can switch to a direct command or download a local copy.

Review the source files

Read SKILL.md and any companion files shown by SkillsMP before deciding whether to install.