What problem does it solve?
This Skill provides a robust framework for running long-running, autonomous agent tasks that require progress checkpointing, failure recovery, and task dependency management across multiple sessions.
Core Features & Use Cases
- Progress Persistence: Automatically saves and resumes agent work using
harness-progress.txt and harness-tasks.json.
- Failure Recovery: Implements rollback mechanisms (
git reset --hard) and retry strategies for tasks that fail.
- Task Dependency Management: Ensures tasks are executed in the correct order based on defined dependencies.
- Concurrency Control: Supports both exclusive and concurrent execution modes for distributed agent work.
- Use Case: Orchestrate a complex multi-day development process where an agent needs to implement a feature, run tests, refactor code, and generate documentation, ensuring that no work is lost if the agent session is interrupted.
Quick Start
Initialize a new harness project in the current directory by running the command /harness init.