3.4 KiB
3.4 KiB
Clean copy
Clean copy lets Claude hand you text to copy: a command, a commit message, a draft. Claude writes it to a file, and Helder shows it in a card at the top of the window, ready to edit and copy. You never have to select text out of the terminal.
Guide index · Related: Claude Code, Notes, Notifications
At a glance
+----------------------------------------------------------------+
| (1) From Claude .clean-copy (2) [ Copy Cmd+Enter ] |
+----------------------------------------------------------------+
| (3) |
| feat: show the refund state on the order page |
| |
| The order page now shows when a refund is pending._ |
| |
+----------------------------------------------------------------+
| (4) copied as plain text . 74 characters |
+----------------------------------------------------------------+
- Header: the title and the file name,
.clean-copy. - Copy: copies the text and closes the card.
- Text area: the text Claude wrote, in a monospaced font. You can edit it before you copy.
- Footer: how the text is copied, and how many characters it holds.
Features
The file
- The channel is one file:
.clean-copyin the root of the project. - Claude overwrites the whole file each time it has text for you. Helder only reads it; it never clears or deletes it.
- Both terminals get
TERM_PROGRAM=Helderin their environment, so Claude can tell it runs inside Helder. - Like any file,
.clean-copyshows up in Git and the Explorer unless you ignore it.
When the card opens
- The card opens when the contents of
.clean-copychange while the project is open. - Helder waits a moment after the last write, so it reads the whole text, not half of it.
- The text that is in the file when you open the project never opens the card.
- An empty file, or one with only spaces and blank lines, does not open the card.
- Writing the same text again does not open the card a second time.
- The card opens in the window of that project, even when the window is in the background. Helder does not come to the front.
While something else is open
- When another card or dialog is open, such as the note or search, the text waits. The card opens once you close the other one.
- If Claude writes several times while you wait, only the newest text shows.
- When the clean-copy card is already open and new text arrives, the card shows the new text, unless you already edited the text. Then your edits stay and the new text is dropped.
Copying
- Click Copy or press
Cmd+Enter. - The text in the card, with your edits, goes to the clipboard as plain text.
- The card closes, and a notification says "Copied".
Esc, or a click outside the card, closes it without copying.
Keyboard
| Keys | Action |
|---|---|
Cmd+Enter |
Copy the text and close |
Esc |
Close without copying |
Related
- Claude Code: the agent that writes
.clean-copy. - Notes: the card the clean-copy card looks like.
- Notifications: the "Copied" confirmation.
- Keyboard shortcuts: every key in one list.