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
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install long-running-agent-harness - 安装完成后,直接呼叫该 Skill 的名称或使用
/long-running-agent-harness触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
long-running-agent-harness 是什么?
Long-running agent workflow automation. Initialize project scaffolding, manage feature lists, track progress across sessions, and orchestrate coding agents. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 121 次。
如何安装 long-running-agent-harness?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install long-running-agent-harness」即可一键安装,无需额外配置。
long-running-agent-harness 是免费的吗?
是的,long-running-agent-harness 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
long-running-agent-harness 支持哪些平台?
long-running-agent-harness 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 long-running-agent-harness?
由 wenkangwei(@wenkangwei)开发并维护,当前版本 v1.0.0。