← Back to Skills Marketplace
习惯追踪器
by
freedompixels
· GitHub ↗
· v1.1.0
· MIT-0
115
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install cn-habits-tracker
Description
中文习惯打卡追踪器。每日打卡、连续天数、习惯统计。 本地存储,无账户,隐私安全。 当用户说"打卡"、"习惯"、"连续多少天"、"今天完成了吗"时触发。 Keywords: 打卡, 习惯, 追踪, streak, habit, 日签, 坚持.
README (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
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install cn-habits-tracker - After installation, invoke the skill by name or use
/cn-habits-tracker - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.1.0
v1.1.0: 修复SKILL.md格式,修复缺失脚本
v1.0.0
v1.0.0: 打卡追踪+连续天数+周报月报+本地存储
Metadata
Frequently Asked Questions
What is 习惯追踪器?
中文习惯打卡追踪器。每日打卡、连续天数、习惯统计。 本地存储,无账户,隐私安全。 当用户说"打卡"、"习惯"、"连续多少天"、"今天完成了吗"时触发。 Keywords: 打卡, 习惯, 追踪, streak, habit, 日签, 坚持. It is an AI Agent Skill for Claude Code / OpenClaw, with 115 downloads so far.
How do I install 习惯追踪器?
Run "/install cn-habits-tracker" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 习惯追踪器 free?
Yes, 习惯追踪器 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 习惯追踪器 support?
习惯追踪器 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 习惯追踪器?
It is built and maintained by freedompixels (@freedompixels); the current version is v1.1.0.
More Skills