“用于在思源任务笔记管理插件中管理习惯和日常打卡记录的 MCP 工具。”

— description from SKILL.md by Achuan-2
AGPL-3.0Auto-check passedProductivity & Automation

Install Habit

skills CLI
$ npx skills add Achuan-2/siyuan-plugin-task-note-management --skill habit -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Achuan-2/siyuan-plugin-task-note-management habit --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Achuan-2/siyuan-plugin-task-note-management.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/habit .claude/skills/habit && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
habit
GitHub stars
222
Token cost
~531 tokens
SKILL.md length
181 words
Files
1
Skills in repo
5
Repo updated
First seen
Licence
AGPL-3.0

At a glance

  • Works in 5 steps: search_habit → create_habit → update_habit → …
  • SKILL.md covers 支持操作与参数 and 调用示例
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

About this skill

Habit is a skill in Achuan-2/siyuan-plugin-task-note-management (222 stars). Its SKILL.md is about 531 tokens. Licence: AGPL-3.0.

Workflow steps

5 steps, taken from the step headings in SKILL.md.

  1. search_habit
  2. create_habit
  3. update_habit
  4. get_checkins
  5. upsert_checkins

What it can do on your machine

Read from SKILL.md and the folder at commit d4ed5fd. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are json).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Habit loads about 531 tokens when it runs. Until then it costs about 10 tokens; SKILL.md has 181 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~10
When it runs · the whole SKILL.md, loaded when a task matches
~531

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Achuan-2/siyuan-plugin-task-note-management at commit d4ed5fd, republished under its AGPL-3.0 licence (© Achuan-2). 181 words, ~531 tokens.

Download SKILL.mdSave it as .claude/skills/habit/SKILL.md (or your agent's skills folder).
name
habit
description
用于在思源任务笔记管理插件中管理习惯和日常打卡记录的 MCP 工具。

习惯打卡管理技能 (habit)

本技能提供思源任务笔记管理插件的习惯打卡跟踪接口,支持搜索/列出习惯、创建习惯、修改习惯状态、获取特定范围的打卡数据以及执行或更新打卡。

支持操作与参数

1. search_habit

搜索或列出习惯定义。

  • activeOnly (布尔值, 可选): 设为 true 仅返回未放弃的习惯。
  • keyword (字符串, 可选): 关键词,匹配习惯名称。
2. create_habit

创建新习惯。

  • title (字符串, 必填): 习惯名称。
  • target (数字, 必填): 周期目标完成次数。
  • goalType (字符串, 必填): 目标类型 ("count" 次数或 "pomodoro" 番茄钟时长)。
  • frequency (对象, 必填): 习惯重复频率配置:
    • type (字符串, 必填): "daily" (每日), "weekly" (每周), "monthly" (每月), "yearly" (每年), "ebbinghaus" (艾宾浩斯), "custom" (自定义频率)。
    • interval (数字, 可选): 重复间隔数值。
    • weekdays (数字数组, 可选): 重复的周天数(0-6 代表周日到周六)。
    • monthDays (数字数组, 可选): 重复的月份天数(1-31)。
    • months (数字数组, 可选): 重复的月份范围(1-12)。
  • startDate (字符串, 必填): 开始打卡日期 YYYY-MM-DD。
  • endDate (字符串, 可选): 结束日期 YYYY-MM-DD。
  • icon (字符串, 可选): 习惯图标。
  • color (字符串, 可选): 习惯标识颜色。
  • checkInEmojis (对象数组, 可选): 自定义打卡状态表情映射:
    • emoji (字符串, 必填): 表情符号。
    • meaning (字符串, 必填): 说明文字。
    • countsAsSuccess (布尔值, 必填): 该打卡状态是否计为成功完成。
3. update_habit

更新已存在的习惯。

  • id (字符串, 必填): 习惯 ID。
  • 其他支持在 create_habit 中传入的可选更新参数,外加:
  • abandoned (布尔值, 可选): 设为 true 归档并放弃该习惯。
4. get_checkins

获取特定习惯在指定日期范围内的历史打卡明细。

  • id (字符串, 必填): 习惯 ID。
  • startDateCheckin (字符串, 可选): 过滤开始日期 YYYY-MM-DD。
  • endDateCheckin (字符串, 可选): 过滤结束日期 YYYY-MM-DD。
5. upsert_checkins

更新或执行某天的习惯打卡。

  • id (字符串, 必填): 习惯 ID。
  • date (字符串, 必填): 打卡日期 YYYY-MM-DD。
  • count (数字, 可选): 打卡量/完成数值。
  • status (字符串数组, 可选): 打卡完成的状态标记。
  • entries (对象数组, 可选): 详细打卡记录项:
    • emoji (字符串, 必填): 完成该项使用的表情符号。
    • count (数字, 可选): 完成值。
    • note (字符串, 可选): 单次打卡的备注。

调用示例

执行今日份习惯打卡
json
{
  "action": "upsert_checkins",
  "id": "habit_12345",
  "date": "2026-07-11",
  "count": 1,
  "status": ["完成"]
}
创建一个每周五和周六进行的习惯
json
{
  "action": "create_habit",
  "title": "周末长跑",
  "target": 1,
  "goalType": "count",
  "frequency": {
    "type": "weekly",
    "weekdays": [5, 6]
  },
  "startDate": "2026-07-11",
  "icon": "🏃"
}

© Achuan-2, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in skills/habit of Achuan-2/siyuan-plugin-task-note-management.

Open the folder on GitHubat commit d4ed5fd

Compare with similar skills

Habit next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Habit compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Habit this skillAchuan-2/siyuan-plugin-task-note-management222—~531Automated safety check: PassAGPL-3.0
N8n Docs Assistantn8n-io/n8n207k—~550Automated safety check: PassCustom licence
Planningn8n-io/n8n207k—~2.5kAutomated safety check: PassCustom licence
AgentRQ Workspace Agentagentrq/agentrq1.1k—~1.9kAutomated safety check: PassAGPL-3.0
Suggest Automationsn8n-io/n8n207k—~2kAutomated safety check: PassCustom licence
Webctlcosinusalpha/webctl419—~1.7kAutomated safety check: PassNone

Similar skills

  • Official

    Answers n8n product, setup, credential, node, hosting, API, and usage questions from current n8n docs.

    207k GitHub stars~550 tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Planning

    n8n-io/n8n

    Official

    ONLY for coordinated multi-artifact work: multiple workflows with dependencies, shared data-table schema/migration across tasks, or the user explicitly asked to review a plan first.

    207k GitHub stars~2.5k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Guides a workspace agent through executing assigned tasks, replying to a remote human operator, and creating sub-tasks, memory and events inside an AgentRQ workspace.

    1.1k GitHub stars~1.9k tokensUpdated yesterday
    Productivity & AutomationAuto-check passed
  • Official

    Offer the three most common automations for a user as a single-choice card, from your own knowledge of their team and their apps, then build the one they choose once they confirm, or offer more.

    207k GitHub stars~2k tokensUpdated today
    Productivity & AutomationAuto-check passed
  • Webctl

    cosinusalpha/webctl

    Browser automation via CLI. An agent skill from cosinusalpha/webctl.

    419 GitHub stars~1.7k tokensUpdated 4 mo ago
    Productivity & AutomationAuto-check passed
  • Huge AI Search

    wangwingzero/huge-ai-search

    Searches the live web through Google AI Mode via Huge AI Search (MCP or CLI).

    144 GitHub stars~563 tokensUpdated 1 mo ago
    Productivity & AutomationAuto-check passed

More from Achuan-2/siyuan-plugin-task-note-management

  • Stats

    Achuan-2/siyuan-plugin-task-note-management

    用于在思源任务笔记管理插件中记录番茄钟专注记录和提取任务习惯统计摘要的 MCP 工具. An agent skill from Achuan-2/siyuan-plugin-task-note-management.

    222 GitHub stars~438 tokensUpdated yesterday
    Auto-check passed
  • Project

    Achuan-2/siyuan-plugin-task-note-management

    用于在思源任务笔记管理插件中管理项目看板及文件夹分组的 MCP 工具。

    222 GitHub stars~567 tokensUpdated yesterday
    Auto-check passed
  • Task

    Achuan-2/siyuan-plugin-task-note-management

    用于在思源任务笔记管理插件中管理任务、任务提醒和分类的 MCP 工具。

    222 GitHub stars~1.4k tokensUpdated yesterday
    Auto-check passed
  • Task Note Management MCP

    Achuan-2/siyuan-plugin-task-note-management

    思源任务笔记管理插件 MCP 工具总览技能。

    222 GitHub stars~311 tokensUpdated yesterday
    Auto-check passed

Questions about Habit

How do I install Habit in Claude Code?

Run `npx skills add Achuan-2/siyuan-plugin-task-note-management --skill habit -a claude-code`. Or copy the skill folder (skills/habit in Achuan-2/siyuan-plugin-task-note-management) into .claude/skills/habit in your project. Claude Code loads it when a task matches its description.

How do I install Habit in Codex?

Run `npx skills add Achuan-2/siyuan-plugin-task-note-management --skill habit -a codex`. Or copy the skill folder (skills/habit in Achuan-2/siyuan-plugin-task-note-management) into .agents/skills/habit in your project. Codex loads it when a task matches its description.

Can I use Habit in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Achuan-2/siyuan-plugin-task-note-management --skill habit -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/habit, .gemini/skills/habit, .github/skills/habit and .opencode/skills/habit in your project.

What does Habit need to run?

SKILL.md names no scripts, command-line tools or credentials: Habit is instructions for the agent only.

Does Habit access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Habit safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Habit use?

Habit is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Habit use?

About 531 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Habit?

Skills that share tags, products or a category with Habit: N8n Docs Assistant (n8n-io/n8n, 207k stars), Planning (n8n-io/n8n, 207k stars), AgentRQ Workspace Agent (agentrq/agentrq, 1.1k stars) and Suggest Automations (n8n-io/n8n, 207k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Habit?

Achuan-2 (a GitHub user) maintains it in Achuan-2/siyuan-plugin-task-note-management, which has 222 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 9, 2026.

Source: Achuan-2/siyuan-plugin-task-note-management on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.