Overview
- Skill Key
- bg1avd/model-queue
- Author
- bg1avd
- Source Repo
- openclaw/skills
- Version
- -
- Source Path
- skills/bg1avd/model-queue
- Latest Commit SHA
- 2191ff2cb25c94f750eab51a5d31fe928471ad9c
Multi-queue task orchestration system. Tasks are routed to queues by model source, with support for task dependencies, context passing, and failure handling. Each model source has its own FIFO queue, executing one task at a time.
Stars
0
Installs
0
Status
ACTIVE
Visibility
PUBLIC
直接复制以下提示词,发送给你的 AI 助手即可完成安装。
请先检查是否已安装 SkillHub 商店,若未安装,请根据 https://skillhub-1388575217.cos.ap-guangzhou.myqcloud.com/install/skillhub.md 安装 SkillHub 商店,然后安装 task-queue-by-model-source 技能。 若已安装,则直接安装 task-queue-by-model-source 技能。
# Model Queue Skill
A multi-queue task orchestration system where tasks are routed to queues based on their target model source. Supports task dependencies, context passing between tasks, and configurable failure handling.
---
## Core Concepts
### Model Source Mapping
Models are grouped by their underlying source (e.g., local Ollama, remote Ollama, cloud API). All tasks targeting models on the same source share a single queue.
**Configuration in TOOLS.md:**
```
MODEL_SOURCE_OLLAMA_LOCAL=ollama/llama3,ollama/qwen2.5,ollama/mistral
MODEL_SOURCE_OLLAMA_REMOTE=ollama-remote/qwen3.5:27b,ollama-remote/llama3:70b
MODEL_SOURCE_CLOUD_NVIDIA=nvidia/z-ai/glm5,nvidia/llama3
```
### Queue Isolation
Each model source has its own queue file:
- `${MODEL_QUEUES_DIR}/ollama-local.json`
- `${MODEL_QUEUES_DIR}/ollama-remote.json`
Queues are independent — a blocked task in one queue doesn't affect other queues.
---
## Task Object Schema
```json
{
"id": "T-001",
"queue": "ollama-local",
"model": "ollama/qwen2.5",
"description": "Analyze the sales data",
"goal": "Generate a summary of Q1 sales performance",
"status": "pending",
"priority": 0,
"depends_on": null,
"on_depends_fail": "block",
"context_input": null,
"result": null,
"result_status": null,
"result_summary": null,
"retries": 0,
"maxRetries": 3,
"subagent_session": null,
"added_at": "2026-03-04T16:51:00Z",
"started_at": null,
"completed_at": null
}
```
---
## Task Statuses
| Status | Description |
|--------|-------------|
| `pending` | Ready to be dispatched (no dependencies or resolved) |
| `waiting` | Has dependency, waiting for it to complete |
| `running` | Currently executing via subagent |
| `done` | Completed successfully |
| `failed` | Failed after max retries |
| `blocked` | Dependency failed, waiting for user action |
| `skipped` | Skipped by user or due to dependency failure |
---
## Two Operating Modes
| Mode | Trigger | Purpose |
|------|---------|---------|
| *...
capt-marbles
Task Router
capncoconut
Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay, check marketplace stats, or manage agent credentials. Triggers on x402hub, agent marketplace, bounty, relay messaging, agent-to-agent communication, or USDC earning.
capevace
Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.
captchasco
OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.
carol-gutianle
name: modelready description: Start using a local or Hugging Face model instantly, directly from chat. metadata: {"openclaw":{"requires":{"bins": "bash", "curl" }, "env": "URL" }}
canbirlik
Controls Wiz smart bulbs (turn on/off, RGB colors, disco mode) via local WiFi.