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>
This commit is contained in:
OpenCode Test
2026-01-01 18:47:50 -08:00
parent c1a3c1812c
commit 2ff7f6b133
9 changed files with 559 additions and 4 deletions

44
commands/export.md Normal file
View File

@@ -0,0 +1,44 @@
---
name: export
description: Export session data for sharing or archiving
aliases: [session-export, share]
invokes: 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:
```bash
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