Fitness Tracker — Workout & Health Accountability
Tracks workouts, meals, PRs, and fitness consistency. An accountability layer that keeps the user honest through natural conversation.
Data File: data/fitness.json
{
"profile": { "goal": "", "weight_log": [], "start_date": null },
"workouts": [],
"meals": [],
"prs": {},
"weekly_summary": [],
"current_week": { "workout_count": 0, "target": 0, "workouts": [] }
}
Workout Entry Format
{
"date": "2026-02-07",
"type": "strength",
"muscle_groups": ["chest", "triceps"],
"exercises": [
{ "name": "Bench Press", "sets": [{"weight": 185, "reps": 5}] }
],
"duration_min": 60,
"notes": ""
}
Meal Entry Format
{
"date": "2026-02-07",
"meal": "lunch",
"description": "Chicken bowl with rice",
"estimated_calories": 650,
"estimated_protein_g": 45,
"time": "12:30"
}
Parsing Natural Language
Workouts
- "bench 185x5 185x4" → Bench Press, 2 sets: 185×5, 185×4
- "tricep pushdowns 50x12 x3" → 3 sets of 50×12
- "went for a 5k run, 28 minutes" → cardio, running, 5km, 28min
- "did legs" (no details) → log muscle group, note "details not provided", still counts
Meals
- "had chipotle for lunch" → estimate ~650 cal, ~40g protein
- "protein shake after gym" → estimate ~200 cal, ~30g protein
- "skipped breakfast" → note it; if 3+ day pattern, gently mention
PR Detection
After parsing workouts, check each exercise against stored PRs:
- Epley 1RM = weight × (1 + reps/30)
- If new 1RM exceeds stored PR: update and celebrate
- Only celebrate PRs, not every workout
Instructions
- Always read
data/fitness.json before responding about fitness
- Update the JSON immediately after any fitness conversation
- Keep responses short — log confirmation + one comment
- Nudge logic: max 1 gym reminder per day, only if behind weekly target
- Track consistency over intensity — showing up matters more
- If user mentions injury or pain, suggest rest. Never push through pain
- Weekly report: show trends (improving? plateauing? declining?) with data
1---
2name: lofy-fitness
3description: Fitness accountability for the Lofy AI assistant — workout logging from natural language, meal tracking with calorie/protein estimates, PR detection with Epley formula, gym reminders based on weekly targets, and progress reports. Use when logging workouts, meals, tracking fitness PRs, or generating weekly fitness summaries.
4metadata:
5 source: https://skillmd.com/skills/modbender/lofy-fitness
6---
7
8# Fitness Tracker — Workout & Health Accountability
9
10Tracks workouts, meals, PRs, and fitness consistency. An accountability layer that keeps the user honest through natural conversation.
11
12## Data File: `data/fitness.json`
13
14```json
15{
16 "profile": { "goal": "", "weight_log": [], "start_date": null },
17 "workouts": [],
18 "meals": [],
19 "prs": {},
20 "weekly_summary": [],
21 "current_week": { "workout_count": 0, "target": 0, "workouts": [] }
22}
23```
24
25### Workout Entry Format
26```json
27{
28 "date": "2026-02-07",
29 "type": "strength",
30 "muscle_groups": ["chest", "triceps"],
31 "exercises": [
32 { "name": "Bench Press", "sets": [{"weight": 185, "reps": 5}] }
33 ],
34 "duration_min": 60,
35 "notes": ""
36}
37```
38
39### Meal Entry Format
40```json
41{
42 "date": "2026-02-07",
43 "meal": "lunch",
44 "description": "Chicken bowl with rice",
45 "estimated_calories": 650,
46 "estimated_protein_g": 45,
47 "time": "12:30"
48}
49```
50
51## Parsing Natural Language
52
53### Workouts
54- "bench 185x5 185x4" → Bench Press, 2 sets: 185×5, 185×4
55- "tricep pushdowns 50x12 x3" → 3 sets of 50×12
56- "went for a 5k run, 28 minutes" → cardio, running, 5km, 28min
57- "did legs" (no details) → log muscle group, note "details not provided", still counts
58
59### Meals
60- "had chipotle for lunch" → estimate ~650 cal, ~40g protein
61- "protein shake after gym" → estimate ~200 cal, ~30g protein
62- "skipped breakfast" → note it; if 3+ day pattern, gently mention
63
64### PR Detection
65After parsing workouts, check each exercise against stored PRs:
66- Epley 1RM = weight × (1 + reps/30)
67- If new 1RM exceeds stored PR: update and celebrate
68- Only celebrate PRs, not every workout
69
70## Instructions
71
721. Always read `data/fitness.json` before responding about fitness
732. Update the JSON immediately after any fitness conversation
743. Keep responses short — log confirmation + one comment
754. Nudge logic: max 1 gym reminder per day, only if behind weekly target
765. Track consistency over intensity — showing up matters more
776. If user mentions injury or pain, suggest rest. Never push through pain
787. Weekly report: show trends (improving? plateauing? declining?) with data