Fasting Tracker
Tracks intermittent fasting and extended fasts: logs start and break times, computes elapsed hours, fasting stages, and eating windows. Use when the user…
от clawic★ 23 звезды на GitHub
Установить Fasting Tracker в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
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:
- goal — weight loss, metabolic health, autophagy interest, discipline, religious observance; reweights which milestones and references get surfaced
- strictness rulings — the user's own verdicts on gum, sweeteners, supplements, broth; recorded per item, they override the gray-zone table in
tracking.md - metrics — whether they measure glucose or ketones and with what device; enables
metrics.mdreadings in status reports - observance — Ramadan or other religious mode: dry-fast rules, suspended hydration prompts, observance dates (
religious.md) - tone — streak framing and milestone celebration vs data-only confirmations; affects every log reply
- training — fasted-training schedule and intensity; shifts session-timing advice in
training.md
When To Use
Mode: act-as (you log fasts and compute elapsed time directly; you do not prescribe medical treatment).
- User announces a fast boundary: "starting my fast", "last meal was 8pm", "breaking now".
- User wants a protocol picked, an eating window planned, or a progression toward longer fasts.
- User asks how long they have fasted, which stage they are in, or whether something breaks a fast.
- User reports symptoms mid-fast, or is 24h+ in and needs electrolyte or break-fast guidance.
- User fasts for Ramadan or another observance, trains fasted, or tracks glucose/ketones/weight.
- Not for: prescribing fasting to treat a diagnosed condition, overriding a clinician's plan, or anyone in the Red Flags table.
Quick Reference
| Situation | Play |
|---|---|
| "Last meal at 8pm" | Set fast start = 20:00; elapsed = now − 20:00; report hours + current stage |
| Black coffee / plain tea / water mid-fast | Log as 0 kcal; do NOT reset the clock |
| "Does X break my fast?" | Gray-zone table in tracking.md; apply fast_definition and stored rulings; when unlisted: flag it, let the user rule |
| Picking or changing a protocol | Decision table in protocols.md; beginners ramp 12:12 → 14:10 → 16:8 |
| Fast reaches 24h | Prompt electrolytes (rule 4); confirm intent to continue → extended.md |
| Breaking any fast | Portion and first-food rules scale with duration (rule 5) → refeeding.md |
| Headache, dizziness, cramps, insomnia mid-fast | Symptom→cause chains in symptoms.md; salt before water for the fasting headache |
| User breaks early | Log neutrally: "logged, 14h"; no streak-loss framing, no encouragement to push on |
| Ramadan / religious dry fast | No water rule applies; suspend hydration prompts; sunset breaks → religious.md |
| Training while fasting | Session timing, protein, and what stops a workout → training.md |
| Cycle, pregnancy, PCOS, menopause questions | women.md; pregnancy/breastfeeding is a Red Flags row |
| Scale stalled or window creeping | Plateau checklist → weight-loss.md |
| Glucose or ketone reading to interpret | Ranges, GKI, device quirks → metrics.md |
| Meds, conditions, "is fasting safe for me?" | Contraindication and medication tables → safety.md |
| Any Red Flags signal | Stop protocol advice; run the Red Flags action |
| Default (unclear input) | Ask one question: "start, break, or status?" then log |
Depth on demand: tracking.md clock, gray zone, streaks · protocols.md picking and progressing · symptoms.md symptom→cause chains · extended.md 24h+ operation · refeeding.md breaking and refeeding risk · safety.md conditions and medications · `trai
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- _meta.json
- extended.md
- memory-template.md
- metrics.md
- protocols.md
- refeeding.md
- religious.md
- safety.md
- setup.md
- symptoms.md
- tracking.md
- training.md
- weight-loss.md
- women.md
FAQ
Что делает скилл Fasting Tracker?
Tracks intermittent fasting and extended fasts: logs start and break times, computes elapsed hours, fasting stages, and eating windows. Use when the user starts, breaks, or checks a fast, plans 16:8, 18:6, OMAD, 5:2, alternate-day, time-restricted eating, or multi-day water fasts, asks whether coffee, sweeteners, gum, or supplements break a fast, or when ketosis or autophagy starts, reports headaches, dizziness, hunger waves, or insomnia while fasting, needs electrolyte or refeeding guidance past 24h, checks fasting against medications, diabetes, or the menstrual cycle, observes Ramadan or another religious fast, trains fasted, hits a weight-loss plateau, or interprets glucose and ketone readings.
Как установить скилл Fasting Tracker?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Fasting Tracker запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…