← Back to Skills Marketplace
Session Reflect
by
yuiooo1102-droid
· GitHub ↗
· v0.2.1
· MIT-0
123
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install session-reflect
Description
Analyze Claude Code session history to generate self-observation journals, detect goal drift, and surface hidden behavioral patterns. Outputs to Obsidian Vault.
Usage Guidance
This skill appears to do what it says: locally extract Claude session content and analyze your Obsidian notes to produce reflection journals. Before installing/running: 1) Review extract_sessions.py yourself (it's included) to be comfortable that no unexpected network/upload calls are present; 2) Be aware the tool reads your entire Vault and recent Claude sessions — if you store secrets or sensitive data there, redact or move them first (the script attempts regex-based redaction, but that is not foolproof); 3) If you follow the optional 'git clone' install step, treat that repository like any third-party code (review it first); 4) Back up your Vault before initial backfill; 5) Consider when/if you allow the agent to invoke this skill autonomously, since autonomous use + access to your notes increases impact. If you want higher assurance, run the included script in an isolated environment or inspect/modify the sanitization rules to match your threat model.
Capability Analysis
Type: OpenClaw Skill
Name: session-reflect
Version: 0.2.1
The session-reflect skill is designed to analyze Claude Code session history and personal Obsidian notes to generate self-reflection journals. The included Python script (extract_sessions.py) performs local data extraction and includes robust sanitization logic to redact API keys, tokens, and passwords using regex patterns. The AI instructions in SKILL.md and reflect.md are transparent and strictly aligned with the stated purpose of behavioral analysis and local journaling, with no evidence of data exfiltration, network activity, or malicious intent.
Capability Assessment
Purpose & Capability
Name/description (session analysis → Obsidian) match the code and SKILL.md: the script discovers ~/.claude/projects/*.jsonl, extracts user messages, sanitizes them, and writes markdown into the user-specified Obsidian Vault. No unrelated credentials, binaries, or config paths are requested.
Instruction Scope
Instructions explicitly tell the agent to read both auto-synced '对话记录' and the user's Obsidian notes (recent files) to produce analyses. This is coherent with the stated purpose, but it means the skill will read arbitrary user notes (which may contain sensitive material). The script implements regex-based redaction and truncation, but regex redaction is not perfect — users should assume the tool can see any plaintext stored in the Vault and in Claude session files.
Install Mechanism
No install spec is embedded in the skill bundle; it's instruction-only and includes the python script. SKILL.md suggests a git clone from a GitHub repo if the user wants, which is normal but optional. The included code contains no network calls or download behavior. Note: running the optional git clone would fetch external code and should be treated like any third-party repository.
Credentials
The skill requires no environment variables, credentials, or privileged config paths. It reads files under the user's home directory (~/.claude/projects, the Obsidian Vault) and stores state under ~/.config/session-reflect, which are proportional to its function.
Persistence & Privilege
The skill is not marked always:true and doesn't request elevated system privileges. It writes its own config/state under ~/.config/session-reflect and creates folders inside the user-specified Vault — this is expected. Because model invocation is allowed (default), the agent can invoke the skill autonomously; combined with the skill's access to personal notes, that increases potential blast radius, but this is a normal platform behavior rather than a specific flaw in the skill.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install session-reflect - After installation, invoke the skill by name or use
/session-reflect - Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.2.1
No changes detected in this release. Version number updated only.Memory updates now require explicit user consent instead of auto-writing. Removed hardcoded personal paths from config examples.
v0.2.0
Initial release: /reflect, /reflect drift, /reflect emerge
Metadata
Frequently Asked Questions
What is Session Reflect?
Analyze Claude Code session history to generate self-observation journals, detect goal drift, and surface hidden behavioral patterns. Outputs to Obsidian Vault. It is an AI Agent Skill for Claude Code / OpenClaw, with 123 downloads so far.
How do I install Session Reflect?
Run "/install session-reflect" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Session Reflect free?
Yes, Session Reflect is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Session Reflect support?
Session Reflect is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Session Reflect?
It is built and maintained by yuiooo1102-droid (@yuiooo1102-droid); the current version is v0.2.1.
More Skills