MartyBonacci

Export Session — Documentation skill for Claude Code

Documentation community

Export Claude Code session(s) to a shareable markdown report.

How to install Export Session

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.

What Export Session does


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

Alternatives in Documentation

Full documentation available on GitHub

View Source Repository