2作者: thewojo5 个月前原帖
我对Claude Code印象深刻,但有时在我的工作流程中,粘贴Claude Code终端会话的文本时,出现的杂乱无章的文本会造成困扰。因此,我开发了一个开源工具,可以清理你从CC/Codex粘贴的多余空格、管道符和其他字符。 例如,你可以将以下内容: ``` How can I create a Claude Code script that │ │ cleans up extraneous characters and cleans up │ │ extra spaces, new lines, and other messiness │ when I copy from Claude Code terminal │ │ prompts or copy code from Claude Responses in │ │ the Claude Code Terminal? It can make it │ │ hard to read, save, and reuse. ``` 转换为: ``` How can I create a Claude Code script that cleans up extraneous characters and cleans up extra spaces, new lines, and other messiness when I copy from Claude Code terminal prompts or copy code from Claude Responses in the Claude Code Terminal? It can make it hard to read, save, and reuse. ``` 虽然这个工具是针对Claude Code开发的,但它也适用于Codex。 在这里试试:cleanclode.com 这个工具是100%私密的(没有数据收集、跟踪,完全开源)。如果你有任何不满意的地方,请在GitHub上创建一个问题,贡献你的修改(<a href="https://github.com/TheJoWo/Clean-Clode" rel="nofollow">https://github.com/TheJoWo/Clean-Clode</a>),或者在这里评论。谢谢,希望对你们有所帮助!