cat-food-tracker

Work with cat feeding, weight, and water tracking records. Use when validating CatFoodCalculator-style JSON backups, calculating dry-equivalent cat food totals, estimating water intake from wet food, summarizing pet feeding records by day, converting summaries to CSV, or helping users clean up offline pet feeding data.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "cat-food-tracker" with this command: npx skills add hhr8/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

  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.

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

General

Obsidian Sync Syncthing

Obsidian 跨平台同步方案(Mac ↔ iPhone),基于 Syncthing 实现零插件、零成本、离线优先的双向同步,支持智能大文件过滤。

Registry SourceRecently Updated
1120Profile unavailable
General

AI-powered DP Data Processing Pipeline Designer

DP 数据处理平台流水线设计师。当用户提到创建管道、数据流、Flink作业、Kafka读取、写到数据库/MongoDB、数据处理管道等需求时激活。

Registry SourceRecently Updated
1170Profile unavailable
General

AI-powered DP Platform Operations Advisor

DP 数据处理平台运维顾问。当用户提到检查平台、作业失败、作业状态、吞吐量分析、故障诊断、运维报告等运维需求时激活。

Registry SourceRecently Updated
1050Profile unavailable
Automation

Pitbull — Adopt a Pitbull. Dog. 比特犬。Pitbull.

Adopt a virtual Pitbull dog at animalhouse.ai. Misunderstood. Maximum loyalty once trust is earned. Slow start. Feeding every 4 hours. Uncommon tier dog.

Registry SourceRecently Updated
3300Profile unavailable