← 返回 Skills 市场
习惯追踪器
作者
freedompixels
· GitHub ↗
· v1.1.0
· MIT-0
115
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install cn-habits-tracker
功能描述
中文习惯打卡追踪器。每日打卡、连续天数、习惯统计。 本地存储,无账户,隐私安全。 当用户说"打卡"、"习惯"、"连续多少天"、"今天完成了吗"时触发。 Keywords: 打卡, 习惯, 追踪, streak, habit, 日签, 坚持.
使用说明 (SKILL.md)
🎯 CN Habits Tracker — 中文习惯打卡
坚持记录,养成好习惯。
核心功能
| 功能 | 说明 |
|---|---|
| 打卡 | 每日完成习惯后打卡 |
| 连续天数 | 自动计算连续打卡记录 |
| 习惯管理 | 添加/删除/查看习惯列表 |
| 统计报告 | 周报/月报,完不成原因分析 |
| 提醒 | 每日定时提醒未打卡习惯 |
使用方式
# 打卡
python3 scripts/habits.py --checkin "早起"
python3 scripts/habits.py --checkin "喝水" --amount "8杯"
# 今日状态
python3 scripts/habits.py --today
# 添加习惯
python3 scripts/habits.py --add "早起" --goal "每天7点前起床" --unit "天"
python3 scripts/habits.py --add "喝水" --goal "每天喝8杯水" --unit "杯"
python3 scripts/habits.py --add "读书" --goal "每天读30分钟" --unit "分钟"
# 查看所有习惯
python3 scripts/habits.py --list
# 周报
python3 scripts/habits.py --report week
# 月报
python3 scripts/habits.py --report month
# 删除习惯
python3 scripts/habits.py --delete "早起"
# 未打卡提醒
python3 scripts/habits.py --remind
示例输出
🎯 今日打卡(4月13日)
━━━━━━━━━━━━━━━━━━━━━━
☑ 早起 已完成(连续7天)🔥
☑ 喝水 6/8杯(还差2杯)
☑ 读书 30分钟 ✅
☐ 运动 未打卡
📊 本周完成率:
早起 ▓▓▓▓▓▓▓░ 85.7%(6/7天)
喝水 ▓▓▓▓▓▓▓▓ 100%(7/7天)
读书 ▓▓▓▓▓▓░░ 71.4%(5/7天)
⚠️ 今天还需要:
• 喝水:再喝2杯
• 运动:跑步30分钟
数据存储
本地 JSON:~/.qclaw/workspace/habits.json
安全使用建议
This appears low-risk and does what it says: local habit tracking with no network or credential use. Before installing, consider: (1) the included Python script will run on your machine—review the code if you do not trust the unknown owner; (2) data is stored unencrypted at ~/.qclaw/workspace/habits.json and could be read by other local users or backups—avoid storing sensitive information in notes; (3) the script expects the ~/.qclaw/workspace directory to exist (it may fail to save if the directory is missing); and (4) if you want stronger privacy, move or encrypt the data file or adjust file permissions.
功能分析
Type: OpenClaw Skill
Name: cn-habits-tracker
Version: 1.1.0
The skill is a straightforward habit tracker that manages data locally in a JSON file (~/.qclaw/workspace/habits.json). The Python script (scripts/habits.py) uses only standard libraries and contains no network calls, data exfiltration, or suspicious execution logic, while the SKILL.md instructions are purely functional and lack any prompt-injection attempts.
能力评估
Purpose & Capability
Name/description (中文习惯打卡、本地存储) match the code. The script implements add/checkin/list/report/remind/delete and stores data in a local JSON file as advertised.
Instruction Scope
SKILL.md instructs running scripts/habits.py with CLI flags; the script only reads/writes the local data file and prints reports. There are no calls to the network, no access to unrelated system paths, and no environment variables accessed beyond standard runtime.
Install Mechanism
No install spec or external downloads. The skill is instruction-only plus an included Python script; nothing is fetched from remote hosts and no archives are extracted.
Credentials
The skill requires no environment variables or credentials. It only writes a single JSON file under the user's home (~/.qclaw/workspace/habits.json), which is consistent with its purpose.
Persistence & Privilege
always is false and the skill does not modify other skills or global agent settings. Its only persistent effect is the local JSON data file it manages.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cn-habits-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/cn-habits-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.1.0
v1.1.0: 修复SKILL.md格式,修复缺失脚本
v1.0.0
v1.0.0: 打卡追踪+连续天数+周报月报+本地存储
元数据
常见问题
习惯追踪器 是什么?
中文习惯打卡追踪器。每日打卡、连续天数、习惯统计。 本地存储,无账户,隐私安全。 当用户说"打卡"、"习惯"、"连续多少天"、"今天完成了吗"时触发。 Keywords: 打卡, 习惯, 追踪, streak, habit, 日签, 坚持. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。
如何安装 习惯追踪器?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cn-habits-tracker」即可一键安装,无需额外配置。
习惯追踪器 是免费的吗?
是的,习惯追踪器 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
习惯追踪器 支持哪些平台?
习惯追踪器 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 习惯追踪器?
由 freedompixels(@freedompixels)开发并维护,当前版本 v1.1.0。
推荐 Skills