/install gh-taskqueue
TaskQueue
Priority task queue for agent workflows.
Start the server
uvicorn taskqueue.app:app --port 8014
Create a task
curl -s -X POST http://localhost:8014/v1/tasks \
-H "Content-Type: application/json" \
-d '{"title": "Scan skill", "payload": {"skill": "my-skill"}, "priority": 5, "tags": ["security"]}' | jq
Claim the next task (highest priority first)
curl -s -X POST http://localhost:8014/v1/claim | jq
Returns the task with status changed to running.
Complete or fail a task
curl -s -X POST http://localhost:8014/v1/tasks/TASK_ID/complete \
-H "Content-Type: application/json" \
-d '{"result": {"output": "all clear"}}' | jq
curl -s -X POST http://localhost:8014/v1/tasks/TASK_ID/fail \
-H "Content-Type: application/json" \
-d '{"error": "scan timed out"}' | jq
List and filter tasks
curl -s "http://localhost:8014/v1/tasks?status=pending" | jq
curl -s "http://localhost:8014/v1/tasks?tag=security" | jq
Queue stats
curl -s http://localhost:8014/v1/stats | jq
Returns total, pending, running, completed, failed.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /v1/tasks | Create a task |
| GET | /v1/tasks | List tasks (filter: ?status=, ?tag=) |
| GET | /v1/tasks/{id} | Get task by ID |
| POST | /v1/claim | Claim next pending task |
| POST | /v1/tasks/{id}/complete | Mark done with result |
| POST | /v1/tasks/{id}/fail | Mark failed with error |
| GET | /v1/stats | Queue statistics |
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install gh-taskqueue - After installation, invoke the skill by name or use
/gh-taskqueue - Provide required inputs per the skill's parameter spec and get structured output
What is Taskqueue?
In-memory priority task queue for AI agents. Create tasks with priorities and tags, claim the next highest-priority task, mark tasks complete or failed, filt... It is an AI Agent Skill for Claude Code / OpenClaw, with 90 downloads so far.
How do I install Taskqueue?
Run "/install gh-taskqueue" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Taskqueue free?
Yes, Taskqueue is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Taskqueue support?
Taskqueue is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Taskqueue?
It is built and maintained by mirni (@mirni); the current version is v1.0.0.