360 Secure SkillHub
360 安全技能中心

GoalGetter

GoalGetter 通过纯 markdown 文件管理任务与目标:新增、完成、列出任务,创建目标并以日期日志累计连续打卡天数,完成任务可归档到 done/ 目录。数据默认存放于用户主目录下的 openclaw 目录,无需外部依赖、API 密钥或云服务。

steffano198
steffano198
热度 89.83
最近更新 2026-05-17 12:13:36
分类:效率依赖:读写文件 / 代码执行应用场景:任务管理 / 笔记整理

安装技能

复制下面的话术发给你的 Agent,它会通过 secure-skills 检索并安装该技能。

执行命令安装此 skill: npx secure-skills-cli add goalgetter
Metadata
name
goalgetter
description
Tasks and goals management via simple markdown files. Create, track, and complete tasks and goals with streak tracking. Stores data in ~/.openclaw/goalgetter/. Triggers: 'add task', 'new goal', 'task done', 'show tasks', 'goal streak', 'complete task'.
author
DevSef
version
1.0.0
tags
["tasks","goals","productivity","habits","streaks","markdown"]

GoalGetter - Tasks & Goals in Markdown

Simple task and goal tracking using plain markdown files. No external dependencies.

Data Location

Default: ~/.openclaw/goalgetter/

Files:

  • tasks.md - Todo list
  • goals.md - Goal tracking with streaks
  • done/ - Archive of completed items

Commands

Tasks

Add task:

echo "- [ ] $TEXT" >> ~/.openclaw/goalgetter/tasks.md

Complete task:

# Read tasks.md, find task, move to done/TIMESTAMP.md, mark complete

List tasks:

cat ~/.openclaw/goalgetter/tasks.md

Goals

Add goal:

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

Mark goal done:

# Read goals.md, increment streak, add date to log

Show streaks:

# Read goals.md and display each goal with current streak

File Formats

tasks.md

# Tasks

- [ ] Buy groceries
- [x] Call dentist
- [ ] Finish SAAS research

goals.md

# Goals

## Meditation
- streak: 5
- created: 2026-01-15
- log:
  - 2026-01-15
  - 2026-01-16
  - 2026-01-17
  - 2026-01-18
  - 2026-01-19

## Exercise
- streak: 2
- created: 2026-02-01
- log:
  - 2026-02-15
  - 2026-02-16

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