Help us improve
Share bugs, ideas, or general feedback.
From task-harness
Starts a task harness session to execute sequential development tasks from a YAML file. Use when beginning a new multi-step development workflow or automated task sequence. Trigger with "start task harness", "run tasks from yaml", "execute task workflow", or "preview tasks".
npx claudepluginhub omara1-bakri-org/local-plugins --plugin task-harnessHow this skill is triggered — by the user, by Claude, or both
Slash command
/task-harness:startThis skill is limited to the following tools:
The summary Claude sees in its skill listing — used to decide when to auto-load this skill
Initializes and starts a task harness session to execute sequential development tasks with quality gates and validation.
Executes task DAGs via isolated subagents after /plan. Manages target dir, git init, state recovery, and task results in .tasker/.
Executes a plan task by task with atomic commits, checkpoint protocol, and persistent knowledge capture. Stops on blockers without guessing.
Executes long-running tasks autonomously across Claude Code sessions using headless bash loops or in-session hooks. Supports structured decomposition for projects and Ralph-style iteration for TDD, fixes, refactoring.
Share bugs, ideas, or general feedback.
Initializes and starts a task harness session to execute sequential development tasks with quality gates and validation.
The start skill launches a task harness session from a YAML configuration file. It:
--dry-run flag).claude/task-harness/sessions/If no YAML file is provided, an interactive wizard helps create one.
If $ARGUMENTS is empty, launch the /task-harness:create wizard to generate a YAML file interactively.
If a file path is provided, verify it exists:
[[ -f "$ARGUMENTS" ]] || echo "ERROR: YAML file not found"
Run the setup script to create session state:
bash ~/.claude/plugins/local-plugins/task-harness/scripts/setup-task-harness.sh "$YAML_FILE"
This validates dependencies, parses tasks, and creates the session JSON.
Load the generated state file from .claude/task-harness/sessions/{session-id}.json to get:
Based on the task's workflow field:
| Workflow Value | Routes To | Use Case |
|---|---|---|
feature-todo | /feature-todo:implement | New greenfield features |
plan-and-execute | /plan-and-execute | Improvements, refactoring |
ralph-loop (default) | /ralph-loop | Simple tasks, direct execution |
For default ralph-loop workflow:
/ralph-loop "<task-prompt>" --completion-promise "TASK_COMPLETE"
The stop hook automatically handles task transitions and quality gates.
Upon successful start:
Task Harness Started
====================
Session ID: 1234567890-12345
Harness: implement-auth-feature
Tasks: 5 total
Starting Task 1: Design Authentication System
Workflow: ralph-loop
Promise: DESIGN_COMPLETE
| Error | Cause | Resolution |
|---|---|---|
| YAML file not found | Invalid path | Check file path and try again |
| Circular dependency | Task A depends on B which depends on A | Review depends_on fields in YAML |
| Invalid task reference | depends_on references non-existent task | Ensure all referenced task IDs exist |
| yq not found | yq not installed | Install yq or use basic parsing mode |
If setup fails, check .claude/task-harness/logs/ for detailed error messages.
User: /task-harness:start tasks/auth-implementation.yaml
Skill: Parses YAML, validates dependencies, creates session, starts first task
Result:
Task Harness Started
====================
Session ID: 1736789012-54321
Harness: implement-auth-feature
Tasks: 5 total
Starting Task 1: Design Authentication System
User: /task-harness:start
Skill: No file provided, launches interactive wizard
Result: Wizard asks for plan source, generates YAML, then starts execution
# tasks/new-feature.yaml
harness:
tasks:
- id: "feat-001"
workflow: "feature-todo"
name: "Implement User Dashboard"
User: /task-harness:start tasks/new-feature.yaml
Skill: Detects feature-todo workflow, routes to /feature-todo:implement
Result: 12-stage feature implementation workflow begins
User: /task-harness:start tasks/auth-implementation.yaml --dry-run
Skill: Parses YAML, validates, displays preview without creating session
Result:
========================================
DRY RUN - Task Harness Preview
========================================
File: tasks/auth-implementation.yaml
Harness Name: implement-auth
Total Tasks: 3
Default Workflow: ralph-loop
Tasks to Execute:
----------------------------------------
1. [design-auth] Design Authentication System
Workflow: ralph-loop | Phase: planning
Depends on: none
2. [implement-auth] Implement Authentication
Workflow: ralph-loop | Phase: implementation
Depends on: design-auth
3. [test-auth] Write Auth Tests
Workflow: ralph-loop | Phase: testing
Depends on: implement-auth
Quality Gates Summary:
----------------------------------------
Tasks with tests: 1
Tasks with validation_command: 2
========================================
Validation: PASSED
Ready to execute: /task-harness:start tasks/auth-implementation.yaml
========================================