Longrunning Agent
/install longrunning-agent
OpenClaw Long-Running Agent Skill
This skill enables AI agents to work on long-running projects across multiple sessions.
Purpose
The longrunning-agent skill provides a structured workflow for:
- Tracking progress across sessions
- Managing task lists with priorities and dependencies
- Making incremental, atomic progress on complex projects
- Ensuring continuity when resuming work
Installation
- Copy this skill directory to your OpenClaw skills folder
- Ensure Claude Code CLI is installed and configured
- Create a project directory with the workflow files
Usage
Initialize a New Project
# Create project directory
mkdir my-project && cd my-project
# Initialize workflow files
claude -p "Initialize this project using the longrunning-agent workflow"
Workflow Files
The skill expects these files in the project directory:
CLAUDE.md- Project instructions and workflow guidetask.json- Task list with priorities and dependenciesprogress.txt- Log of work completedinit.sh- Environment setup script (optional)
Task Format
{
"tasks": [
{
"id": "task-1",
"description": "Set up project structure",
"priority": 1,
"dependencies": [],
"passes": false
},
{
"id": "task-2",
"description": "Implement core features",
"priority": 2,
"dependencies": ["task-1"],
"passes": false
}
]
}
Progress Format
[2024-01-15 10:30:00] Started session
[2024-01-15 10:35:00] Completed task: Set up project structure
[2024-01-15 10:40:00] Milestone: Core features implemented
Workflow Steps
- Read Progress - Check
progress.txtfor recent work - Select Task - Find next
passes: falsetask with met dependencies - Initialize - Run
init.shif needed - Implement - Work on one task incrementally
- Test - Run lint, build, and tests
- Document - Update
progress.txt - Mark Complete - Set
passes: trueintask.json - Commit - Make atomic git commit
Best Practices
- Work on ONE task per session
- Make commits after each task completion
- Keep progress.txt concise but informative
- Use dependencies to manage task order
- Test thoroughly before marking passes: true
Integration with Web UI
This skill integrates with the Agent Workflow Web App:
- Tasks sync with the web database
- Progress entries are captured
- Session output is logged
- Git commits are tracked
Templates
Templates for workflow files are in the templates/ directory:
CLAUDE.md.tpl- Project templatetask.json.tpl- Task list template
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install longrunning-agent - 安装完成后,直接呼叫该 Skill 的名称或使用
/longrunning-agent触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Longrunning Agent 是什么?
Enables AI agents to work on long-running projects across multiple sessions. Use when starting complex projects, resuming work on existing projects, managing... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 890 次。
如何安装 Longrunning Agent?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install longrunning-agent」即可一键安装,无需额外配置。
Longrunning Agent 是免费的吗?
是的,Longrunning Agent 完全免费(开源免费),可自由下载、安装和使用。
Longrunning Agent 支持哪些平台?
Longrunning Agent 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Longrunning Agent?
由 Yonghao Zhao(@yonghaozhao722)开发并维护,当前版本 v1.1.1。