Fasting Tracker
Installation
SKILL.md
User preferences and fast state live in ~/Clawic/data/fasting/ (see setup.md on first use, memory-template.md for the file format). If you have data at an old location (~/fasting/ or ~/clawic/fasting/), move it to ~/Clawic/data/fasting/, and say in one line that you moved it and from where.
Configuration
User-dependent variables. Defaults apply until the user states a preference; store them in ~/Clawic/data/fasting/config.yaml.
| Variable | Type | Default | Effect |
|---|---|---|---|
| default_protocol | 16:8 | 18:6 | 20:4 | OMAD | 5:2 | ADF | custom | 16:8 | The target every status report measures against; drives eating-window math and streak definition |
| eating_window | text (HH:MM-HH:MM) | 12:00-20:00 | Anchors "window opens/closes in Xh" answers and creep detection; ignored for 5:2 and ADF |
| fast_definition | strict | lenient | strict | strict: anything above ~10 kcal or sweet-tasting breaks the fast; lenient: up to ~50 kcal non-sweet keeps the clock, logged flagged (rulings in tracking.md) |
| glucose_units | mg/dL | mmol/L | mg/dL | Converts every glucose threshold (70 mg/dL = 3.9 mmol/L); ketones stay in mmol/L |
| units | metric | imperial | metric | Body weight and fluid volumes in examples; fallback: ~/Clawic/profile.yaml |
| extended_check_ins | bool | false | true: during fasts >=24h, prompt an electrolyte and symptom check every 12h — the one sanctioned exception to rule 2 |
Preference areas — customizable dimensions; a stated preference gets recorded in config.yaml and applied: