GoalGetter - Tasks & Goals in Markdown
Simple task and goal tracking using plain markdown files. No external dependencies.
Data Location
Default: INLINECODE0
Files:
- -
tasks.md - Todo list - INLINECODE2 - Goal tracking with streaks
- INLINECODE3 - Archive of completed items
Commands
Tasks
Add task:
CODEBLOCK0
Complete task:
CODEBLOCK1
List tasks:
CODEBLOCK2
Goals
Add goal:
CODEBLOCK3
Mark goal done:
CODEBLOCK4
Show streaks:
CODEBLOCK5
File Formats
tasks.md
CODEBLOCK6
goals.md
CODEBLOCK7
Usage Examples
| User says | Action |
|---|
| "Add task: finish report" | Add to tasks.md |
| "Show my tasks" |
Cat tasks.md |
| "Complete task: finish report" | Mark complete, move to done/ |
| "New goal: meditation" | Add to goals.md |
| "Did meditation" | Increment streak, add date |
| "Show goal streaks" | Display all goals with streaks |
| "How's my meditation goal?" | Show streak for that goal |
Notes
- - Always create ~/.openclaw/goalgetter/ if it doesn't exist
- Use ISO dates (YYYY-MM-DD) for consistency
- Use read tool to view current state before modifying
- Use write tool to update files
GoalGetter - 使用Markdown管理任务与目标
通过纯文本markdown文件进行简单的任务与目标追踪。无需外部依赖。
数据存储位置
默认路径:~/.openclaw/goalgetter/
文件列表:
- - tasks.md - 待办事项列表
- goals.md - 包含连续记录的目标追踪
- done/ - 已完成项目的归档文件夹
命令
任务管理
添加任务:
bash
echo - [ ] $TEXT >> ~/.openclaw/goalgetter/tasks.md
完成任务:
bash
读取tasks.md,找到任务,移至done/TIMESTAMP.md,标记为已完成
列出任务:
bash
cat ~/.openclaw/goalgetter/tasks.md
目标管理
添加目标:
bash
echo ## $GOAL_NAME >> ~/.openclaw/goalgetter/goals.md
echo - streak: 0 >> ~/.openclaw/goalgetter/goals.md
echo - created: $DATE >> ~/.openclaw/goalgetter/goals.md
echo - log: >> ~/.openclaw/goalgetter/goals.md
标记目标完成:
bash
读取goals.md,增加连续记录,在日志中添加日期
显示连续记录:
bash
读取goals.md并显示每个目标及其当前连续记录
文件格式
tasks.md
markdown
任务
- - [ ] 购买日用品
- [x] 预约牙医
- [ ] 完成SAAS调研
goals.md
markdown
目标
冥想
- - streak: 5
- created: 2026-01-15
- log:
- 2026-01-15
- 2026-01-16
- 2026-01-17
- 2026-01-18
- 2026-01-19
运动
- - streak: 2
- created: 2026-02-01
- log:
- 2026-02-15
- 2026-02-16
使用示例
| 用户指令 | 执行操作 |
|---|
| 添加任务:完成报告 | 添加到tasks.md |
| 显示我的任务 |
显示tasks.md内容 |
| 完成任务:完成报告 | 标记完成,移至done/ |
| 新目标:冥想 | 添加到goals.md |
| 完成了冥想 | 增加连续记录,添加日期 |
| 显示目标连续记录 | 显示所有目标及其连续记录 |
| 我的冥想目标进展如何? | 显示该目标的连续记录 |
注意事项
- - 如果~/.openclaw/goalgetter/不存在,请先创建
- 使用ISO日期格式(YYYY-MM-DD)以保持一致性
- 修改前使用读取工具查看当前状态
- 使用写入工具更新文件