habit-tracker

habit-tracker is a skill for Claude Code, Codex from malue-ai/dazee-small. It costs 21 tokens per session (689 once invoked), scanned A, original, MIT.

A local habit log that records whether you completed recurring activities, counts consecutive successful days, and shows progress reports. Its data is kept on the device rather than uploaded.

In plain words
What is it for?
Use it to add habits such as reading, drinking water, or exercising, mark them complete each day, and review completion rates and current or best streaks.
Why use it?
It gives you a clear record of daily follow-through instead of relying on memory. Streaks and weekly or monthly reports make missed days and progress easier to see without treating a missed day as a failure.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to add habits such as reading, drinking water, or exercising, mark them complete each day, and review completion rates and current or best streaks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/malue-ai/dazee-small/habit-tracker
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 malue-ai/dazee-small --skill habit-tracker
Clone the repo
git clone --depth 1 https://github.com/malue-ai/dazee-small

Made for: Claude Code, Codex.

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/malue-ai/dazee-small/habit-tracker/github.svg)](https://agentmods.dev/skills/malue-ai/dazee-small/habit-tracker)
Your own site
<a href="https://agentmods.dev/skills/malue-ai/dazee-small/habit-tracker"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/habit-tracker/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/malue-ai/dazee-small/habit-tracker"><img src="https://agentmods.dev/badge/skills/malue-ai/dazee-small/habit-tracker.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00021 $0.00689
Opus 5 $0.00010 $0.00345
Sonnet 5 $0.00004 $0.00138
Haiku 4.5 $0.00002 $0.00069

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

Security

Grade A, and why

habit-tracker scanned grade A with 0 findings 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 9d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

instances/xiaodazi/skills/habit-tracker/SKILL.md · 92 lines

What it actually says

习惯追踪

帮助用户建立和追踪日常习惯,记录连续打卡天数,生成进度报告。数据保存在本地。

使用场景

  • 用户说「帮我追踪每天喝水」「我要养成早起的习惯」
  • 用户说「今天的习惯打卡」「我坚持了几天了」
  • 用户说「看看我这周的习惯完成情况」
  • 用户说「添加一个新习惯:每天运动 30 分钟」

执行方式

数据存储

在用户数据目录维护一个 JSON 文件 ~/Documents/xiaodazi/habits.json

{
  "habits": [
    {
      "id": "drink_water",
      "name": "每天喝 8 杯水",
      "created_at": "2026-02-01",
      "frequency": "daily",
      "records": {
        "2026-02-25": true,
        "2026-02-26": true
      },
      "current_streak": 2,
      "best_streak": 15
    }
  ]
}

核心操作

添加习惯

用户:帮我追踪每天阅读 30 分钟
→ 创建新习惯条目,设置频率为 daily

打卡

用户:今天的阅读完成了
→ 记录今日完成,更新连续天数
→ 回复:阅读 ✅ 已连续 5 天!

查看进度

用户:我的习惯完成得怎么样
→ 生成本周/本月进度报告

进度报告模板

## 习惯周报(2/19 - 2/25)

| 习惯 | 一 | 二 | 三 | 四 | 五 | 六 | 日 | 完成率 |
|---|---|---|---|---|---|---|---|---|
| 阅读 30 分钟 | ✅ | ✅ | ❌ | ✅ | ✅ | ✅ | ✅ | 86% |
| 喝 8 杯水 | ✅ | ✅ | ✅ | ✅ | ✅ | ❌ | ✅ | 86% |
| 运动 | ❌ | ✅ | ❌ | ✅ | ❌ | ✅ | ❌ | 43% |

### 连续打卡
- 🔥 阅读:当前连续 6 天(最佳 15 天)
- 💧 喝水:当前连续 1 天(最佳 22 天)
- 💪 运动:当前连续 0 天(最佳 7 天)

输出规范

  • 打卡成功时给予正面反馈和连续天数
  • 断签时不批评,鼓励重新开始
  • 周报使用表格+图标,直观展示完成情况
  • 数据始终保存在本地,不上传
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. 9d ago First seen · 92 lines · 21 tokens per session scan A b30d399c3455

Subscribe to this mod's changes

habit-tracker is a skill published in the GitHub repository malue-ai/dazee-small (36 stars, last pushed 5mo ago), licensed MIT. It adds 21 tokens to every session and 689 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.