搜索

PythonReactSEOPDF
OpenClaw

task-runner

Persistent task queue system. Users add tasks at any time via natural language; tasks are stored in a single persistent queue file and executed asynchronously via subagents. A heartbeat/cron dispatcher wakes periodically to check pending tasks, spawn workers, and report completions. The system never "finishes" — it always remains ready for the next task.

chunhualiao0 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install chunhualiao/autonomous-task-runner

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

Task Runner Skill

A persistent, daemon-style task queue. Users add tasks at any time. A dispatcher runs on every heartbeat to check the queue and execute pending work via subagents. Tasks accumulate, complete, and are archived — the queue itself never closes.


Two Operating Modes

This skill has two distinct modes with different triggers and behaviors:

Mode Trigger Purpose
INTAKE User message containing task intent Parse message → add tasks to queue → confirm → immediately run DISPATCHER
DISPATCHER After INTAKE (primary) · Heartbeat/cron (backup) Read queue → dispatch pending tasks → report completions

Both modes read and write the same persistent queue file.


A1 — Triggers

Mode 1: INTAKE (user message)

Activate INTAKE mode when the user's message matches any of the following patterns:

Pattern Examples
Explicit task add "add task", "add these tasks", "task:", "new task"
Delegation "do this for me", "do these for me", "handle these", "can you do X"
Framing "I need you to", "help me with", "I need", "I want you to"
List framing "task list", "my tasks", "queue these", "work on these"
Control commands "skip T-03", "retry T-02", "mark T-01 done", "cancel T-04"
Status check "show tasks", "task status", "what's in the queue", "what are my pending tasks"
Compound ask Any message with 2+ distinct action items (bullets, numbers, "and also", "then")

Do NOT activate INTAKE for:

  • Pure single-question lookups answered in one sentence ("what time is it?")
  • Scheduling-only requests with no actual task ("remind me in 20 min")
  • Single web search requests ("google X")
  • The heartbeat systemEvent (that's DISPATCHER mode)
Mode 2: DISPATCHER (inline after INTAKE, heartbeat, or cron)

Activate DISPATCHER mode when triggered by:

  • Immediately after INTAKE — runs in the same turn, right after tasks are que...

来源信息

Source
github
Repository
openclaw/skills
Path
skills/chunhualiao/autonomous-task-runner
Version
—
Commit
68f9500c07f1c9838c824684875b25f6d973a124
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

README

task-runner

Version: 2.0.0 | Tier: general | Owner: main agent

A persistent, daemon-style task queue for OpenClaw agents. Tell the agent what you need done — once, or across multiple days — and it will queue your tasks, execute them in the background via subagents, and notify you as each one completes. The queue never closes. You can keep adding tasks forever.


The Core Idea

Old design: User sends tasks → agent runs them → done. ❌

New design: User sends tasks → tasks go into a queue → dispatcher wakes up periodically → tasks execute in background → user gets notified. ✅

The agent is always ready for your next task, even if the last one hasn't finished yet.


Two Operating Modes

Mode 1: INTAKE

Triggered when you send a message with tasks. The agent:

  1. Parses your message into structured task objects
  2. Assigns IDs (T-01, T-02, ...)
  3. Appends them to the persistent queue file
  4. Confirms: "Added T-07: [description]. Queue now has 3 pending tasks."
  5. Done. The dispatcher will execute them.
Mode 2: DISPATCHER

Triggered every heartbeat (~every 15–20 min) and by a cron job (every 15 min). The agent:

  1. Reads the queue
  2. If nothing pending/running → silent (HEARTBEAT_OK)
  3. If pending tasks → spawns subagents to execute them (up to 2 at a time)
  4. Checks running tasks for completion → notifies you when done or blocked

Example: Tasks Added Over Multiple Days

Monday morning

You send:

I need you to:
1. Research the top 5 open-source LLM frameworks and summarize pros/cons
2. Create a markdown comparison table at ~/reports/llm-frameworks.md

Agent responds:

📋 Added 2 tasks to queue:
• T-01: Research top 5 open-source LLM frameworks
• T-02: Create LLM framework comparison table at ~/reports/llm-frameworks.md

Queue now has 2 pending tasks. Dispatcher will pick these up shortly.

Later that day (after dispatcher runs):

✅ T-01 done — Researched 5 LLM frameworks: Ollama, LM Studio, llama.c...

来源内容

SKILL.md
# Task Runner Skill

A persistent, daemon-style task queue. Users add tasks at any time. A dispatcher runs on every
heartbeat to check the queue and execute pending work via subagents. Tasks accumulate, complete,
and are archived — the queue itself never closes.

---

## Two Operating Modes

This skill has **two distinct modes** with different triggers and behaviors:

| Mode | Trigger | Purpose |
|------|---------|---------|
| **INTAKE** | User message containing task intent | Parse message → add tasks to queue → confirm → **immediately run DISPATCHER** |
| **DISPATCHER** | After INTAKE (primary) · Heartbeat/cron (backup) | Read queue → dispatch pending tasks → report completions |

Both modes read and write the **same persistent queue file**.

---

## A1 — Triggers

### Mode 1: INTAKE (user message)

Activate INTAKE mode when the user's message matches any of the following patterns:

| Pattern | Examples |
|---------|---------|
| Explicit task add | "add task", "add these tasks", "task:", "new task" |
| Delegation | "do this for me", "do these for me", "handle these", "can you do X" |
| Framing | "I need you to", "help me with", "I need", "I want you to" |
| List framing | "task list", "my tasks", "queue these", "work on these" |
| Control commands | "skip T-03", "retry T-02", "mark T-01 done", "cancel T-04" |
| Status check | "show tasks", "task status", "what's in the queue", "what are my pending tasks" |
| Compound ask | Any message with 2+ distinct action items (bullets, numbers, "and also", "then") |

**Do NOT activate INTAKE for:**
- Pure single-question lookups answered in one sentence ("what time is it?")
- Scheduling-only requests with no actual task ("remind me in 20 min")
- Single web search requests ("google X")
- The heartbeat systemEvent (that's DISPATCHER mode)

### Mode 2: DISPATCHER (inline after INTAKE, heartbeat, or cron)

Activate DISPATCHER mode when triggered by:
- **Immediately after INTAKE** — runs in the same turn, right after tasks are que...
README
# task-runner

**Version:** 2.0.0 | **Tier:** general | **Owner:** main agent

A persistent, daemon-style task queue for OpenClaw agents. Tell the agent what you need done — once, or across multiple days — and it will queue your tasks, execute them in the background via subagents, and notify you as each one completes. The queue never closes. You can keep adding tasks forever.

---

## The Core Idea

**Old design:** User sends tasks → agent runs them → done. ❌

**New design:** User sends tasks → tasks go into a queue → dispatcher wakes up periodically → tasks execute in background → user gets notified. ✅

The agent is always ready for your next task, even if the last one hasn't finished yet.

---

## Two Operating Modes

### Mode 1: INTAKE
Triggered when you send a message with tasks. The agent:
1. Parses your message into structured task objects
2. Assigns IDs (T-01, T-02, ...)
3. Appends them to the persistent queue file
4. Confirms: "Added T-07: [description]. Queue now has 3 pending tasks."
5. Done. The dispatcher will execute them.

### Mode 2: DISPATCHER
Triggered every heartbeat (~every 15–20 min) and by a cron job (every 15 min). The agent:
1. Reads the queue
2. If nothing pending/running → silent (HEARTBEAT_OK)
3. If pending tasks → spawns subagents to execute them (up to 2 at a time)
4. Checks running tasks for completion → notifies you when done or blocked

---

## Example: Tasks Added Over Multiple Days

### Monday morning
You send:
```
I need you to:
1. Research the top 5 open-source LLM frameworks and summarize pros/cons
2. Create a markdown comparison table at ~/reports/llm-frameworks.md
```

Agent responds:
```
📋 Added 2 tasks to queue:
• T-01: Research top 5 open-source LLM frameworks
• T-02: Create LLM framework comparison table at ~/reports/llm-frameworks.md

Queue now has 2 pending tasks. Dispatcher will pick these up shortly.
```

Later that day (after dispatcher runs):
```
✅ T-01 done — Researched 5 LLM frameworks: Ollama, LM Studio, llama.c...

相关技能

OpenClaw

ai-maestro

23blocks-os

AI Agent Orchestrator with Skills System - Give AI Agents superpowers: memory search, code graph queries, agent-to-agent messaging. Manage Claude, Codex or any AI Agent from one dashboard. Move Agents between c...

OpenClaw

registry-broker-skills

hashgraph-online

AI agent skills for the Universal Registry - search, chat, and register 72,000+ agents across 14+ protocols. Works with Claude, Codex, Cursor, OpenClaw, and any AI assistant.

OpenClaw

skills-manager

rito-w

A cross-platform skills manager for AI IDEs. Search marketplace, download locally, and install to Claude, Cursor, Windsurf, and more with one click.