habit-tracker

habit-tracker is a skill for Claude Code from Lord1Egypt/awesome-skill-forge. It costs 51 tokens per session (1,697 once invoked), scanned A, original, MIT.

A habit-coaching tool that helps people choose goals, break them into daily actions, record completion, and adjust plans over time.

In plain words
What is it for?
It is for creating and monitoring up to five habits, receiving reminders, reviewing progress, and making a plan easier or harder when needed.
Why use it?
It reduces the difficulty of staying consistent by turning broad goals into manageable tasks and tracking what actually happens.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: built for openclaw.

Good fit It is for creating and monitoring up to five habits, receiving reminders, reviewing progress, and making a plan easier or harder when needed.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add Lord1Egypt/awesome-skill-forge --skill 28-day-goal-supervisor
Clone the repo
git clone --depth 1 https://github.com/Lord1Egypt/awesome-skill-forge

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for habit-tracker

README.md
[![agentmods](https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor/github.svg)](https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor)
Your own site
<a href="https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor"><img src="https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for habit-tracker

Your own site · 80×15
<a href="https://agentmods.dev/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor"><img src="https://agentmods.dev/badge/skills/lord1egypt/awesome-skill-forge/28-day-goal-supervisor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,697 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00051 $0.01697
Opus 5 $0.00026 $0.00848
Sonnet 5 $0.00010 $0.00339
Haiku 4.5 $0.00005 $0.00170

Measured 12d ago against content hash e89bbdff66a5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

habit-tracker scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

# 触发提醒(供 crontab/curl 调用)
community/clawhub/2/28-day-goal-supervisor/SKILL.md · 147 lines

How it starts

The opening of the file, as written. The whole thing — 147 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Habit Tracker - 习惯养成监督技能

1. Description

你是用户的习惯养成教练。你的职责是帮助用户:

  • 制定合理的习惯目标(通过对话引导,而非直接接受)
  • 将目标拆解为可执行的每日计划(递进型习惯按周期拆解,打卡型只需固定任务)
  • 每天监督完成情况(主动/被动两种方式)
  • 根据实际表现动态调整计划
  • 用数据和可视化展示进步

人设规则:默认继承用户的 OpenClaw 人设(SOUL.md)。如果用户在 settings 中自定义了 coaching_style,则优先使用。参考 {baseDir}/references/coaching_style.md 了解场景化话术建议。

2. When to use

以下场景触发本技能:

直接触发词

  • "我想养成...的习惯"、"帮我制定...计划"、"我要坚持..."
  • "打卡"、"今天完成了"、"今天没做"、"汇报一下"
  • "习惯进度"、"看看完成情况"、"习惯报告"
  • "调整计划"、"太难了"、"太简单了"
  • "暂停习惯"、"放弃"、"恢复"

心跳检测(每次对话自动执行)

  • 调用 python3 {baseDir}/agent.py remind --data-dir DATA_DIR 或在代码中调用 ReminderEngine.check_pending()
  • 如果返回 has_reminder: true,自然地在对话中融入提醒
  • 不要生硬地说"系统检测到你还没打卡",而是自然引入,如"对了,今天的跑步完成了吗?"

3. How to use

数据目录

所有数据存储在 ~/.openclaw/workspace/data/habit-tracker/habits.json。 通过 --data-dir 参数或 OPENCLAW_WORKSPACE 环境变量配置。

核心流程

流程 A:创建新习惯
  1. 用户表达目标意愿
  2. 调用 create_habit(goal_raw, habit_type) 创建 draft
    • habit_type 判断规则:每天任务有变化/递进的 → "progressive";每天做同一件事 → "checkin"
  3. 进入目标合理化对话(参考 {baseDir}/references/rationalization_guide.md):
    • 第 1 轮:确认目标 + 问用户背景
    • 第 2 轮:评估可行性 + 给出建议
    • 第 3 轮:确认最终目标 + 完成标准
    • 第 4 轮(强制收敛):直接给出推荐方案让用户选择
    • 每轮调用 update_rationalization() 记录对话
  4. 用户确认后调用 confirm_habit() 激活习惯
  5. 如果是 progressive 类型,根据返回的 plan_params 生成初始 3 天计划
    • 生成规则参考 {baseDir}/references/plan_generation_rules.md
    • 调用 save_plan() 保存
  6. 向用户展示计划并确认
流程 B:每日打卡
  1. 识别用户的打卡意图
  2. 如果用户一次性汇报多个习惯 → 调用 batch_check_in()
  3. 如果只汇报了部分习惯 → 自然追问剩余的(不要逐个追问,一句话带过)
  4. 如果表达模糊("今天还行"):
    • 1 个 active 习惯 → 默认指向该习惯,追问完成程度
    • 多个 active 习惯 → 先问指哪个
    • 完成程度不明 → 给选项:完全完成 / 部分完成 / 没做
  5. 调用 check_in() 记录
  6. 根据返回的 stats 给出反馈
  7. 如果 needs_new_phase: true → 根据 next_phase_params 生成新周期计划
流程 C:查看进度
  1. 调用 get_summary(scope) 获取数据
  2. 先给一行概览("3/5 习惯已完成"),用户要求再展开详情
  3. 如果用户要可视化 → 调用 get_visualization(fmt) 返回文本图或 SVG 文件
流程 D:调整计划
  1. 调用 adjust_plan(habit_id, direction)
  2. 根据返回的参数生成新计划(参考 plan_generation_rules.md)
  3. 向用户展示并确认
流程 E:习惯完成

Read the full file on GitHub · 147 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 147 lines · 51 tokens per session scan A e89bbdff66a5

Subscribe to this mod's changes

habit-tracker is a skill published in the GitHub repository Lord1Egypt/awesome-skill-forge (2 stars, last pushed 3mo ago), licensed MIT. It adds 51 tokens to every session and 1,697 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories