← Back to Skills Marketplace
141553

Long Term Plan

by 141553 · GitHub ↗ · v1.2.0 · MIT-0
cross-platform ✓ Security Clean
185
Downloads
0
Stars
0
Active Installs
3
Versions
Install in OpenClaw
/install long-term-plan
Description
长期计划推进技能。用于管理需要持续数天/数周的任务,采用滚动节点式规划(每3-5天为一个阶段,阶段结束时复盘并规划下一阶段)。支持自动日期计算、每日同步、复盘统计、多任务管理、极简指令。当用户说"开一个长期计划"、"今天计划任务"、"阶段复盘"、"滚动下一阶段"、"列出所有计划"时使用。
README (SKILL.md)

长期计划推进(Rolling Plan)

核心理念

不一次性规划整个长期任务(会膨胀、会过时、会忘记)。 而是:每 3-5 天为一个节点,阶段结束时复盘,再滚动规划下一阶段。

极简指令(用户口令)

指令 说明
开一个长期计划 创建新计划(引导式问答)
今天计划任务 显示当天所有计划的今日任务
我完成了xxx 自动勾选对应任务的 checkbox
阶段复盘 自动统计 + 生成复盘 + 归档
滚动下一阶段 生成新阶段模板(引导式问答)
列出所有计划 展示所有计划状态
结束这个计划 标记完成 + 归档 + 清理

文件结构

memory/tasks/
├── index.json          # 计划列表索引
└── {task-name}-plan.md # 具体计划文件

index.json 格式

{
  "plans": [
    {
      "name": "抓虾吧鲶鱼计划",
      "file": "zhuaxia-plan.md",
      "status": "active",
      "phase": 2,
      "phaseName": "技术深耕",
      "startDate": "2026-04-03",
      "endDate": "2026-04-07",
      "daysLeft": 2,
      "created": "2026-03-29"
    }
  ]
}

计划文件模板

# {任务名}

目标:{一句话}
策略:{3-5条原则}

---

## 当前阶段:{阶段名}({开始} - {结束})

阶段目标:{一句话}
进度:0% (0/X)

- [ ] 任务1 [高]
- [ ] 任务2 [中]
- [ ] 任务3 [低]

*今天是阶段第1天,剩余X天,复盘日:{结束日期}*

---

## 历史归档

| 阶段 | 日期 | 完成率 | 效果 | 关键结论 |
|------|------|--------|------|----------|
| 建立人设 | 3/29-4/2 | 80% | ⭐⭐⭐⭐ | 技术帖效果好3x |

---
*创建:YYYY-MM-DD*

工作流程

1. 创建长期计划

用户说"开一个长期计划",执行引导式问答:

问:计划名称?
答:抓虾吧鲶鱼计划

问:最终目标是什么?
答:两周内涨粉500

问:当前阶段要做什么?(3-5天)
答:建立技术人设

问:阶段天数?
答:3天 / 5天

问:具体任务(逗号分隔)?
答:发首帖, 热门回复引流, 工具帖

→ 自动生成计划文件
→ 自动更新 index.json
→ 自动计算日期和倒计时

自动日期计算规则

  • 开始日期 = 今天
  • 结束日期 = 今天 + (天数 - 1)
  • 复盘日 = 结束日期

查重机制:同名计划已存在 → 提示"已存在同名计划,是否继续?"

2. 每日任务同步

心跳时自动执行:

1. 读取 index.json
2. 遍历所有 status=active 的计划
3. 检查今天是否在阶段日期范围内
4. 如果是 → 提取今天的任务 → 追加到 CURRENT_STATE.md

CURRENT_STATE.md 格式

## 今日计划

### 抓虾吧鲶鱼计划(阶段2/3,剩余2天)
- [ ] 发工具帖
- [ ] 热门回复引流

3. 执行追踪

用户说"我完成了发帖":

1. 搜索所有 active 计划的 checkbox
2. 找到包含"发帖"的任务
3. 自动勾选 [x]
4. 自动更新进度百分比
5. 回复:"✅ 已完成:发帖(进度 50%)"

进度计算

进度 = 已完成任务数 / 总任务数 * 100%

4. 阶段复盘

用户说"阶段复盘"或到达复盘日:

1. 自动统计:
   - 总任务数:X
   - 已完成:Y
   - 完成率:Z%
   - 阶段用时:N天

2. 引导问答:
   问:什么最有效?(一句话)
   答:技术帖效果好

   问:下一阶段方向?
   答:加重技术内容

3. 自动归档:
   - 当前阶段移到「历史归档」表格
   - 只保留表格格式,删除详细任务

4. 一键滚动?(y/n)
   y → 生成新阶段模板
   n → 结束

复盘效果评分

完成率 >= 80% → ⭐⭐⭐⭐⭐
完成率 >= 60% → ⭐⭐⭐⭐
完成率 >= 40% → ⭐⭐⭐
完成率 \x3C 40%  → ⭐⭐

5. 滚动下一阶段

用户说"滚动下一阶段":

问:下一阶段名称?
答:技术深耕

问:阶段天数?
答:5天

问:具体任务?
答:工具帖2, 对比帖, 案例帖, 互动帖, 复盘

→ 自动生成新阶段
→ 自动归档旧阶段
→ 自动更新 index.json
→ 自动计算新日期

6. 多任务管理

用户说"列出所有计划":

📊 计划列表:

进行中:
  1. 抓虾吧鲶鱼计划
     阶段2/3 | 剩余2天 | 复盘日:4/7

待复盘:
  2. 技能发布路线图
     阶段3/5 | 已超期1天

已结束:
  3. 学习Python(完成率75%)

7. 计划终止

用户说"结束这个计划":

1. 确认:要结束 {计划名} 吗?(y/n)
2. y → 
   - 标记 status: ended
   - 归档所有阶段
   - 从 index.json 移除
   - 保留文件作为历史记录
3. n → 取消

容错与安全

机制 说明
查重创建 同名计划不重复建
自动备份 归档前备份 .bak 文件
路径统一 只写 memory/tasks/ 目录
不改 HEARTBEAT 只读取不修改
防膨胀 历史只留表格,删除详细任务

止损机制

连续 2 阶段满足以下任一,自动提示"是否终止计划?":

  • 完成率 \x3C 30%
  • 核心指标无增长
  • 用户主动暂停 > 7 天

版本:v1.1 创建:2026-03-29 更新:2026-04-25

Usage Guidance
This skill appears coherent and does what it says: it will create and modify files under memory/tasks/ (index.json, plan markdowns, CURRENT_STATE.md) and keep .bak backups. Before installing, confirm: (1) you are comfortable with an agent modifying those files; (2) the memory/tasks/ path is the intended storage location and has appropriate permissions; (3) you accept that the skill may run on heartbeat/daily sync and will autocheck tasks and archive phases. Note a minor metadata/version inconsistency between SKILL.md (v1.1) and registry (1.2.0) — this looks like a packaging/versioning mismatch, not a functional issue. If you need stricter control, restrict agent/autonomous invocation or review files created by the skill after first run.
Capability Analysis
Type: OpenClaw Skill Name: long-term-plan Version: 1.2.0 The 'long-term-plan' skill is a productivity tool designed for managing multi-day tasks through a rolling phase system. It operates by reading and writing task data to 'memory/tasks/index.json' and individual plan files, and updating 'CURRENT_STATE.md'. The logic is focused on date calculation, task tracking, and phase archiving without any evidence of malicious intent, data exfiltration, or unauthorized system access.
Capability Assessment
Purpose & Capability
Name/description match the runtime instructions: creating plans, daily sync, phase rollovers, archiving, and simple file-based state (index.json and per-plan markdown). No unrelated credentials, binaries, or external services are requested.
Instruction Scope
Instructions are narrowly scoped to reading/updating files under memory/tasks/, generating CURRENT_STATE.md, creating .bak backups, and running on 'heartbeat' for daily sync. This is coherent with the stated purpose, but the skill will modify files (auto-checking tasks, updating progress, archiving). Users should expect persistent changes to their memory/tasks/ directory.
Install Mechanism
No install spec and no code files — instruction-only. Nothing is downloaded or written to disk by an installer, so install risk is low.
Credentials
No environment variables, credentials, or external endpoints are requested. The declared file paths (memory/tasks/) are appropriate for a file-based plan manager.
Persistence & Privilege
always:false and no special privileges requested. The skill does perform autonomous periodic actions tied to a 'heartbeat' event (daily sync) — this is consistent with its purpose but means the agent will autonomously modify files under memory/tasks/ when invoked by the platform's heartbeat mechanism.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install long-term-plan
  3. After installation, invoke the skill by name or use /long-term-plan
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.2.0
v1.2: 自动日期计算(用户只说天数自动算开始/结束/复盘日)+ 每日任务自动同步到CURRENT_STATE + 复盘自动统计完成率与效果评分 + 多任务列表管理(index.json索引)+ 7条极简自然语言指令(开一个长期计划/今天计划任务/我完成了/阶段复盘/滚动下一阶段/列出所有计划/结束这个计划)+ 模板精简6行创建 + 容错机制(查重/备份/路径统一/不改HEARTBEAT)
v1.1.0
新增阶段目标前置、复盘检查清单、心态指南
v1.0.0
初始版本:滚动节点式长期任务管理,每3-5天为一个阶段,阶段结束复盘并滚动规划下一阶段
Metadata
Slug long-term-plan
Version 1.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 3
Frequently Asked Questions

What is Long Term Plan?

长期计划推进技能。用于管理需要持续数天/数周的任务,采用滚动节点式规划(每3-5天为一个阶段,阶段结束时复盘并规划下一阶段)。支持自动日期计算、每日同步、复盘统计、多任务管理、极简指令。当用户说"开一个长期计划"、"今天计划任务"、"阶段复盘"、"滚动下一阶段"、"列出所有计划"时使用。 It is an AI Agent Skill for Claude Code / OpenClaw, with 185 downloads so far.

How do I install Long Term Plan?

Run "/install long-term-plan" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Long Term Plan free?

Yes, Long Term Plan is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Long Term Plan support?

Long Term Plan is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Long Term Plan?

It is built and maintained by 141553 (@141553); the current version is v1.2.0.

💬 Comments