Skip to content

/export command creates empty files with no content #49067

Description

@dr-ayush

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clibugSomething isn't workingstaleIssue is inactive

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions