Plan Manager
Unified plan management system for coordinating OpenClaw Agent execution plans and Human task plans.
Overview
This skill provides a dual-track planning system:
| Track | Purpose | Location |
|---|
| Agent Plans | Track OpenClaw Agent's execution workflows, tool sequences, and task progress | INLINECODE0 |
| Human Plans |
Track human tasks, todos, and project milestones |
plans/human/ |
Directory Structure
CODEBLOCK0
When to Use Which Track
Use Agent Track When:
- - The OpenClaw Agent needs to execute multi-step tasks
- Tool sequences and execution workflows need documentation
- Tracking token usage and execution progress
- Breaking down complex user requests into actionable steps
Use Human Track When:
- - The human user has personal tasks or todos
- Project milestones and deadlines need tracking
- Long-term goals and plans need organization
- Human decision points or approvals are required
Coordination Patterns
Pattern 1: Agent Assists Human Plan
Human creates a plan → Agent creates corresponding execution plan → Agent executes → Both update status
Example:
CODEBLOCK1
Pattern 2: Agent Autonomous Execution
User requests complex task → Agent creates execution plan → Agent executes independently
Example:
CODEBLOCK2
Pattern 3: Human Oversight
Agent creates plan → Requests human approval → Human approves/modifies → Agent executes
Example:
CODEBLOCK3
Quick Start
For Agent Tasks:
- 1. Create INLINECODE2
- Add execution items to the status table
- Create
plans/agent/detailed/XX-{plan-name}.md for complex tasks - Update INLINECODE4
- Mark steps complete as execution progresses
For Human Tasks:
- 1. Create INLINECODE5
- Add task items to the status table
- Create
plans/human/detailed/XX-{plan-name}.md for complex tasks - Update INLINECODE7
- Update statuses weekly or as tasks complete
Templates
Templates are organized by track:
CODEBLOCK4
Status Values
| Status | Meaning |
|---|
| INLINECODE8 | Plan created, not yet started |
| INLINECODE9 |
Actively being worked on |
|
Blocked | Waiting on dependency or approval |
|
Done | Completed successfully |
|
Cancelled | No longer needed |
Tips
- - Prefix plan IDs: Use
A-1, A-2 for agent plans and H-1, H-2 for human plans when cross-referencing - Link related plans: In the Notes column, reference related plans from the other track
- Archive completed plans: Move completed plans to the
archive/ folder monthly - Review weekly: Check both tracks weekly to ensure coordination
- Use consistent naming: kebab-case for all filenames (
01-auth-refactor.md)
Example: Coordinated Web Development Project
Human Track (plans/human/plans-overview.md):
CODEBLOCK5
Agent Track (plans/agent/plans-overview.md):
CODEBLOCK6
This structure ensures both human goals and agent execution are visible and coordinated.
计划管理器
用于协调 OpenClaw Agent 执行计划与人类任务计划的统一计划管理系统。
概述
本技能提供双轨计划系统:
| 轨道 | 用途 | 位置 |
|---|
| Agent 计划 | 跟踪 OpenClaw Agent 的执行工作流、工具序列和任务进度 | plans/agent/ |
| 人类计划 |
跟踪人类任务、待办事项和项目里程碑 | plans/human/ |
目录结构
text
plans/
├── README.md # 本文件 - 概览与协调指南
├── agent/
│ ├── plans-overview.md # Agent 的高层级执行看板
│ ├── detailed/
│ │ ├── index.md # 所有详细 Agent 计划的索引
│ │ └── XX-{计划名称}.md # 单个 Agent 执行计划
│ └── archive/ # 已完成的 Agent 计划
└── human/
├── plans-overview.md # 人类的高层级任务看板
├── detailed/
│ ├── index.md # 所有详细人类计划的索引
│ └── XX-{计划名称}.md # 单个人类任务计划
└── archive/ # 已完成的人类计划
何时使用哪个轨道
使用 Agent 轨道时:
- - OpenClaw Agent 需要执行多步骤任务
- 需要记录工具序列和执行工作流
- 跟踪 Token 使用情况和执行进度
- 将复杂的用户请求分解为可执行步骤
使用人类轨道时:
- - 人类用户有个人任务或待办事项
- 需要跟踪项目里程碑和截止日期
- 需要组织长期目标和计划
- 需要人类决策点或审批
协调模式
模式 1:Agent 协助人类计划
人类创建计划 → Agent 创建相应执行计划 → Agent 执行 → 双方更新状态
示例:
人类:计划一次日本旅行
↓
human/plans-overview.md:计划日本旅行(状态:进行中)
↓
agent/plans-overview.md:研究航班、酒店、行程(状态:进行中)
↓
[Agent 执行研究任务]
↓
两个轨道均更新为已完成
模式 2:Agent 自主执行
用户请求复杂任务 → Agent 创建执行计划 → Agent 独立执行
示例:
用户:重构认证模块
↓
agent/plans-overview.md:认证模块重构(状态:进行中)
↓
[Agent 按照详细计划执行重构]
↓
Agent 将状态更新为已完成
模式 3:人类监督
Agent 创建计划 → 请求人类审批 → 人类批准/修改 → Agent 执行
示例:
用户:设计一个新功能
↓
agent/plans-overview.md:设计新功能(状态:待审批)
↓
[Agent 向人类展示计划]
↓
human/plans-overview.md:审核并批准功能设计(状态:进行中)
↓
[人类审核、批准]
↓
Agent 继续执行
快速开始
对于 Agent 任务:
- 1. 创建 plans/agent/plans-overview.md
- 将执行项添加到状态表中
- 为复杂任务创建 plans/agent/detailed/XX-{计划名称}.md
- 更新 plans/agent/detailed/index.md
- 随着执行进度标记步骤为已完成
对于人类任务:
- 1. 创建 plans/human/plans-overview.md
- 将任务项添加到状态表中
- 为复杂任务创建 plans/human/detailed/XX-{计划名称}.md
- 更新 plans/human/detailed/index.md
- 每周或任务完成时更新状态
模板
模板按轨道组织:
text
templates/
├── agent/ # Agent 计划模板
│ ├── plans-overview.md
│ ├── detailed-plan.md
│ └── index.md
└── human/ # 人类计划模板
├── plans-overview.md
├── detailed-plan.md
└── index.md
状态值
正在积极处理中 |
| 受阻 | 等待依赖项或审批 |
| 已完成 | 成功完成 |
| 已取消 | 不再需要 |
提示
- - 计划 ID 前缀:交叉引用时,使用 A-1、A-2 表示 Agent 计划,使用 H-1、H-2 表示人类计划
- 关联相关计划:在备注列中,引用来自另一个轨道的相关计划
- 归档已完成计划:每月将已完成的计划移至 archive/ 文件夹
- 每周审查:每周检查两个轨道以确保协调
- 使用一致的命名:所有文件名使用短横线命名法(01-auth-refactor.md)
示例:协调的 Web 开发项目
人类轨道(plans/human/plans-overview.md):
markdown
| H-1 |||| 发布新网站 |||| 进行中 |||| 高 |||| 2025 年第二季度 |||| 6 月 30 日 |||| A-1, A-2 |
Agent 轨道(plans/agent/plans-overview.md):
markdown
| A-1 |||| 设计数据库架构 |||| 已完成 |||| 高 |||| 第 1 周 |||| - |||| 为 H-1 |
| A-2 |||| 实现 API 端点 |||| 进行中 |||| 高 |||| 第 2-3 周 |||| - |||| 为 H-1 |
这种结构确保人类目标和 Agent 执行都可见且协调一致。