From ai-brain-starter
Imports Apple Health export data into local DuckDB for biometric analysis via health-mcp tools. Supports XML, CSV, and TCP-live modes.
How this skill is triggered — by the user, by Claude, or both
Slash command
/ai-brain-starter:ingest-healthThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Loads Apple Health data into `~/.claude/health-mcp/health.duckdb` so the rest of the substrate (daily-journal, coaching, advisory-panel, patterns, insights) can read biometrics through health-mcp tools.
Loads Apple Health data into ~/.claude/health-mcp/health.duckdb 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:
~/.claude/health-mcp/health.duckdb. Treat it as a medical record.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.
npx claudepluginhub mycelium-hq/ai-brain-starter --plugin ai-brain-starterImports and standardizes health data from Apple Health, Fitbit, Oura Ring, CSV/JSON; integrates WellAlly.tech knowledge base for data management and personalized article recommendations.
Fetches biometric context (HRV, sleep, recovery) from health-mcp DuckDB and injects it into journal, coaching, panel, patterns, and insights skill prompts. Skips silently when no data is available.
Reads, writes, and queries Apple Health data via HealthKit. Covers authorization, sample/statistics queries, saving data, background delivery, and workout sessions.