session-reflect

Analyze Claude Code session history to generate self-observation journals, detect goal drift, and surface hidden behavioral patterns. Outputs to Obsidian Vault.

Safety Notice

This listing is from the official public ClawHub registry. Review SKILL.md and referenced scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "session-reflect" with this command: npx skills add yuiooo1102-droid/session-reflect

Session Reflect

Turn 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.

What It Does

CommandPurposeData Range
/reflectDaily observation — what you're doing, how you're doing, emotional state1-3 days
/reflect driftGoal drift detection — stated goals vs actual behavior7 days
/reflect emergeHidden pattern surfacing — unconscious preferences, avoidance patterns14 days

Each command outputs a structured markdown file to your Obsidian Vault with observations and actionable suggestions.

How It Works

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)

Setup

1. Install

# 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/

2. Initialize

python3 ~/coding/session-reflect/extract_sessions.py init
# You will be prompted to enter your Obsidian Vault path

3. Backfill History (Optional)

# 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

4. Use

# 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

Requirements

  • Python 3.10+
  • Claude Code (sessions stored in ~/.claude/projects/)
  • An Obsidian Vault (any location)

Privacy

  • All processing is local — no data leaves your machine
  • API keys, tokens, JWTs, passwords are automatically redacted
  • System prompts and boilerplate are filtered out
  • Code blocks are replaced with [CODE_BLOCK] placeholders
  • Messages are truncated at 2000 characters

Vault Structure

Your_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

Inspired By

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

Obsidian Headless

在无显示器/无 GUI 环境下通过自然语言指令管理 Obsidian 笔记仓库。支持创建笔记、删除笔记(带确认)、搜索标题、搜索内容、模糊搜索、创建日记等功能。当用户需要在无头服务器、SSH 环境、或没有安装 Obsidian 桌面应用的情况下管理 Obsidian 笔记时使用此技能。触发词包括"obsidian...

Registry SourceRecently Updated
2940Profile unavailable
Coding

Podwise

Podcast knowledge workflows powered by Podwise CLI: search podcasts and episodes by keyword, monitor followed shows for new releases, find popular episodes,...

Registry SourceRecently Updated
2400Profile unavailable
Coding

Agent Memory System Guide

Use when setting up or improving an agent memory workflow for OpenClaw, Codex, or Obsidian with MEMORY.md, daily notes, session recovery, and optional OpenVi...

Registry SourceRecently Updated
3330Profile unavailable
Coding

知识网格 / Knowledge Mesh

知识网格 — 跨平台知识搜索聚合器,统一搜索 GitHub、Stack Overflow、Discord、Confluence、Notion、Slack、百度、Obsidian,支持自学习排序

Registry SourceRecently Updated
1540Profile unavailable