← 返回
AI智能 中文

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...
支持AI代理在多个会话中处理长期项目。适用于启动复杂项目、恢复现有项目及管理相关工作。
yonghaozhao722
AI智能 clawhub v1.1.1 1 版本 99929.3 Key: 无需
★ 0
Stars
📥 1,414
下载
💾 32
安装
1
版本
#latest

概述

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

  1. Copy this skill directory to your OpenClaw skills folder
  2. Ensure Claude Code CLI is installed and configured
  3. 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 guide
  • task.json - Task list with priorities and dependencies
  • progress.txt - Log of work completed
  • init.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

  1. Read Progress - Check progress.txt for recent work
  2. Select Task - Find next passes: false task with met dependencies
  3. Initialize - Run init.sh if needed
  4. Implement - Work on one task incrementally
  5. Test - Run lint, build, and tests
  6. Document - Update progress.txt
  7. Mark Complete - Set passes: true in task.json
  8. 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 template
  • task.json.tpl - Task list template

版本历史

共 1 个版本

  • v1.1.1 当前
    2026-03-29 04:28 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

security-compliance

Antfarm Workflows

yonghaozhao722
OpenClaw的多智能体工作流编排。当用户提及antfarm、要求执行多步骤工作流(功能开发、漏洞修复、安全审计)或……时使用。
★ 0 📥 1,523
ai-intelligence

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,353 📥 317,858
ai-intelligence

ontology

oswalpalash
类型化知识图谱,用于结构化智能体记忆与可组合技能。支持创建/查询实体(人员、项目、任务、事件、文档)及关联...
★ 710 📥 243,620