← 返回 Skills 市场
harrylabsj

Health Habit Builder

作者 haidong · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
115
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install health-habit-builder
功能描述
Health Habit Builder / 健康习惯养成师. 基于行为科学和习惯形成理论,智能拆解微习惯、跟踪打卡、分析动机,帮助用户建立可持续的健康习惯。
使用说明 (SKILL.md)

Health Habit Builder / 健康习惯养成师

你是健康习惯养成师,基于行为科学和习惯形成理论,帮助用户建立可持续的健康习惯。

产品定位

Health Habit Builder 通过以下核心能力帮助用户养成健康习惯:

  • 习惯难度评估:科学评估新习惯的难度和成功概率
  • 微习惯拆分:将大目标拆解为2分钟内可完成的微习惯
  • 每日打卡系统:跟踪每日习惯执行情况和连续记录
  • 动机分析:分析用户动机水平和变化趋势,提供强化建议

核心功能

1. 习惯难度评估

  • 输入目标习惯描述、用户当前状态
  • 输出难度评分(1-10)、成功概率预测、主要障碍分析

2. 微习惯生成

  • 将大目标拆解为渐进式微习惯序列
  • 确保每个微习惯在2分钟内可完成
  • 提供每日最小承诺

3. 每日打卡

  • 记录完成状态、坚持天数、连续记录
  • 支持完成质量反馈

4. 动机分析

  • 分析内在/外在动机水平
  • 趋势预测和衰减预警
  • 提供强化建议

输入格式

interface HabitRequest {
  intent: "create" | "evaluate" | "checkIn" | "progress" | "adjust" | "motivate";
  habit?: {
    name: string;
    description?: string;
    frequency: string;
    startDate?: string;
    targetDate?: string;
  };
  habitId?: string;
  userContext?: {
    currentHabits?: string[];
    availableTime?: string;
    pastFailures?: string;
    motivationType?: string;
  };
  feedback?: {
    status: "completed" | "skipped" | "partial";
    quality?: number;
    notes?: string;
    mood?: number;
    energy?: number;
  };
  adjustment?: {
    type: "goal" | "schedule" | "difficulty";
    description: string;
  };
}

输出格式

interface HabitResponse {
  success: boolean;
  habitPlan?: {...};
  evaluation?: {...};
  checkInResult?: {...};
  progressReport?: {...};
  motivationAnalysis?: {...};
  adjustmentSuggestion?: {...};
  error?: {...};
}

触发词

  • 健康习惯养成
  • 习惯养成师
  • 建立新习惯
  • 习惯跟踪
  • 微习惯计划
  • 评估 [习惯] 难度
  • 打卡完成 [习惯]
  • 查看习惯进度
  • 我在 [习惯] 上遇到困难

当前状态

  • 习惯评估:stub
  • 微习惯生成:stub
  • 打卡系统:stub
  • 动机分析:stub

目录结构

health-habit-builder/
├── SKILL.md
├── clawhub.json
├── package.json
├── handler.py
├── engine/
│   ├── types.py
│   ├── assessor.py
│   ├── microhabit.py
│   ├── tracker.py
│   └── motivator.py
└── scripts/
    └── test_handler.py
安全使用建议
This skill appears to do what it says: local habit evaluation, micro-habit generation, tracking, and motivation analysis implemented in plain Python with no network calls or secret access. Before installing or enabling it in an agent: (1) confirm you are comfortable that data is stored only in-memory (the skill does not persist or sync by itself — data will be lost between runs unless the platform provides storage); (2) review the code if you plan to run it on a sensitive host (it will execute Python on the agent runtime); (3) do not treat its recommendations as medical advice — it is behavioral tooling, not a clinician; (4) if you need cloud sync or backups, expect to add secure, explicit storage and authorization rather than giving this skill broad credentials. Overall, the package is internally coherent and shows no signs of exfiltration or unrelated privileges.
功能分析
Type: OpenClaw Skill Name: health-habit-builder Version: 1.0.0 The health-habit-builder skill bundle is a well-structured implementation of a habit-tracking assistant. The code in handler.py and the engine/ directory uses purely local logic, in-memory dictionaries for data storage, and standard Python libraries (uuid, datetime) to manage habit plans and progress. There are no instances of network calls, file system access, shell execution, or suspicious obfuscation. The SKILL.md instructions are strictly aligned with the stated purpose of behavior science-based habit formation and do not contain any prompt injection attempts or unauthorized commands.
能力评估
Purpose & Capability
Name/description match the included Python modules (assessor, microhabit generator, tracker, motivator) and handler logic. All required functionality (create/evaluate/checkIn/progress/adjust/motivate) is implemented locally; there are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md describes habit-related inputs/outputs and trigger words and maps to the handler's intents. The runtime instructions and code operate on the provided request data and in-memory stores only; they do not read arbitrary files, environment variables, or send data to external endpoints. Note: several features are declared as 'stub' in SKILL.md, and the skill uses in-memory dicts for storage (no persistence).
Install Mechanism
No install spec is provided (instruction-only / source included). There are local Python files and a test script; nothing is downloaded or installed from external URLs and no package managers are invoked.
Credentials
The skill declares no required environment variables, no primary credential, and the code does not read environment secrets or external config paths. The requested privileges are proportional to the described purpose.
Persistence & Privilege
always:false and agent-autonomy defaults are used (normal). The skill keeps data in in-memory dictionaries (_habits_db, _checkins_db) only; it does not persist to disk or modify other skills or global agent settings. If you expect persistent storage or syncing, that is not implemented and would require additional components.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install health-habit-builder
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /health-habit-builder 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
No changes detected in this version. - The skill version remains at 0.1.0. - No updates, fixes, or new features were added. - All functionality and documentation are unchanged.
v0.1.0
Initial release of Health Habit Builder: - Introduces habit difficulty assessment, micro-habit decomposition, daily check-in, and motivation analysis features (all in stub form). - Provides TypeScript input and output interfaces for habit requests and responses. - Includes Chinese-language support and usage triggers. - Establishes clear product positioning and core functionality outline. - Details project directory structure for future development.
元数据
Slug health-habit-builder
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

Health Habit Builder 是什么?

Health Habit Builder / 健康习惯养成师. 基于行为科学和习惯形成理论,智能拆解微习惯、跟踪打卡、分析动机,帮助用户建立可持续的健康习惯。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 115 次。

如何安装 Health Habit Builder?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install health-habit-builder」即可一键安装,无需额外配置。

Health Habit Builder 是免费的吗?

是的,Health Habit Builder 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Health Habit Builder 支持哪些平台?

Health Habit Builder 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Health Habit Builder?

由 haidong(@harrylabsj)开发并维护,当前版本 v1.0.0。

💬 留言讨论