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).

跳到安装

来源信息

仓库
AleSaiani/agentflow
最近来源活动
2026年5月25日 18:30
检测到的 SKILL.md 语言
英语
星标
5
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。