粘贴文件编辑器Pasted File Editor
这是一款模拟 Claude 处理大段文本行为的实用网页工具。它允许用户将大量文本粘贴进去,系统会自动将其转换为文件附件形式以便于管理和处理。作者使用 Codex desktop 快速构建了这个原型,展示了现代 AI 辅助编程在工具开发中的高效性。该工具解决了直接向大模型输入超长文本时的格式和上下文丢失问题。对于需要频繁处理长文本提示词的开发者来说,这是一个轻量且高效的解决方案。
Simon Willison
Tool Pasted File Editor — Create and manage a text editor with automatic file attachment capabilities. Paste files or text content of 1,000 characters or more to attach them below the editor, while keeping the editor text unchanged. View attached files as previews or in full, and remove files as needed using drag-and-drop, file selection, or clipboard paste functionality.
I really like how you can paste a large volume of text into claude.ai (or the Claude desktop/mobile apps) and it will detect it as a large paste and turn it into a file attachment instead.
I decided to have Codex desktop build me a version of that as a prototype.
You can also open files directly - including images which will be shown as thumbnails - or drag files onto the textarea.
需要完整排版与评论请前往来源站点阅读。