habit

habit is a skill for Claude Code, Codex from shikidmsh-rgb/mochibot. It costs 28 tokens per session (850 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 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 850 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.00028 $0.00850
Opus 5.5 $0.00011 $0.00340
Sonnet 5.5 $0.00006 $0.00170
Haiku 4.5 $0.00003 $0.00085

Measured 26d ago against content hash 511ce1f3eb48, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 26d 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 · 51 lines

What it actually says

Habit Skill

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

Tools

habit_progress (routed, adaptive)

读取习惯进度或记录已经完成的进展;“打算做”或“晚点做”不算完成。

Parameter Type Required Description
action string (enum: list, stats, add, sync, undo) yes list = 当前进度;stats = 历史统计;add = 新增完成次数;sync = 对账到累计进度;undo = 撤销当前周期最近一次完成记录
habit_id integer no 习惯 ID;stats/add/sync/undo 使用
habit_name string no 唯一、精确的现有习惯名称;stats/add/sync/undo 时可代替 habit_id;同时提供时须与 ID 对应
note string no add/sync 的备注
count integer no 仅 add 使用;本次新增的完成次数,正整数,默认 1
total integer no 仅 sync 使用且必填;当前周期累计完成次数,非负整数;工具原子读取已存进度并只补齐差额,不减少已有记录

edit_habit (routed, adaptive)

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

Parameter Type Required Description
action string (enum: add, remove, pause, resume, update) yes 操作类型
habit_id integer no 习惯 ID(remove/pause/resume/update 与 habit_name 二选一)
habit_name string no 唯一、精确的现有习惯名称(remove/pause/resume/update 可替代 habit_id;同时提供时须与 ID 对应)
name string no 习惯名称(add 必填;update 可选)
cycle string (enum: daily, weekly) no 统计周期(add 必填;update 可选)
target integer no 每个周期的目标次数,正整数;add 默认 1,update 省略表示保持不变
weekdays array no 仅 weekly 使用;可选 mon、tue、wed、thu、fri、sat、sun;add 省略表示不限星期,update 省略保留原设置,空数组清除星期限制
category string no 分类标签(如 health、pet、study)
importance string (enum: important, normal) no important 或 normal(默认 normal)
context string no 时间安排备注
until string no 暂停截止日期(YYYY-MM-DD),默认 7 天

Capability Context

  • sync 低于已存进度时不会删除记录;实际完成次数可以超过目标。
  • list 返回所有活跃习惯的当前进度;stats 不指定习惯时返回所有活跃习惯的历史统计。
  • pause 会在多天范围内暂停追踪;它不会保存一次性的“稍后再看”念头。
  • remove 停用习惯但保留历史;重新 add 同名的已停用习惯会恢复原 ID 和历史,并应用本次参数。
  • update 只改变明确提供的字段;切换 cycle 时会清除不再适用的星期限制。
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. 26d ago Changed 511ce1f3eb48
  2. 1mo ago Changed · -2 lines b9e9b121c84d
  3. 1mo ago Changed · +1 lines · -2 tokens per session 98bbacfa5cea
  4. 1mo ago Changed · +2 lines · +2 tokens per session 3b9869f84032
  5. 2mo 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 (108 stars, last pushed 4d ago), licensed MIT. It adds 28 tokens to every session and 850 once invoked, about $0.0001 per session on Opus 5.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.

Related

Other skills, from other repositories

orbit-notion

Open Orbit briefing skill — selected by the Orbit pipeline when Notion is the user's only connected connector, or when the user explicitly scopes their daily digest to Notion. Pulls the past 24 hours of document edits, comments, mentions, and database row changes from the user's authenticated Notion connection and…

nexu-io/open-design · 117 tokens

agentmail

Use your assigned AgentMail inbox to read email tasks, explicitly send or reply, and check delivery. Provided automatically by your inbox assignment.

paperclipai/paperclip · 30 tokens

Cortex

LifeOS memory, prior-session recall, and learning capture. USE WHEN capture this learning, document this learning, what did we learn recently, recent learnings, cortex, knowledge, knowledge base, search knowledge, what do we know about, archive, harvest, knowledge status, develop note, add to knowledge, add a people…

danielmiessler/LifeOS · 184 tokens

rowboat-spaces

How to work as a member of Rowboat Spaces, the team chat where people and agents work together. Load it once per session, before acting on any request that reaches you from Rowboat; it covers your setup, mentions and hand-offs, the tools, and files.

rowboatlabs/rowboat · 60 tokens

feishu

Work with Feishu or Lark bots, docs, sheets, bitables, approval flows, and OpenAPI/MCP setup without hardcoding credentials.

Hmbown/CodeWhale · 33 tokens

pinchtab-mcp

Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.

pinchtab/pinchtab · 52 tokens