sessionscribe ⟶ claude-code plugin
SessionScribe
liveA Claude Code plugin that logs every session and writes an AI summary at exit.
Tech stack: Claude Code, Hooks, Claude API, TypeScript
summary
SessionScribe hooks into the Claude Code agent lifecycle to capture what happened in a working session, then generates a concise markdown summary when the session ends.
The design bet is to ride the agent's real lifecycle through hooks rather than wrapping the CLI. Summarization runs on Claude Haiku, so it stays cheap and fast even for long sessions, and every log is written locally where you can keep and grep it.
It is published on the Claude Plugin Hub and submitted to Anthropic's official plugin directory.
features
Lifecycle hooks
Hooks UserPromptSubmit, PostToolUse, and Stop to capture the full arc of a session as it happens.
AI summaries at exit
Generates a markdown summary when the session ends, using Claude Haiku for cheap, fast output.
Local-first logs
Summaries are written to ~/.sessionscribe/logs/ — yours to keep, search, and revisit.
Hook-based architecture
Built on hooks rather than wrapping the CLI, so it follows the agent's real lifecycle instead of intercepting it.
Published
Live on the Claude Plugin Hub and submitted to Anthropic's official plugin directory.
architecture
A full plugin lifecycle — capture, structure, summarize, persist. Hooks emit session events; a Haiku call condenses them into a markdown summary at exit; the result is written to the local filesystem. Token budgeting keeps long sessions within limits.
changelog
- Feature: Initial release: a Claude Code plugin that hooks the session lifecycle (UserPromptSubmit, PostToolUse, Stop) to log sessions and write an AI summary at exit.
- Feature: Published to the Claude Plugin Hub with install instructions.