food-tracker

Installation
SKILL.md

Food Tracker

ติดตามฟอสฟอรัสและโพแทสเซียมจากอาหาร สำหรับผู้ที่ต้องควบคุมแร่ธาตุ (เช่น ผู้ป่วยโรคไต)

For state management, read and follow the protocol in skills/state-db/SKILL.md

State Schema (via state-db)

skill_name: food-tracker

key1 key2 key3 purpose data fields
entry date (YYYY-MM-DD) meal_period individual food log {food_name, meal_time, phosphorus_mg, potassium_mg, serving_size, source, notes}
  • key2 = date (2026-03-14) — enables daily/monthly queries via index
  • key3 = meal_period (เช้า / กลางวัน / เย็น / ก่อนนอน) — enables per-meal filtering via index

Each food item the user eats becomes one entry row. Reports are generated by querying entries and aggregating in-memory.

Related skills
Installs
3
Repository
witooh/skills
First Seen
Mar 14, 2026