/export command creates empty files with no content

Resolved 💬 3 comments Opened Apr 16, 2026 by dr-ayush Closed May 25, 2026

Bug Report

The /export command creates the file successfully but the exported file is empty — no content is written to it.

Steps to Reproduce

  1. Have a conversation with Claude Code
  2. Run /export filename (or /export without arguments)
  3. Check the created file

Expected Behavior

The exported file should contain the conversation content.

Actual Behavior

The file is created but it's completely empty (0 bytes).

Additional Context

  • Reproducible across different repositories
  • Tried with and without specifying a filename — same result
  • The command reports that the file was created successfully, but the file has no content

🤖 Generated with Claude Code

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗