OpenClaw 小龙虾真实案例
习惯追踪与自律教练:让 AI 每天盯着你打卡
用 OpenClaw 打造一个主动找你签到的习惯追踪教练,支持连续打卡记录、智能提醒和每周复盘报告。
awesome-openclaw-usecases2026-03-095 min read
习惯自动化生活AI Agent
你试过市面上所有的习惯追踪 App,它们全都只管用一周,然后你就再也不打开了。问题不在 App——而在于追踪习惯这件事太被动了。如果你的 Agent 主动来找你,问你今天过得怎么样,还能根据你是在坚持连胜还是快要掉链子来调整策略呢?
这个用例将 OpenClaw 变成一个主动出击的自律搭档,每天通过 Telegram 或短信跟你签到。
痛点
习惯 App 依赖你主动去打开它们。推送通知太容易被忽略。真正对行为改变有效的是主动问责——有人(或某个东西)直接来问你,为你的坚持喝彩,在你偷懒时轻推你一把。这个 Agent 做的就是这件事,而且不用麻烦你的朋友。
它能做什么
- 每日签到:通过 Telegram 或短信,在你设定的时间发送签到提醒(比如早上 7 点查晨练,晚上 9 点做一天回顾)
- 追踪你定义的习惯:锻炼、阅读、冥想、喝水、写代码,什么都行
- 连胜记录:知道你每个习惯的当前连续天数,并在消息中提及
- 智能调整提醒语气:根据你的表现调整风格(坚持得好时鼓励你,断了几天时温和地"缠"你)
- 每周报告:总结一周的完成率、最长连胜、行为模式(比如"你一般周三跳过锻炼")
需要的技能
- Telegram 或短信集成(Twilio 发短信,或 Telegram Bot API)
- 定时任务 / cron 用于定时签到
- 文件系统或数据库访问,用于存储习惯数据
- 可选:Google Sheets 集成,做一个可视化的习惯面板
如何配置
- 定义你的习惯和签到时间:
I want you to be my accountability coach. Track these daily habits for me:
1. Morning workout (check in at 7:30 AM)
2. Read for 30 minutes (check in at 8:00 PM)
3. No social media before noon (check in at 12:30 PM)
4. Drink 8 glasses of water (check in at 6:00 PM)
Send me a Telegram message at each check-in time asking if I completed
the habit. Keep track of my streaks in a local file.
- 设置追踪规则和语气风格:
When I confirm a habit, respond with a short encouraging message and
mention my current streak. Example: "Day 12 of morning workouts. Solid."
When I miss a habit, don't guilt-trip me. Just acknowledge it and remind
me why I started. If I miss 3 days in a row, send a longer motivational
message and ask if I want to adjust the goal.
If I don't respond to a check-in within 2 hours, send one follow-up.
Don't spam me after that.
- 添加每周报告:
Every Sunday at 10 AM, send me a weekly summary:
- Completion rate for each habit
- Current streaks
- Best day and worst day
- One pattern you noticed (e.g., "You always skip reading on Fridays")
- One suggestion for next week
Store all data in ~/habits/log.json so I can review history anytime.
- 可选——通过 Google Sheets 做可视化面板:
At the end of each day, update a Google Sheet with today's habit data.
Columns: Date, Workout, Reading, No Social Media, Water, Notes.
Mark completed habits with ✓ and missed with ✗.
使用要点
- 智能语气才是它区别于普通定时任务的关键。一条固定的提醒很容易被忽略,但"第 15 天了,别现在断"这样的消息确实能激励人。
- 追踪的习惯数量控制在 3-5 个。太多了会产生签到疲劳,最后你就开始无视这些消息了。
- 每周模式分析意外地有用——你会发现类似"每次一早有会我就不锻炼"这样的规律,然后可以提前做好安排。
- 搭配 健康与症状追踪器 使用效果更佳——把习惯数据和身体状态关联起来。
相关链接
本文翻译自 awesome-openclaw-usecases 开源项目。英文能力过得去的朋友欢迎阅读原版,体验原汁原味的表达。