Task Runner

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

tomevault-io 7d58404 2 files · 1.9 KB Updated

File contents

/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 — claim your Tome and manage your conversions.

tomevault-io/skills-registry/tree/main/sato-dev1234--claude-code-sample--task-runner commit 7d58404796

Frequently asked questions

npx skillmds@latest add tomevault-io/task-runner