habit

habit is a skill for Claude Code, Codex from shikidmsh-rgb/mochibot. It costs 30 tokens per session (591 once invoked), scanned A, original, MIT.

A Chinese-language tool for tracking repeated habits such as exercise, drinking water, or studying. It supports daily check-ins and progress or history views.

In plain words
What is it for?
Use it to create, edit, pause, resume, or remove daily and weekly habits; record completed sessions; and view today’s progress or historical statistics.
Why use it?
It keeps habit records and progress in one place, including corrections when a check-in was recorded by mistake.

Skill for Claude CodeCodex

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

Good fit Use it to create, edit, pause, resume, or remove daily and weekly habits; record completed sessions; and view today’s progress or historical statistics.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/shikidmsh-rgb/mochibot/habit/github.svg)](https://agentmods.dev/skills/shikidmsh-rgb/mochibot/habit)
Your own site
<a href="https://agentmods.dev/skills/shikidmsh-rgb/mochibot/habit"><img src="https://agentmods.dev/badge/skills/shikidmsh-rgb/mochibot/habit/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

Your own site · 80×15
<a href="https://agentmods.dev/skills/shikidmsh-rgb/mochibot/habit"><img src="https://agentmods.dev/badge/skills/shikidmsh-rgb/mochibot/habit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 591 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00030 $0.00591
Opus 5 $0.00015 $0.00296
Sonnet 5 $0.00006 $0.00118
Haiku 4.5 $0.00003 $0.00059

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

Security

Grade A, and why

habit 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 6d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (__init__.py, handler.py, logic.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

mochi/skills/habit/SKILL.md · 52 lines

What it actually says

Habit Skill

追踪需要长期坚持的习惯(如运动、喝水、学习)。用户通过聊天打卡,日记状态面板实时反映进度。

Tools

query_habit (routed)

读取习惯的今日进度或历史统计,例如当天打卡和月度跑步次数。

Parameter Type Required Description
action string (enum: list, stats) yes list = 今日进度;stats = 历史统计
habit_id integer no 习惯 ID(仅 stats 需要)

checkin_habit (routed)

为一个已有长期习惯增加或撤销完成记录,例如已经喝完一杯水或已经跑完步。

Parameter Type Required Description
action string (enum: checkin, undo_checkin) yes 操作类型
habit_id integer yes 习惯 ID
note string no 备注
count integer no 打卡次数(默认 1)

edit_habit (routed)

创建或调整长期重复追踪的习惯,包括频率、重要性、暂停和恢复。

Parameter Type Required Description
action string (enum: add, remove, pause, resume, update) yes 操作类型
habit_id integer no 习惯 ID(remove/pause/resume/update)
name string no 习惯名称(add 必填;update 可选)
frequency string no daily:N、weekly:N 或 weekly_on:DAY,...:N(add 必填;update 可选)
category string no 分类标签(如 health、pet、study)
importance string no important 或 normal(默认 normal)
context string no 时间安排备注
until string no 暂停截止日期(ISO 格式),默认 7 天

Capability Context

  • check-in 会改变完成计数,因此“打算做”或“晚点做”并不构成已完成事实。
  • pause 会在多天范围内暂停追踪;它不会保存一次性的“稍后再看”念头。
  • 每个写操作只改变参数中明确指定的习惯,结果会返回实际状态。
Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 6d ago Changed · +2 lines · +2 tokens per session 3b9869f84032
  2. 12d ago First seen · 50 lines · 28 tokens per session scan A 635235aa5b81

Subscribe to this mod's changes

habit is a skill published in the GitHub repository shikidmsh-rgb/mochibot (83 stars, last pushed 5d ago), licensed MIT. It adds 30 tokens to every session and 591 once invoked, about $0.0002 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-30.