一键导入
summarize-session
Use at the end of a Claude Code session to create a comprehensive summary note in Obsidian and add a brief reference to the daily note
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use at the end of a Claude Code session to create a comprehensive summary note in Obsidian and add a brief reference to the daily note
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when working with Obsidian vaults, creating/searching/moving notes, or automating note management with the official obsidian CLI, especially with multiline or shell-unsafe content
Generate architecture diagrams as .excalidraw files from codebase analysis. Use when the user asks to create architecture diagrams, system diagrams, visualize codebase structure, or generate excalidraw files.
Use when you have a written implementation plan to execute in a separate session with review checkpoints
You MUST use this before any creative work - creating features, building components, adding functionality, or modifying behavior. Explores user intent, requirements and design before implementation.
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
Use when executing implementation plans with independent tasks in the current session
| name | summarize-session |
| description | Use at the end of a Claude Code session to create a comprehensive summary note in Obsidian and add a brief reference to the daily note |
| disable-model-invocation | true |
Create a comprehensive summary of the Claude Code session and store it in Obsidian, using the Obsidian skill.
digraph summarize_session {
rankdir=TB;
node [shape=box];
review [label="1. Review session\nconversation & changes"];
full [label="2. Create full summary\nin 08 AI Docs"];
daily [label="3. Add brief summary\nto daily note"];
review -> full -> daily;
}
Analyze the conversation to identify:
Create a detailed summary note in 08 AI Docs:
# Generate a descriptive filename based on the session topic
# Format: YYYY-MM-DD-topic-slug.md
NOTE_PATH="08 AI Docs/$(date +%Y-%m-%d)-session-topic.md"
obsidian create path="$NOTE_PATH" content="..."
# Session Summary: [Brief Title]
**Date:** YYYY-MM-DD
**Duration:** Approximate session length
**Repository:** [repo name if applicable]
## Objective
[What the user was trying to accomplish]
## Key Accomplishments
- [ ] Accomplishment 1
- [ ] Accomplishment 2
## Technical Decisions
| Decision | Rationale |
|----------|-----------|
| Choice made | Why it was made |
## Journey & Iterations
Document the path taken to reach the solution, including dead ends:
### Approaches Tried
| Approach | Outcome | Learning |
|----------|---------|----------|
| First attempt | Why it didn't work | What we learned |
| Second attempt | Partial success | What improved |
| Final approach | Success | Why this worked |
### Key Pivots
- **Pivot 1:** Started with X, switched to Y because [reason]
- **Pivot 2:** Abandoned approach Z when [discovery]
### Dead Ends Worth Remembering
- Attempted [approach] but failed because [reason] - avoid in future
- [Tool/library] looked promising but [limitation discovered]
## Files Changed
- `path/to/file.ts` - Description of changes
- `path/to/another.ts` - Description of changes
## Code Snippets
[Include any particularly important code that was written]
## Problems Encountered
- Problem 1 and how it was resolved
- Problem 2 and current status
## Open Items / Follow-up
- [ ] Item for future work
- [ ] Question to investigate
## Related Resources
- Links to relevant docs, PRs, issues
Add a brief summary to the daily note with a link to the full summary:
# Open/create today's daily note and append
obsidian daily
## Claude Code Session
**[[08 AI Docs/YYYY-MM-DD-session-topic|Session: Brief Title]]**
[1-2 sentence summary of what was accomplished]
Key outcomes:
- Outcome 1
- Outcome 2
| Element | Location | Purpose |
|---|---|---|
| Full summary | 08 AI Docs/ | Complete documentation |
| Daily reference | Daily note | Quick access & timeline |
| Wikilink | Daily note | Navigation to full summary |
| Mistake | Fix |
|---|---|
| Too verbose | Focus on decisions and outcomes, not play-by-play |
| Missing context | Include repo name, branch, relevant links |
| No follow-up items | Always capture next steps |
| Broken wikilinks | Verify note path matches exactly |
| Only documenting success | Capture failed attempts and why they failed |
| Vague learnings | Be specific: "X doesn't work because Y" not "tried X" |
Works well with:
obsidian CLI for note creation