← 返回 Skills 市场
377
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install agent-task-queue
功能描述
Build and operate a multi-agent task queue in OpenClaw with priority queues, delayed/dead-letter queues, scheduling, retry/timeout control, dependency manage...
使用说明 (SKILL.md)
Agent Task Queue
Use this skill when a task needs queue-based orchestration for multiple agents or workers. The bundled runtime is in src/ and covers:
- Priority queue, delayed queue, and dead-letter queue behavior
- Scheduler polling with concurrency limits, retries, and timeouts
- Dependency validation, dependency gating, and result propagation
- Task logs and aggregate metrics
- Pluggable storage through in-memory, SQLite, or Redis backends
Workflow
- Import
TaskQueueandSchedulerfromsrc/index.ts. - Pick storage:
- Default
InMemoryStoragefor local execution or tests SQLiteStoragefor single-node persistenceRedisStoragefor distributed workers
- Default
- Register handlers with
scheduler.register(taskType, handler). - Enqueue tasks with
priority,runAt,dependencies,retryPolicy, andtimeoutMsas needed. - Drive execution via
scheduler.tick()orscheduler.start(). - Inspect
queue.logs(),queue.metrics(),queue.getSnapshot(), andqueue.get(taskId)for state and traceability.
Key Files
src/TaskQueue.ts: queue lifecycle, ready/dead-letter snapshots, logs, metricssrc/Scheduler.ts: polling loop, concurrency control, retries, timeout handlingsrc/DependencyManager.ts: DAG validation and dependency result propagationsrc/storage/: storage implementationstests/task-queue.test.ts: behavior coverageexamples/basic.ts: end-to-end usage
Implementation Notes
- Dependency tasks must already exist when a dependent task is enqueued.
- A task becomes runnable only after all dependencies are
completed. - Completed dependency results are stored and exposed to downstream handlers through
context.dependencies. - When retries are exhausted, the task is moved to
dead_letter. - Timeout cancellation uses
AbortSignal; long-running handlers should watchcontext.signal.
Validation
Run:
npm run check
If Redis or SQLite packages are unavailable in the environment, install dependencies first with npm install.
安全使用建议
This skill appears to be what it claims: a bundled TypeScript task-queue runtime. Before installing or running it: (1) inspect package.json and be prepared to run npm install (better-sqlite3 is a native module and may require build tools); (2) if you use RedisStorage, only point it at Redis instances you trust because task data and dependency results will be stored there; (3) SQLiteStorage will create a local file (task-queue.sqlite) in the working directory; (4) running npm test or npm run check will execute the test suite and build steps — run these in a sandbox if you are cautious; (5) note that task handlers you register execute arbitrary code and therefore can access network, files, or secrets available to the runtime; review any handlers you or the agent provides before allowing the scheduler to run continuously.
功能分析
Type: OpenClaw Skill
Name: agent-task-queue
Version: 0.1.0
The skill bundle provides a legitimate and well-structured TypeScript task queue system for multi-agent orchestration. It includes features like priority handling, dependency management, and multiple storage backends (SQLite, Redis, and In-Memory). Analysis of the source code (src/), instructions (SKILL.md), and dependencies (package.json) reveals no evidence of malicious intent, data exfiltration, or unauthorized execution; all components align strictly with the stated purpose of managing task lifecycles and execution tracking.
能力评估
Purpose & Capability
The name/description (multi-agent task queue) matches the included TypeScript runtime (TaskQueue, Scheduler, DependencyManager, and storage backends). The package.json dependencies (redis, better-sqlite3) align with the provided Redis and SQLite storage implementations.
Instruction Scope
SKILL.md instructs only queue-related actions (importing TaskQueue/Scheduler, picking storage backend, registering handlers, enqueueing tasks, running scheduler). It advises running npm install / npm run check; it does not instruct reading unrelated files, environment variables, or posting data to unknown endpoints.
Install Mechanism
There is no automated install spec in the registry bundle; the README/SKILL.md expect you to run npm install locally. Dependencies are from npm and there are no downloads from arbitrary URLs. Note: better-sqlite3 is a native module that may require build tools when installed.
Credentials
The skill declares no required env vars or credentials. Redis usage is opt-in via the RedisStorage constructor (accepts a URL argument) — no hidden env access is present. No unrelated secrets are requested.
Persistence & Privilege
The skill is not forced-always, does not request elevated platform privileges, and does not modify other skills or global agent configuration. Running the SQLite backend will create a local DB file; using Redis will connect to a provided Redis endpoint.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install agent-task-queue - 安装完成后,直接呼叫该 Skill 的名称或使用
/agent-task-queue触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release
元数据
常见问题
Agent Task Queue 是什么?
Build and operate a multi-agent task queue in OpenClaw with priority queues, delayed/dead-letter queues, scheduling, retry/timeout control, dependency manage... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 377 次。
如何安装 Agent Task Queue?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install agent-task-queue」即可一键安装,无需额外配置。
Agent Task Queue 是免费的吗?
是的,Agent Task Queue 完全免费(开源免费),可自由下载、安装和使用。
Agent Task Queue 支持哪些平台?
Agent Task Queue 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Agent Task Queue?
由 imgolye(@imgolye)开发并维护,当前版本 v0.1.0。
推荐 Skills