/export command reports success but writes empty content
Resolved 💬 2 comments Opened Apr 16, 2026 by stigi Closed Apr 16, 2026
Description
The /export command reports success but doesn't actually write any content — both clipboard and file exports are empty.
Steps to reproduce
- Have an active conversation with some history
- Run
/export(clipboard mode) — reports "Conversation copied to clipboard", butpbpastereturns empty - Run
/export somefile(file mode) — reports "Conversation exported to: .../somefile.txt", but the file is 0 bytes
Expected behavior
Clipboard / file should contain the conversation transcript.
Actual behavior
/export→ "Conversation copied to clipboard" but clipboard is empty (verified withpbpaste | wc -c→ 0)/export somefile→ creates the file but it's 0 bytes (verified withwc -landls -la)
Environment
- macOS (Darwin 25.2.0)
- Claude Code CLI
- Model: claude-opus-4-6
This issue has 2 comments on GitHub. Read the full discussion on GitHub ↗