From logbook
Archive the current session to Obsidian and end. Use when wrapping up a session.
npx claudepluginhub wobsoriano/logbook --plugin logbookThis skill is limited to using the following tools:
Archive this Claude Code session to the Obsidian vault, then terminate the session.
Guides Next.js Cache Components and Partial Prerendering (PPR) with cacheComponents enabled. Implements 'use cache', cacheLife(), cacheTag(), revalidateTag(), static/dynamic optimization, and cache debugging.
Migrates code, prompts, and API calls from Claude Sonnet 4.0/4.5 or Opus 4.1 to Opus 4.5, updating model strings on Anthropic, AWS, GCP, Azure platforms.
Automates semantic versioning and release workflow for Claude Code plugins: bumps versions in package.json, marketplace.json, plugin.json; verifies builds; creates git tags, GitHub releases, changelogs.
Archive this Claude Code session to the Obsidian vault, then terminate the session.
Run these to get context:
git branch --show-current 2>/dev/null || echo "no-branch"
basename "$PWD"
Review the full conversation history and extract:
/logbook:save was already invoked during this conversation — if so, reuse the exact same title it used (to overwrite the checkpoint rather than create a duplicate). Otherwise, derive a 2–4 word title, lowercase with hyphens (e.g. auth-refactor, todo-api-setup)./logbook:load was invoked during this conversation — if so, note the title of the note that was resumed.If the session involved architecture, a workflow, data flow, component relationships, or a multi-step process — include a mermaid diagram that captures it. Skip if the session was straightforward Q&A or simple edits.
Use mcp__obsidian__write_note to write the note at path <title>.md (root of vault, no subfolder). This overwrites any existing note at that path (e.g. from a previous /logbook:save checkpoint).
Note format:
---
session_id: ${CLAUDE_SESSION_ID}
branch: <branch or "no-branch">
project: <basename of working directory>
date: <today's date, YYYY-MM-DD>
continued-from: <title of resumed note> # omit this line if no /logbook:load was used
---
# <Title>
> Continued from [[<continued-from-title>]]
> *(omit this line if no /logbook:load was used)*
## Summary
<2–3 sentences>
## Key Decisions
- <decision + brief rationale>
## What Was Done
<detailed notes — include file paths, function names, commands where relevant>
## Open Questions / Follow-ups
- [ ] <item>
## Context for Next Session
<anything needed to resume quickly>
## Diagram
<mermaid block, or omit this section entirely if no diagram>
After the note is saved, output exactly:
Archived → <title>.md
Session: ${CLAUDE_SESSION_ID}
Branch: <branch>
Then immediately run this bash command to terminate the session:
kill -INT $PPID