Install
openclaw skills install session-reflectAnalyze Claude Code session history to generate self-observation journals, detect goal drift, and surface hidden behavioral patterns. Outputs to Obsidian Vault.
openclaw skills install session-reflectTurn your Claude Code conversation history into a mirror.
This skill extracts your messages from Claude Code sessions, syncs them into your Obsidian Vault, and generates self-observation journals that help you understand your own patterns, priorities, and blind spots.
| Command | Purpose | Data Range |
|---|---|---|
/reflect | Daily observation — what you're doing, how you're doing, emotional state | 1-3 days |
/reflect drift | Goal drift detection — stated goals vs actual behavior | 7 days |
/reflect emerge | Hidden pattern surfacing — unconscious preferences, avoidance patterns | 14 days |
Each command outputs a structured markdown file to your Obsidian Vault with observations and actionable suggestions.
Claude Code Sessions (.jsonl)
↓
extract_sessions.py (incremental sync, dedup, sanitize)
↓
Obsidian Vault / 对话记录 / (daily digests)
+
Your own notes in the Vault
↓
Agent analyzes both sources
↓
Obsidian Vault / 自我观察 / (reflection journals)
# Clone the repo
git clone https://github.com/yuiooo1102-droid/session-reflect.git ~/coding/session-reflect
# Or install as Claude Code command
mkdir -p ~/.claude/commands/reflect
cp commands/reflect/*.md ~/.claude/commands/reflect/
python3 ~/coding/session-reflect/extract_sessions.py init
# You will be prompted to enter your Obsidian Vault path
# By day
python3 ~/coding/session-reflect/extract_sessions.py backfill
# By week (recommended for long history)
python3 ~/coding/session-reflect/extract_sessions.py backfill --weekly
# Sync new sessions (run before each reflect)
python3 ~/coding/session-reflect/extract_sessions.py sync
# Or just use the slash commands — they auto-sync
/reflect
/reflect drift
/reflect emerge
~/.claude/projects/)[CODE_BLOCK] placeholdersYour_Vault/
├── 对话记录/ ← auto-synced session digests
│ ├── 2026-04-01.md
│ └── ...
├── 自我观察/ ← reflection outputs
│ ├── 2026-04-03-reflect.md
│ ├── 2026-04-03-drift.md
│ ├── 2026-04-03-emerge.md
│ └── 画像/
│ └── 2026-04-portrait.md (monthly)
└── your own notes... ← also analyzed