Files
claude-code/commands/export.md
OpenCode Test 2ff7f6b133 Add /export and /mcp-status commands
- /export command to export session data as Markdown or JSON
  - Export for sharing with other Claude instances
  - Include session details, topics, summary, and memory items
- /mcp-status command to check MCP integration health
  - Gmail venv and credentials status
  - Calendar API dependencies
  - Delegation helpers presence
  - MCP server configuration
- Updated shell completions with 15 aliases total
- Test suite now covers 23 tests

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-01 18:47:50 -08:00

1.0 KiB

name, description, aliases, invokes
name description aliases invokes
export Export session data for sharing or archiving
session-export
share
skill:session-export

Export Command

Export session data to Markdown or JSON for sharing.

Usage

/export                     # Export most recent session
/export <session_id>        # Export specific session
/export --list              # List sessions available to export
/export --format json       # Export as JSON
/export --output FILE       # Save to file

Implementation

Run the session export script:

python3 ~/.claude/automation/session-export.py [options] [session_id]

Output Includes

Section Description
Session Details ID, date, summarized status
Topics Topics discussed
Summary Session summary
Memory Items Preferences, decisions, projects, facts created

Use Cases

  • Share session context with another Claude instance
  • Archive important sessions
  • Create documentation from sessions
  • Review what was accomplished