backfill-journal-body-contextlisted
Install: claude install-skill adelaidasofia/ai-brain-starter
# backfill-journal-body-context
Reads existing daily journals, pulls health-mcp data for each entry's date, and appends a "Body track" section BELOW the original verbatim content. The original entry text is NEVER modified — the rule from `feedback_journal_verbatim_words.md` is non-negotiable.
## When to use
- User says `/backfill-journal-body-context`
- User wants their existing journals enriched with body data (HRV, sleep, recovery, cycle phase) retroactively
- User wants to see what `/weekly` and `/monthly` would surface if they had been pulling body data all along
- After running `/health-setup` for the first time and importing a backfill window of biometric data
Do NOT use for:
- Brand-new journal entries (daily-journal already pulls body context via health-context skill)
- Editing journal content beyond appending the body section
- Anything that touches the original verbatim journal body
## How it works
1. Determine the date range. Default: `--year <current-year>` (Jan 1 to today).
2. Find journal entries in that range using `[VAULT_PATH]/Meta/journal-index.json` (rebuild if stale).
3. For each entry:
- Read the file
- Check if it already has a `## Body track (health-mcp, backfilled YYYY-MM-DD)` section — if yes, skip (idempotent)
- Call `health_journal_context(date, voice_profile="warm")` for the data + rendered prose
- Call `health_cycle_context(date)` if cycle data exists (for women's cycle awareness)
- Call `health_recovery_score(date)` + `health