By rewinfrey
Captures 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
Runs pre-commands
Contains inline bash commands via ! syntax
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
npx claudepluginhub rewinfrey/claude-plugins --plugin session-logsAuto-captures Claude Code sessions as narrative worklogs and detects user steering patterns
Session transcript timeline viewer for Claude Code and Codex agent sessions
Session analytics hook for Claude Code — 15 configurable sections (models, cost, cache, tools, files, git diff, RTK savings...)
Capture AI coding sessions to understand intent
Generate an explorable HTML report of Claude Code session usage — tokens, cache efficiency, subagents, skills, and the most expensive prompts — from local ~/.claude/projects transcripts.
Multi-model consensus engine integrating OpenAI Codex CLI, Gemini CLI, and Claude CLI for collaborative code review and problem-solving.