本地 Markdown 任务习惯追踪器
简介
基于本地 Markdown 的任务与习惯管理 CLI,数据完全离线存储,支持多代理共享任务列表。
原始描述
Tasks and habits that live in a plain markdown file on your machine. Free, private, and claw-native.
通过你的 Agent 添加
安装目录:clawkeeper/(目录名取自 SKILL.md 的 frontmatter name,不是 URL 里的 slug)。
点「快速安装」复制一段指令贴给你的 Agent:它会先下载到 /tmp、把文件清单和校验值给你看,你确认之后才解压安装。不会一步装完、也不改系统其它位置。
或者手动安装
包是「根级 SKILL.md + 作者附带的文件」,解压到上面的 <slug>/ 目录即可;
目录名不用换,也不要把包直接解压到 skills 根目录。
技能申请的权限由作者决定:装之前先看清单里有没有脚本、它会读写什么。
技能正文
name: clawkeeper description: Tasks and habits that live in a plain markdown file on your machine. Free, private, and claw-native. metadata: {"openclaw": {"requires": {"bins": ["clawkeeper"], "env": ["CLAWKEEPER_DIR"]}, "primaryEnv": "CLAWKEEPER_DIR", "install": [{"id": "npm", "kind": "node", "package": "clawkeeper", "bins": ["clawkeeper"], "label": "Install via npm"}]}}
ClawKeeper CLI
Manage the user's tasks and habits via the ClawKeeper CLI. All data is stored as markdown at the path set by CLAWKEEPER_DIR (defaults to ~/.clawkeeper/).
clawkeeper <entity> <command> [--flags]
If CLAWKEEPER_DIR is set in your environment, the CLI reads and writes data there. This allows multiple agents to share the same task list.
Tasks
clawkeeper task list
clawkeeper task add --text "Buy groceries"
clawkeeper task add --text "Buy groceries" --due-date 2026-03-15
clawkeeper task add-subtask --parent-text "Buy groceries" --text "Milk"
clawkeeper task complete --id <id>
clawkeeper task complete --text "Buy groceries"
clawkeeper task uncomplete --id <id>
clawkeeper task edit --text "Old name" --new-text "New name"
clawkeeper task edit --text "Old name" --due-date 2026-04-01
clawkeeper task set-due-date --text "Buy groceries" --due-date 2026-03-15
clawkeeper task set-due-date --text "Buy groceries" --due-date none
clawkeeper task delete --text "Buy groceries"
clawkeeper task add-note --text "Buy groceries" --note "Check prices first"
clawkeeper task edit-note --text "Buy groceries" --note "Check prices first" --new-note "Compare at two stores"
clawkeeper task delete-note --text "Buy groceries" --note "Check prices first"
Habits
clawkeeper habit list
clawkeeper habit add --text "Meditate" --interval 24
clawkeeper habit edit --text "Meditate" --new-text "Morning meditation" --interval 12
clawkeeper habit delete --text "Meditate"
clawkeeper habit complete --text "Meditate"
clawkeeper habit add-note --text "Meditate" --note "Felt calm today"
clawkeeper habit edit-note --text "Meditate" --note "Felt calm today" --new-note "Felt calm, 10 min session"
clawkeeper habit delete-note --text "Meditate" --note "Felt calm today"
State
clawkeeper state show
Proactive Checks (Heartbeat)
When running periodic checks, use clawkeeper state show to review the user's habits and tasks:
- Missed habits: If a habit hasn't been completed for more than 2x its interval, ask about it gently. People forget — a nudge helps more than a lecture.
- Building streaks: When a habit's completion count is climbing, acknowledge the momentum briefly.
- Recent notes: If the user added reflections or notes recently, reference them for continuity. It shows you're paying attention.
- Stale tasks: Tasks sitting open for a long time might need to be broken down, re-prioritized, or dropped.
Tone: supportive collaborator, not drill sergeant. If nothing needs attention, reply HEARTBEAT_OK.
Notes
- All commands return JSON:
{"ok": true, "data": ...}on success,{"ok": false, "error": "..."}on failure. - IDs are stable across invocations. Use
--idfor precise lookups or--textfor fuzzy substring matching. - When adding a task, the response includes the new task's
idfor subsequent operations.
正文来自原始发布页, 版权归作者所有,许可未标注。 权利人认为有不妥,可申请下架。