/install cat-food-tracker
Cat Food Tracker
Use this skill to process cat feeding tracker data reliably. Prefer the bundled scripts for validation, daily summaries, and CSV output instead of doing arithmetic manually.
Workflow
- Identify the input shape. Supported input is a JSON object with optional
settings,pets,feed_records,weight_records, andwater_recordsarrays. If the user provides CSV or free-form data, first convert it into this shape. - Validate JSON backups with
scripts/validate-backup.mjsbefore calculating or transforming records. - Generate daily summaries with
scripts/daily-summary.mjswhen the user asks for totals, dry-equivalent food, water intake, daily history, or CSV export. - Read the focused reference files only when needed:
references/domain-model.mdfor accepted fields and enums.references/calculations.mdfor formulas, rounding, and grouping behavior.references/import-export.mdfor backup validation and CSV expectations.
Commands
Run validation:
node {baseDir}/scripts/validate-backup.mjs backup.json --pretty
Read backup JSON from stdin:
cat backup.json | node {baseDir}/scripts/validate-backup.mjs - --pretty
Create daily JSON summaries:
node {baseDir}/scripts/daily-summary.mjs backup.json --pretty
Create daily CSV summaries:
node {baseDir}/scripts/daily-summary.mjs backup.json --format csv
Filter by pet or date range:
node {baseDir}/scripts/daily-summary.mjs backup.json --pet-id pet-1 --from 2026-04-01 --to 2026-04-30 --format csv
Public Data Handling
Treat cat names and feeding histories as private user data. Do not include real backup files, pet names, or feeding history in examples, logs, commits, or published skill packages unless the user explicitly asks.
If an input has unsupported fields, validate first and explain that this skill keeps only the supported CatFoodCalculator-style schema. If records reference missing pets, report the warnings from the scripts and still summarize using the pet_id.
When Editing Or Extending
Keep formulas in scripts/cat-food-core.mjs and references/calculations.md aligned. If adding a field to the backup schema, update references/domain-model.md, references/import-export.md, validation in cat-food-core.mjs, and the self-test examples.
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cat-food-tracker - 安装完成后,直接呼叫该 Skill 的名称或使用
/cat-food-tracker触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
Cat Food Tracker 是什么?
Work with cat feeding, weight, and water tracking records. Use when validating CatFoodCalculator-style JSON backups, calculating dry-equivalent cat food tota... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 56 次。
如何安装 Cat Food Tracker?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cat-food-tracker」即可一键安装,无需额外配置。
Cat Food Tracker 是免费的吗?
是的,Cat Food Tracker 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cat Food Tracker 支持哪些平台?
Cat Food Tracker 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cat Food Tracker?
由 hhr8(@hhr8)开发并维护,当前版本 v1.0.1。