← 返回 Skills 市场
cake-26

Baby record

作者 cake-26 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
268
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install baby-record
功能描述
宝宝每日护理记录技能。支持通过拍照纸质表单或口语描述快速录入宝宝每日数据(体温、黄疸、沐浴、体重、睡眠、喂养、排泄等),数据存储为 JSON 文件。当用户提到以下内容时触发:记录宝宝今天数据、宝宝每日汇总、今天体温多少、今天喝了多少奶、宝宝最近数据、帮我看看这张表(图片)、宝宝日记、baby record、每日情...
使用说明 (SKILL.md)

宝宝每日护理记录

通过对话或图片快速记录宝宝每日护理数据,存储为结构化 JSON 文件。

数据目录:{baseDir}/data/(每天一个 JSON 文件,如 2026-03-09.json

脚本:{baseDir}/scripts/daily_tracker.py(纯 Python,无外部依赖)

字段参考:{baseDir}/references/schema.md

数据录入

从图片录入

用户发送纸质「宝宝每日基本情况汇总」表单照片时:

  1. 用视觉能力识别照片中的所有字段
  2. 参考 references/schema.md 将数据映射到标准字段
  3. 向用户确认提取结果(用简洁表格展示)
  4. 确认后调用脚本保存:
python {baseDir}/scripts/daily_tracker.py save --date YYYY-MM-DD --data '{"temperature":{"morning":36.9},...}'

从口语录入

用户用自然语言描述时(如"今天体温36.5,奶粉560ml喝了7次,便便2次"):

  1. 提取所有能识别的字段
  2. 未提及的字段不填(保留为 null)
  3. 日期未指定默认今天
  4. 直接调用脚本保存,保存后用友好中文确认

增量更新

同一天可多次录入。脚本会自动合并:新数据覆盖已有字段,未提及字段保持原值。

数据查询

用户问"最近几天数据"、"昨天记录"、"上周汇总"等:

# 查看单日
python {baseDir}/scripts/daily_tracker.py get --date 2026-03-09

# 最近 N 天列表
python {baseDir}/scripts/daily_tracker.py list --last 7

# 日期范围查询
python {baseDir}/scripts/daily_tracker.py query --start 2026-03-01 --end 2026-03-09

# 趋势汇总
python {baseDir}/scripts/daily_tracker.py summary --last 7

查询结果为 JSON,用友好的中文表格或列表展示给用户。

展示规范

  • 体温:显示 °C,异常值(>37.5)标注提醒
  • 黄疸:显示 mg/dL,按早/晚 × 额头/脸/胸 表格展示
  • 喂养:分奶粉和母乳展示 ml 和次数
  • 趋势汇总:包含体温变化、体重增长、喂养量趋势、排泄频率

注意事项

  • 所有交互使用中文
  • 日期格式统一 YYYY-MM-DD
  • 体温单位 °C,体重单位 kg,黄疸单位 mg/dL,奶量单位 ml
  • 数据文件不存在时自动创建,无需初始化步骤
  • 从图片提取数据时务必让用户确认后再保存
安全使用建议
This skill appears coherent and local-only: it parses user text/images, asks you to confirm extracted data, and saves records as JSON files in a data directory. Before installing, consider: 1) The agent will need a Python interpreter available to run the script (the metadata did not list 'python' as a required binary). 2) Records (photos or health details) are stored as plain JSON files in the skill's data directory (or any path you pass via --dir); if these are sensitive, store them on encrypted storage or restrict the directory. 3) The image-to-data step relies on the agent's vision/OCR — ensure you are comfortable with the agent processing any photos you upload. If you need networked backups, sharing, or encrypted storage, that would require additional code or configuration not included here.
功能分析
Type: OpenClaw Skill Name: baby-record Version: 1.0.0 The skill is a legitimate tool for tracking baby health data (temperature, feeding, jaundice, etc.) using local JSON storage. The Python script `scripts/daily_tracker.py` implements standard CRUD operations and data merging logic without any network access, external dependencies, or suspicious system calls. The instructions in `SKILL.md` are clearly aligned with the stated purpose and include safety steps such as requiring user confirmation before saving data extracted via vision/OCR.
能力评估
Purpose & Capability
Name/description, SKILL.md, and the included Python script all align: this is a local daily baby-record tool that saves JSON files and summarizes trends. One minor inconsistency: the runtime instructions call the system 'python' executable, but the skill metadata did not declare any required binaries. In practice the agent environment must provide a Python interpreter for the script to run.
Instruction Scope
SKILL.md confines behavior to parsing user text/images, confirming with the user, and calling the included script to save/query local JSON files. It explicitly requires user confirmation before saving OCR/extracted image data. No instructions request reading unrelated files, environment variables, or sending data to external endpoints.
Install Mechanism
No install spec or external downloads; the bundle is instruction-plus-local Python script. Nothing is fetched from external URLs and no archives are extracted.
Credentials
The skill requests no environment variables or credentials. Its file I/O is limited to a data directory (by default under the skill bundle) and an optional user-specified --dir. This is proportional to its purpose. Note: running the script requires filesystem write access and a local Python runtime.
Persistence & Privilege
always:false and no special privileges are requested. The skill does not modify other skills or system-wide configurations; its persistence is limited to creating/reading JSON files under its data directory or a user-provided directory.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install baby-record
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /baby-record 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
baby-record v1.0.0 - 首次发布,实现宝宝每日护理数据的快速录入与查询。 - 支持拍照纸质表单或口语描述,自动结构化存储为 JSON 文件。 - 提供数据增量更新功能,同一天多次录入,自动合并并保留未提及值。 - 内置多种数据查询与汇总指令,支持最近数据、范围查询、趋势分析等。 - 交互全程中文,支持标准单位与规范化展示(如异常体温高亮)。 - 所有数据存储于本地 data 目录,每日一个 JSON 文件,无需初始化。
元数据
Slug baby-record
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Baby record 是什么?

宝宝每日护理记录技能。支持通过拍照纸质表单或口语描述快速录入宝宝每日数据(体温、黄疸、沐浴、体重、睡眠、喂养、排泄等),数据存储为 JSON 文件。当用户提到以下内容时触发:记录宝宝今天数据、宝宝每日汇总、今天体温多少、今天喝了多少奶、宝宝最近数据、帮我看看这张表(图片)、宝宝日记、baby record、每日情... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 268 次。

如何安装 Baby record?

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

Baby record 是免费的吗?

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

Baby record 支持哪些平台?

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

谁开发了 Baby record?

由 cake-26(@cake-26)开发并维护,当前版本 v1.0.0。

💬 留言讨论