/hermitd-fitness:domain-brainstormfrom hermitd-fitness
Brainstorms training gaps and imbalances by analyzing Strava history and stated goals. Surfaces at most 2 concrete ideas gated by proposal-triage. Invoke with phrases like 'what am I neglecting?' or 'brainstorm training gaps'.
Ships in hermitd-fitness. 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.
After ≥8 invocations, check the capability-brainstorm segment of core's proposal metrics: run .hermit/bin/hermitd-run proposal metrics .hermit --source=capability-brainstorm (the project-resident bin/hermitd-run resolves core's plugin root, which a path relative to this plugin can't reach). When its status is kill, treat it as a class-level signal that brainstorm output is noisy and raise it with the operator, naming the kill_reasons with their triage_survival_pct and acceptance_pct. The segment is shared with core's capability-brainstorm and the other domain brainstorm skills, so it cannot by itself say which skill to cut.
Start with the connection check; then read the remaining sources in parallel. Do not run tests or install tools.
Connection check
Call mcp__strava__check-strava-connection. If disconnected, stop immediately:
Domain brainstorm aborted — Strava disconnected. Reconnect and retry.
Stated goals
Read MEMORY.md (the index). For each entry whose title or description suggests goals, training preferences, or athlete profile, read that topic file. Extract stated goals and named disciplines (e.g. "marathon training", "strength 2×/week", "sleep 8h target"). If no goals are parseable from MEMORY.md, derive implicit goals from the Strava activity mix gathered below — note in every grounding citation that the goal is inferred, not stated.
What's been logged
Delegate bulk aggregation to @hermitd-fitness:strava-data-cruncher:
Last 8 weeks of activities. Return: per-week count + total minutes by sport/activity type. Flag any sport with zero sessions in the last 4 weeks.
This keeps heavy multi-page fetching off the main context and respects rate limits.
Logged subjective and coverage signals
Glob .hermit/compiled/activity-*.md and any .hermit/compiled/weekly-*.md files modified within the last 30 days — read the first 15 lines of each (frontmatter + opening paragraph). Read state/activity-notes.json to check which signal dimensions (RPE, sleep, macros) actually have entries vs gaps.
Think across all inputs simultaneously. For each candidate, both constraints must pass before including it:
memory:athlete-profile, strava:8wk strength=0sessions, notes:sleep last=21d ago, compiled:activity-2026-05-12). These support the gap; the gap is the bar.Map each passing idea to the closest fitness prefix:
[goal-gap] — a stated or inferred goal with no recent supporting data. Covers: a discipline not logged in N weeks, sleep or macro dimensions the operator tracks but hasn't entered recently, a race/event goal with no recent specificity work.[imbalance] — training mix wrong vs stated or inferred goals. Covers: cardio/strength ratio skew, the same workout type repeated across multiple weeks with no progression toward a stated goal.Scoping guard: never emit ideas about cardiac-drift trends, HR/pace efficiency slope, recovery-score trends, or week-over-week load changes — those signals are owned by weekly-coaching-patterns and activity-deep-dive. This skill emits coverage and imbalance gaps only.
Cap at 2 ideas. Emit-zero if none pass. Record discarded candidates (one line each) for Gate 4.
For each idea, invoke /hermitd:proposal-create once:
Title: [<prefix>] <short idea title>
Evidence Source: capability-brainstorm
Evidence: <one paragraph: gap sentence + named grounding items>
Evidence Source: capability-brainstorm is intentional, not a copy-paste: it is the recurrence-bypass token recognized by proposal-create's three-condition rule (a brainstorm pass establishes the candidate, so condition 1 is waived). There is no separate domain-brainstorm token. Provenance is carried by the tags below, which proposal-create writes onto both the triage-verdict row and the proposal task metadata. The cost: these proposals share core capability-brainstorm's kill-criteria segment, so the numbers are combined rather than per-skill.
Set task metadata: source: auto-detected, category: improvement, tags: [capability-brainstorm].
Parse the outcome /hermitd:proposal-create returns:
CREATE: <title> — <task-id> (<handle>): proposal task opened; record its T- id.SUPPRESS: <title> — <code>: <reason>: record the suppression code. Don't retry.DUPLICATE: <title> — <task-id>: <reason>: record the existing task id. Don't create.Do NOT invoke proposal-triage directly — /hermitd:proposal-create handles it.
Send one message per the Operator Notification protocol.
Zero-emit:
🏋️ Domain brainstorm — 0 ideas emitted (<reason: thin context | all suppressed | all duplicates>)
Non-zero:
🏋️ Domain brainstorm (<N> idea(s))
1. **[prefix] <title>** — <one-line description>
_Grounding: <item 1>, <item 2>_
_Gap: <one-sentence friction>_
T-YYYYMMDD-HHMMSS created · (or: suppressed — <code> · or: duplicate of T-YYYYMMDD-HHMMSS)
If ≥1 proposal task was created (not suppressed or duplicate), write:
.hermit/compiled/domain-brainstorm-YYYY-MM-DD-HHMM.md
---
title: Domain brainstorm — <ISO timestamp>
type: domain-brainstorm
created: <ISO timestamp with timezone>
tags: [domain-brainstorm, ideation]
source: interactive
proposals_created: [T-YYYYMMDD-HHMMSS, ...]
---
Body (150-line cap): ideas that passed (one paragraph each), discarded candidates (one line each), triage verdicts, inputs scanned (paths only, no content).
Do not tag foundational — this is a time-bounded ideation snapshot.
Zero-emit runs: skip the artifact entirely. Inside an open record's turn, pipe one line into .hermit/bin/hermitd-run task note .hermit <id>; otherwise skip the note:
domain-brainstorm: 0 ideas emitted (<reason>)
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub gtapps/hermitd --plugin hermitd-fitness9 skills in this plugin
/activity-deep-divePer-activity coaching analysis from Strava. Detects interval vs steady-state sessions and road vs trail terrain, branching the metrics accordingly. Computes zone breakdown and recovery estimate; saves a compiled artifact and returns a compact summary. Run after a workout or to retro-analyze a specific activity./capture-activity-rpeCaptures RPE (1-10) and subjective notes when the operator replies to a daily fitness-brief notification on any configured channel. Triggers on inbound channel messages matching RPE grammar while state/strava-pending-rpe.json has a sync from the last 24h. Channel-agnostic./fitness-briefOther plugins' skills for the same job