⚠️ 入行提示:本文档为官方英文原版文献,社区中文精翻版本正在筹备中。
习惯追踪与问责教练
痛点
功能介绍
-
AI 原生双语结构每日签到:通过 Telegram 或短信在你选择的时间进行(例如,早上 7 点用于晨间例行,晚上 9 点用于每日复盘)
-
AI 原生双语结构追踪你自定义的习惯——运动、阅读、冥想、喝水、写代码,任何对你重要的事情都可以
-
AI 原生双语结构连胜追踪——了解你每个习惯的当前连胜天数,并在消息中自然地提及
-
AI 原生双语结构自适应提醒——根据你的表现调整语气(坚持时给予鼓励,漏掉时温柔地坚持提醒)
-
AI 原生双语结构每周报告——总结你的一周,包括完成率、最长连胜以及规律(例如,"你常常在周三跳过锻炼")
所需技能
- Telegram 或短信集成(短信可使用 Twilio,或使用 Telegram Bot API)
- 定时任务 / cron,用于定时签到
- 文件系统或数据库访问权限,用于存储习惯数据
- 可选:Google Sheets 集成,用于可视化习惯看板
如何设置
- 定义你的习惯和签到时间表:
我希望你成为我的问责教练。帮我追踪以下每日习惯:
1. 晨间锻炼(早上 7:30 签到)
2. 阅读 30 分钟(晚上 8:00 签到)
3. 中午前不刷社交媒体(中午 12:30 签到)
4. 喝 8 杯水(晚上 6:00 签到)
在每个签到时间,请通过 Telegram 给我发消息,询问我是否完成了该习惯。
请将我的连胜记录保存在本地文件中。
- 设置追踪方式与语气:
当我确认完成某项习惯时,请回复一条简短的鼓励信息,并提到我当前的连胜天数。
示例:"晨间锻炼第 12 天。干得不错。"
当我漏掉某项习惯时,不要让我产生负罪感。只需承认这件事,并提醒我最初是为什么而开始的。
如果我连续漏掉 3 天,请发送一段更长的激励信息,并询问我是否想调整目标。
如果我在 2 小时内没有回复签到,请发送一次跟进消息。
之后不要再频繁打扰我。
- 添加每周报告:
本页中文翻译尚未完成。以下保留同步时的完整英文原文,供核对全部步骤与限制。
完整英文原文
⚠️ 入行提示:本文档为官方英文原版文献,社区中文精翻版本正在筹备中。
Habit Tracker & Accountability Coach
You've tried every habit tracker app out there. They all work for a week, then you stop opening them. The problem isn't the app — it's that tracking habits is passive. What if your agent actively reached out to you, asked how your day went, and adapted its approach based on whether you're on a streak or falling off?
This use case turns OpenClaw into a proactive accountability partner that checks in with you daily via Telegram or SMS.
Pain Point
Habit apps rely on you remembering to open them. Push notifications are easy to ignore. What actually works for behavior change is active accountability — someone (or something) that asks you directly, celebrates your wins, and nudges you when you slip. This agent does exactly that, without the awkwardness of bugging a friend.
What It Does
- Daily check-ins via Telegram or SMS at times you choose (e.g., 7 AM for morning routine, 9 PM for end-of-day review)
- Tracks habits you define — exercise, reading, meditation, water intake, coding, whatever matters to you
- Streak tracking — knows your current streak for each habit and references it in messages
- Adaptive nudges — adjusts tone based on your performance (encouraging when you're consistent, gently persistent when you miss days)
- Weekly reports — summarizes your week with completion rates, longest streaks, and patterns (e.g., "You tend to skip workouts on Wednesdays")
Skills You Need
- Telegram or SMS integration (Twilio for SMS, or Telegram Bot API)
- Scheduling / cron for timed check-ins
- File system or database access for storing habit data
- Optional: Google Sheets integration for a visual habit dashboard
How to Set It Up
- Define your habits and check-in schedule:
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.
- Set up the tracking and tone:
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.
- Add weekly reports:
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.
- Optional — visual dashboard via 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 ✗.
Key Insights
- The adaptive tone is what makes this different from a cron job. A static reminder gets ignored. A message that says "Day 15, don't break it now" actually motivates.
- Keep the number of tracked habits small (3-5). Tracking too many leads to check-in fatigue and you'll start ignoring the messages.
- The weekly pattern analysis is surprisingly useful — you'll discover things like "I never exercise on days I have early meetings" and can plan around it.
- Pairs well with the Health & Symptom Tracker if you want to correlate habits with how you feel.