/ai-brain-starter:ingest-healthfrom ai-brain-starter
Imports Apple Health / Apple Watch / HealthKit data into a local DuckDB store from export.zip, CSV folder, or TCP live feed. For first-time setup or re-importing fresh exports.
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.
Read when SKILL.md points to them.
Loads Apple Health data into health-mcp's local DuckDB store (health.duckdb, in health-mcp's own folder) so the rest of the substrate (daily-journal, coaching, advisory-panel, patterns, insights) can read biometrics through health-mcp tools.
This is one of the substrate's ingestion connectors (slack, gmail, linear, github, notion, whatsapp, health). Each owns a single source.
/ingest-health (with or without --mode xml|csv|tcp and a path)Do NOT use for:
health_query, health_metric_series, health_recovery_score, etc.)Apple Health data is among the most sensitive content the user owns. Read this before running:
export.zip contains every metric ever recorded on the device. Don't commit it to git, don't sync it through cloud storage you don't trust, and delete the staging copy after import if you don't need to re-import.If any of these is unclear, do not run the skill. Ask first.
Three modes. Pick by argument or ask the user.
export.ziphealth_import_xml(zip_path)skipped: true unless force=TrueHKQuantityTypeIdentifier*.csv files from the Simple Health Export iOS apphealth_import_csv(folder_path)health_live_query(metric, host, port, start, end) for the metric the user asks aboutThe skill is a thin orchestrator. Actual import runs in Python at ${SKILL_ROOT}/ingest.py. The skill assembles the health-mcp tool calls and hands the work to the script.
When invoked:
Parse arguments. Accept any of:
<path> (positional): infer mode from path (.zip or .xml -> A, directory -> B)--mode xml|csv|tcp--force (re-import even if SHA matches)--host HOST --port PORT --metric METRIC --start DATE --end DATE (TCP mode)Resolve mode + paths. If ambiguous, ask the user.
Call the appropriate health-mcp tool:
health_import_xml(zip_or_xml_path, force=...)health_import_csv(folder_path, force=...)health_live_query(metric, host=..., port=..., start=..., end=...)Surface the response: row counts, skipped/imported flag, top metric types.
After successful import (A or B), suggest a sanity check call:
health_status() for statshealth_recovery_score("<recent date>") for end-to-end smokeThe skill returns a brief summary. No file writes. Example:
Imported 482,193 records / 18 workouts / 1,247 sleep segments from
/Users/<you>/Downloads/export.zip in 6.4s.
Top types:
HKQuantityTypeIdentifierStepCount: 358,201 records (2018-09-01 to 2026-05-09)
HKQuantityTypeIdentifierHeartRate: 92,047 records (2019-12-15 to 2026-05-09)
HKQuantityTypeIdentifierHeartRateVariabilitySDNN: 4,182 records
...
Try: health_recovery_score("2026-05-09") for an end-to-end smoke check.
After ingestion, these skills can use the data:
health_journal_context(date) to prompt with last-night sleep + HRVhealth_floor_correlation(metric, days, vault_root) to surface biometric-vs-Floor patternshealth_coaching_context(start, end, vault_root) to surface recovery markershealth_panel_context(date, vault_root) to inform deferral suggestionshealth_weekly_rollup(week_start) for the weekly reviewThe wrapper skill health-context auto-fires these when the relevant trigger keywords appear.
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