# Task Runner

> Executes pending autoRun tasks based on TaskList conditions Use when this capability is needed.

- Skill: `tomevault-io/task-runner` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add tomevault-io/task-runner`
- Raw SKILL.md: https://api.skillmd.com/api/skills/tomevault-io/task-runner/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Productivity
- Author: tomevault-io (https://skillmd.com/u/tomevault-io)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/tomevault-io/task-runner

---


# /task-runner

Automatic task execution controller.

## Progress Checklist

```
- [ ] Step 1: Get all tasks
- [ ] Step 2: Find executable tasks
- [ ] Step 3: Execute or exit
```

## Steps

1. Get all tasks:
   - Call TaskList tool

2. Find executable tasks:
   - From TaskList result, find tasks meeting ALL conditions:
     - status: pending
     - metadata.autoRun: true
     - blockedBy is empty OR all blockedBy tasks are completed

3. Execute or exit:
   - **If no executable tasks found:** END (no report needed)
   - **If executable tasks found:**
     - For each task:
       1. TaskUpdate: set status to "in_progress"
       2. TaskGet to read full task details including metadata
       3. If metadata.skill exists: Call Skill tool with skill=metadata.skill, args=metadata.args
       4. After skill completes: TaskUpdate: set status to "completed"
     - **Parallel execution:** If multiple tasks meet conditions, call multiple Skill tools in parallel

---
> Converted and distributed by [TomeVault](https://tomevault.io/claim/sato-dev1234) — claim your Tome and manage your conversions.
<!-- tomevault:4.0:skill_md:2026-04-13 -->

