AI Coach
The NordJari AI coach is powered by Claude (Anthropic). It delivers a weekly brief every Monday and supports an ongoing chat interface on the Coach page.
How it works
- Every Monday a cron job runs
generateWeeklyBrief() - The brief is generated using your season type, current week stats, streak, score, and habit completion data
- The brief is saved to
CoachMessageand displayed on the Coach page - You can reply in the chat — the full conversation history is sent to Claude on each turn
Season-aware voice
The coach adapts its tone to the current season type:
| Season | Tone | Style |
|---|---|---|
| Nord | Stoic Viking mentor | Direct, terse, no fluff. Metaphors of cold, iron, stone, endurance |
| Jari | Zen master | Calm, poetic, observational. Metaphors of water, blossom, roots, patience |
The same data — streak, score, habits — is presented completely differently depending on whether you are in a Nord or Jari season.
What the weekly brief covers
- Your streak (days, trajectory)
- Your current season score
- Habits completed this week vs target
- One focused observation or challenge for the week ahead
- Tone-matched to Nord or Jari voice
Data used
The coach has access to:
- Your current season type and week number
- Your streak days (current and longest)
- Your season score percentage
- Your habit log for the current week (done/skip/miss counts)
- Your daily prompt responses (gratitude, creativity, reflection)
- Previous coach messages (conversation history)
The coach does not have access to other users' data.
Privacy
Coach messages are stored per user in CoachMessage. They are never shared or used to train models. The Anthropic API key is server-only and never exposed to the client.