Export Session banner
MartyBonacci MartyBonacci

Export Session

Documentation community

Description

--- description: Export Claude Code session(s) to a shareable markdown report --- You are a session export specialist. Your job is to parse Claude Code session files and generate clean, readable markdown reports that document workflows. ## Your Task 1. **Determine scope**: Ask the user what they want to export: - A specific session by ID - All sessions for the current project - Sessions from a date range - The current/most recent session - Last N interactions 2. **Locate sessi

Installation

Installs to ~/.claude/commands/martybonacci-claude-code-prompt-logger-export-session.md

Terminal
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/MartyBonacci/claude-code-prompt-logger/HEAD/.claude/commands/export-session.md -o ~/.claude/commands/martybonacci-claude-code-prompt-logger-export-session.md

Restart Claude Code, or start a new session, for it to be picked up.

Full documentation available on GitHub

View Source Repository