Habits Adapter
The Habits adapter helps users build and maintain habits with streak tracking and recovery support.Installation
Identity Types
| Type | Description | Coaching Style |
|---|---|---|
all_or_nothing | Struggles with imperfection | Emphasize progress over perfection |
slow_builder | Gradual, steady progress | Patience, small wins |
accountability_seeker | Needs external motivation | Check-ins, reminders |
self_motivated | Internal drive | Minimize interruptions |
Journey Stages
| Stage | Tone | Focus |
|---|---|---|
starting | Encouraging | Set expectations, first wins |
struggling | Supportive | Identify blockers, reduce friction |
building | Celebratory | Reinforce progress, momentum |
consistent | Minimal | Stay out of the way |
recovering | Compassionate | No judgment, restart gently |
Pattern Detection
The Habits adapter tracks:- Streak length — Current consecutive days
- Best streak — Longest streak achieved
- Common blockers — What causes missed days
- Time patterns — When they usually complete
- Recovery rate — How quickly they restart after breaks
Nudge Templates
| Nudge | Priority | Trigger |
|---|---|---|
streak_risk | 7 | Approaching usual completion time |
streak_celebration | 5 | Milestone reached (7, 30, 100 days) |
recovery_support | 8 | Missed 2+ days |
pattern_insight | 4 | Noticed success/failure pattern |
Example Usage
Multi-Habit Support
Track multiple habits per user:Context Data
The adapter stores inproject_mind.context_data:

