Custom Claude Code plugins
npx claudepluginhub rewinfrey/claude-pluginsCaptures Claude Code session transcripts as structured Markdown logs alongside commits
A collection of custom plugins for Claude Code, Anthropic's official CLI for Claude.
Captures Claude Code session transcripts as structured Markdown logs that are automatically committed alongside code changes. Each log includes conversation history, token usage, tool calls, and associated file changes.
Session logs are stored in a .sessions/ directory at the root of your project (created automatically if it doesn't exist).
How it works:
SessionStart hook injects CLAUDE_SESSION_ID and CLAUDE_TRANSCRIPT_PATH environment variables into the session/scommit slash command generates a session log from the JSONL transcript, then guides you through committing it with your code changes.sessions/<timestamp>.md with YAML frontmatter containing metadata and token statisticsUsage:
/scommit
This will:
Session log contents:
This repo is a Claude Code plugin marketplace. Install plugins in two steps:
/plugin marketplace add rewinfrey/claude-plugins
/plugin install session-logs@rewinfrey-plugins
After installation, the /session-logs:scommit command is immediately available. Run /reload-plugins if commands don't appear right away.
tsx (for running the TypeScript log generator)jq (used by the session hook handler)MIT