Ted Slocum's Weblog

Tagged “claude-code”

1 entry

Cleanup Claude Code Paste

I was happy to find this tool by Simon Willison that solved a real annoyance: copy and pasting code from a terminal running Claude Code. The results are a mess. I found myself prompting claude to save the output to a file just so I didn’t have to reformat things manually.

I liked this tool so much, but it was still a hassle to use Simon’s web tool. So I turned the idea into a Raycast script. It reads the current content of the clipboard and pastes the cleaned up text with command + option + v

Screenshot of the Raycast script