/ai-brain-starter:health-doctorfrom ai-brain-starter
Verifies health data pipeline integrity across Oura, Fitbit, Apple Health, and lab sources. Reports data freshness, prescription completion rates, and auto-trigger hook wiring.
Ships in ai-brain-starter. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
The substrate has 41 tools + 5 skills + 2 auto-trigger hooks. None of it matters if the chain breaks silently. This skill is the surface for verifying the system is actually running.
Run /health doctor whenever:
Six sections, each with a green / yellow / red flag:
For each enabled source:
health_import_xml (yellow if > 14 days, red if > 28 days)health_import_oura (yellow if > 36h, red if > 7d)health_import_fitbit (yellow if > 36h, red if > 7d)health_import_labs (yellow if any marker is > 180 days old or any out-of-range marker is > 90d without a re-test)Pulled from the imports table via health_status().
health_coach_recent_prescriptions(days=7)/coach log)Yellow if completion rate < 60%. Red if completion rate < 40% or no prescriptions in 7 days.
The default wired set is defined by hooks.json at the repo root (the file the installer actually writes into ~/.claude/settings.json, tested by services/health-mcp/tests/test_v05_hooks.py) — read it rather than assuming a fixed list, so this check can't drift from what installs. See docs/AUTOMATION.md for the full chain.
By default that's one hook:
coach-auto-prescribe-on-journal.py on Stop (prescribes + backfills after /journal)health-auto-sync.py (SessionStart wearable refresh) is opt-in, power-user only, and deliberately NOT wired by default — firing it on every SessionStart is wasteful for users with many sessions/day. Its absence from settings.json is expected, not a fault.
Red if the Stop hook (coach-auto-prescribe-on-journal.py) is not in settings.json. Yellow if the hook script file exists but isn't registered. Green if registered AND firing recently (check ~/.claude/hookify-blocks.log for the hook name in the last 48h). If health-auto-sync.py IS registered (the user opted in), report its freshness the same way, but never red for its absence.
Reads <VAULT_ROOT>/Meta/coach-profile.yaml:
calendar_drop: true AND google-workspace MCP connected? (calendar drop won't fire otherwise)preferred_workout_clock set?days_per_week reasonable for level?started_iso set? (used by deload-week computation)Yellow if any field missing. Red if no profile at all.
Run health_lab_panel(today, lookback_days=180) and surface ANY marker with status: low or status: high:
health_recommended_labs())Yellow if any marker is out-of-range and last tested > 90 days ago. Red if any out-of-range marker is critical (low ferritin in menstruating users, elevated hs-CRP > 3.0, fasting insulin > 10, Vitamin D < 20).
If menstrual flow records exist:
health_cycle_context(today)Plus health_sleep_regularity(last_14_days):
A markdown report with the six sections, each summarized to 3-5 lines with the flag, the data, and a one-line "what to do" if yellow or red.
Example:
# Health doctor — 2026-05-10
## 🟢 Data freshness
- Apple Health: 12 days ago (yellow threshold: 14d) — re-export soon
- Oura: 4 hours ago — fresh
- Fitbit: not configured
- Labs: ApoB tested 2026-05-01 (9 days), Vitamin D last 2026-05-01 (9 days)
## 🟡 Last prescription + completion
- Last prescription: 2026-05-09 lower_body_strength (diff 7/10)
- Completed: no
- 7-day streak: 0 (missed yesterday's log)
- Action: /coach log yesterday's session to keep the progression chain accurate
<!-- vault-only -->
## 🟢 Auto-trigger hooks
- SessionStart: health-auto-sync.py ✓ registered, last fired 4h ago
- Stop: coach-auto-prescribe-on-journal.py ✓ registered, last fired 14h ago
<!-- /vault-only -->
## 🟢 Coach profile
- /vault/Meta/coach-profile.yaml updated 2026-05-09
- calendar_drop: true (google-workspace MCP connected ✓)
- preferred_workout_clock: 07:00
- days_per_week: 4, level: intermediate, started_iso: 2026-05-09
## 🔴 Lab status flags
- Vitamin D 25-OH: 26 ng/mL (low, ref 30-100). Last tested 9 days ago.
- Why: drives mood, immunity, recovery. Linked to chronic fatigue.
- Suggested: 5000 IU/day; re-test in 90 days (target 2026-08-09)
## 🟡 Cycle + sleep regularity
- Cycle: luteal, day 22 (regular over last 6 cycles)
- Sleep regularity: 64/100 (yellow). Bed-time stdev 78min over last 14 days.
- Action: pick a wake time within a 30-min window for the next 14 days.
health_status() — top-level table counts + imports tablehealth_coach_recent_prescriptions(days=7) — prescriptions + completion statushealth_coach_summary(days=28) — completion ratehealth_lab_panel(today, lookback_days=180) — most recent labs per markerhealth_recommended_labs() — the WHY for any flagged markerhealth_cycle_context(today) — current phase + irregularityhealth_sleep_regularity(today-14, today) — bed/wake variancePlus:
~/.claude/settings.json to verify hooks are registered~/.claude/hookify-blocks.log to verify hooks have fired recently<VAULT_ROOT>/Meta/coach-profile.yaml to verify profile stateThe hook system can surface specific flags WITHOUT the user running /health doctor explicitly:
These are hookify nudges, configured separately. The skill is the comprehensive surface; the nudges are the targeted catches.
The doctor never blocks. It always returns a report, even if it's "this is what's missing to get started."
Direct. Color-coded flags (🟢 / 🟡 / 🔴) for fast scan. Each yellow / red has a specific "what to do" line, not a vague "consider reviewing." Reader should know exactly what to fix in 30 seconds of reading.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub mycelium-hq/ai-brain-starter --plugin ai-brain-starter37 skills in this plugin
/backfill-journal-body-contextUse when the user says /backfill-journal-body-context, wants existing daily journal entries enriched with body data retroactively (HRV, sleep, recovery, cycle phase, labs), says 'backfill my journals with health', wants Apple Health / Oura / Fitbit / Whoop history paired with past journals, or just ran /health-setup with a historical import. Not for brand-new entries (daily-journal covers those) or for editing journal text./cierre-de-llamadaUse when a SALES or CLIENT call just ended and the follow-up needs to be produced from its transcript. Triggers: /cierre, "close out this call", "acabo de tener una llamada", "arma el seguimiento", "what's the follow-up on this call", "qué sigue con este cliente", or the user pastes a sales-call transcript. Produces seven blocks: CRM summary, deal state, tasks, follow-up email draft, reminder, note to the sales lead, and what worked / what did not. NOT for internal team meetings (use meeting-todos) and NOT for personal notes (use note-todos)./coachUse when the user says /coach (today, week, month, profile, log), asks what to do today for training, asks for a workout, weekly training plan, or longevity plan, wants to log a finished workout or check lift progression (PR, plateau, deload), or a scheduled morning task fires to drop today's workout into the calendar. NOT for importing health data (use ingest-health/health-setup), raw biometric queries without a prescription, or emotional/life coaching (use coaching)./coachingUse when the user wants to process a hard conversation, a decision they're second-guessing, or accumulated friction with a person (too big for a daily journal), wants panel takes that update with their corrections, or wants growth on a theme tracked over weeks. Triggers: /coaching, "coach me through this", "help me process this". NOT fitness coaching (/coach), daily entries (/journal), weekly/monthly reviews (/weekly, /monthly), or cross-session pattern detection (/patterns)./daily-journalUse when the user wants to journal, do a daily or end-of-day check-in, reflect on or vent about their day, brain-dump feelings, log what happened today, or says /journal. Also fires for quick one-line captures and a second session the same day (resumes that day's entry). Not for meeting notes (use meeting-todos), morning priorities (use rise), weekly/monthly reviews (use insights), or cross-entry pattern analysis (use patterns)./deconstructUse before fixing anything: a bug, an error, a failing check, a regression, "it's broken", "it doesn't work", "fix this", or a problem that came back after an earlier fix. Run problem mode on the PROBLEM before any code. Also use when a decision or strategy rests on unexamined convention ("that's how it's done", "best practice", "everyone does it this way", copying a competitor), on a pricing model, business model, roadmap, hiring process or career path the user can't justify from scratch, on any high-stakes decision before commit, or when the user types /deconstruct or asks to question assumptions or reason from first principles.Other plugins' skills for the same job