long-running-agent-harness
/install long-running-agent-harness
Agent Harness Skill
Automates the long-running agent workflow from Anthropic's engineering blog. Manages feature lists, progress tracking, and session orchestration across multiple Claude Code sessions.
Commands
/harness-init \x3Cproject-description>
Initialize a new project with:
feature_list.json— comprehensive feature trackingclaude-progress.txt— cross-session progress loginit.sh— development server startup script.harness.json— harness configuration
/harness-run
Start a coding session. Reads progress, picks the next feature, and follows the incremental development workflow.
/harness-status
Show current project progress: features completed, next features to implement, recent session history.
/harness-feature \x3Cdescription>
Add a new feature to the feature list.
/harness-commit
Commit current work with structured message and update progress file.
Architecture
┌─────────────┐ ┌──────────────┐ ┌──────────────┐
│ Initializer │────▶│ Coding Agent│────▶│ Next Coding│
│ Agent │ │ Session #1 │ │ Agent #2 │
└─────────────┘ └──────────────┘ └──────────────┘
│ │ │
▼ ▼ ▼
┌─────────────────────────────────────────────────────────┐
│ Shared State │
│ ┌───────────────┐ ┌──────────────┐ ┌────────────────┐ │
│ │feature_list │ │claude-progress│ │ Git History │ │
│ │ .json │ │ .txt │ │ (commits) │ │
│ └───────────────┘ └──────────────┘ └────────────────┘ │
└─────────────────────────────────────────────────────────┘
Workflow
- Init:
harness init "Build a chat app"— sets up project skeleton - Code:
harness run— each session picks ONE feature - Track: Features marked passing only after end-to-end testing
- Commit: Progress documented in git + progress file
- Repeat: Continue until all features pass
Key Principles
- Incremental: One feature per session
- Tested: End-to-end testing before marking complete
- Clean state: Always leave codebase merge-ready
- Persistent state: Git + progress file bridge context windows
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install long-running-agent-harness - After installation, invoke the skill by name or use
/long-running-agent-harness - Provide required inputs per the skill's parameter spec and get structured output
What is long-running-agent-harness?
Long-running agent workflow automation. Initialize project scaffolding, manage feature lists, track progress across sessions, and orchestrate coding agents. It is an AI Agent Skill for Claude Code / OpenClaw, with 121 downloads so far.
How do I install long-running-agent-harness?
Run "/install long-running-agent-harness" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is long-running-agent-harness free?
Yes, long-running-agent-harness is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does long-running-agent-harness support?
long-running-agent-harness is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created long-running-agent-harness?
It is built and maintained by wenkangwei (@wenkangwei); the current version is v1.0.0.