food-tracker

Log meals, macros, weight, sleep, workouts, and waist measurements into a per-tenant SQLite database.

2|Updated Jun 26, 2026
One-click install
npx skills add https://github.com/otenycom/talents --skill food-tracker-otenycom
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: food-tracker
Source: https://github.com/otenycom/talents/tree/main/skills/oteny-flatbelly-talent/food-tracker
Command: npx skills add https://github.com/otenycom/talents --skill food-tracker-otenycom

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve? Tracking daily nutrition, weight, sleep, workouts, and waist measurements across scattered notes makes it impossible to see real fat-loss trends. This Skill gives a Telegram-based flat-belly coach a single structured SQLite log with strict rules so every number quoted to the user comes from an actual database query. ## Core Features & Use Cases - Meal and macro logging: Splits messages into food items, estimates calories, protein, carbs, fat, and leucine from default tables, and writes one INSERT per item into the meals table. - Weight trend analysis: Classifies morning versus evening weigh-ins and computes morning-only full-period and 7-day slopes with ETA-to-goal projections. - Daily metrics and reports: Records sleep scores, steps, active energy, workouts, and waist-to-height ratio, then generates today, week, and rolling 14-day compliance reports. - Use Case: A user messages "3 eggs and 100g tuna, weighed 103.7 this morning, slept 94". The Skill logs each item, upserts the morning weight, stores the sleep score, and replies with updated totals, protein remaining, and the weight trend. ## Quick Start Ask the coach to log what you ate today along with your morning weight and sleep score, and it will record everything and report your daily totals and trend.

Frequently Asked Questions about food-tracker

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I log meals and macros with this tracker?▼

Send a message listing foods and quantities, and the Skill splits it into items, estimates calories, protein, carbs, fat, and leucine from its macro defaults table, then writes one INSERT per item into the SQLite meals table and replies with updated daily totals.

How does the weight trend calculation work?▼

Weight trends use morning-only entries via the period column, filtering with COALESCE(period,'morning')='morning'. The Skill reports both full-period and last-7-day slopes in kg per week and compares them against a 0.5-1.0% of body weight per week band.

What data does the food tracker store in SQLite?▼

It uses five tables: meals (one row per food item), weight (one per day with morning/evening period), daily_metrics (sleep score, steps, active kcal), workouts (one row per session), and waist (circumference plus auto-computed waist-to-height ratio).

Can I correct or undo a wrong food entry?▼

Yes. Look up the row by date and food name, then UPDATE it by id, or DELETE the row to undo. The Skill always echoes back what was deleted so you can catch a wrong undo, and assumptions stored in the notes column make corrections straightforward.

Why does the tracker refuse to report a day total before evening?▼

A hard rule checks local time before framing totals: before roughly 18:00 the day is still in progress, so the Skill reports "so far today" with protein remaining rather than declaring a deficit or final day total that later meals would invalidate.

What happens if the tracker's database is unreadable?▼

The preflight check distinguishes a fresh tenant (NOT-READY, triggers guided setup) from an environment fault (UNKNOWN). On a fault it refuses to onboard or recreate the database, since that would overwrite real data, and instead reports the problem to the owner.