← 返回 Skills 市场
hhr8

Cat Food Tracker

作者 hhr8 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
56
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install 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...
使用说明 (SKILL.md)

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

  1. Identify the input shape. Supported input is a JSON object with optional settings, pets, feed_records, weight_records, and water_records arrays. If the user provides CSV or free-form data, first convert it into this shape.
  2. Validate JSON backups with scripts/validate-backup.mjs before calculating or transforming records.
  3. Generate daily summaries with scripts/daily-summary.mjs when the user asks for totals, dry-equivalent food, water intake, daily history, or CSV export.
  4. Read the focused reference files only when needed:
    • references/domain-model.md for accepted fields and enums.
    • references/calculations.md for formulas, rounding, and grouping behavior.
    • references/import-export.md for 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.

安全使用建议
This skill appears internally consistent and limited to local data processing. Before using it: (1) ensure you have Node.js to run the scripts; (2) only run the scripts on backups you trust or are willing to expose to local code execution; (3) review the included .mjs files if you want to double-check behavior—they are short and readable and contain no network or credential usage; (4) note the agent can invoke the skill autonomously by default—if you want stricter control, disable autonomous invocation in your agent settings before installing.
功能分析
Type: OpenClaw Skill Name: cat-food-tracker Version: 1.0.1 The skill bundle is a legitimate utility for processing and summarizing cat feeding, weight, and water intake data. The JavaScript files (scripts/cat-food-core.mjs, scripts/daily-summary.mjs) implement robust data validation, sanitization, and mathematical calculations using only standard Node.js modules (fs, process). There is no evidence of data exfiltration, network activity, or dangerous execution patterns like eval or child_process. The instructions in SKILL.md and the reference documentation are strictly aligned with the stated purpose of pet data management and include explicit privacy reminders for the AI agent.
能力标签
cryptocan-make-purchases
能力评估
Purpose & Capability
Name/description match the included scripts and reference docs: validation, daily summaries, CSV export, and related calculations are implemented in the bundled .mjs files and referenced docs.
Instruction Scope
SKILL.md instructs running the included Node scripts against local backup files or stdin. The runtime instructions only touch backup JSON, local reference docs, and produce summaries; there are no instructions to read unrelated system files, access environment variables, or send data to external endpoints.
Install Mechanism
No install spec is provided (instruction-only installation). The package includes plain JavaScript scripts to run with Node.js; there are no downloads, external installers, or archive extraction steps.
Credentials
The skill requires no environment variables, credentials, or config paths. The scripts accept local file input or stdin only, which is proportionate to the declared functionality.
Persistence & Privilege
always is false and the skill does not request persistent system privileges or modify other skills/config. It is user-invocable and may be invoked autonomously by the agent (default), which is normal for skills and not flagged here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install cat-food-tracker
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /cat-food-tracker 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
Correct license metadata to MIT.
v1.0.0
Initial public release with JSON backup validation and daily food, water, and weight summaries.
元数据
Slug cat-food-tracker
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

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。

💬 留言讨论