```Show HN: 用于批量删除 Claude 网页版聊天记录的脚本```
Show HN: Script to bulk delete Claude chats from the web UI

原始链接: https://github.com/MatteoLeonesi/bulk-delete-claude-chat

一次性删除你所有的 claude.ai 对话。我创建这个脚本是因为 /recents 页面上的“全选”按钮只能选中当前屏幕显示的行。该脚本直接调用内部 API,因此可以获取所有对话。 1. 打开 https://claude.ai/recents 并按 F12 进入控制台 (Console)。 2. 粘贴 delete-all.js 的内容,然后按回车。 3. 确认弹窗(每个组织一次)。 ⚠️ 请耐心等待:对话会缓慢地从界面消失,持续几分钟,这是正常的。 ⚠️ 请保持 claude.ai 标签页处于打开状态,直到控制台显示 Finished。关闭、刷新页面或跳转到其他页面可能会导致删除过程停止。

```Hacker News 最新 | 过往 | 评论 | 提问 | 展示 | 招聘 | 提交 登录 Show HN:一个用于批量删除 Claude 网页端聊天记录的脚本 (github.com/matteoleonesi) 11 分,发布者:ML0037,51 分钟前 | 隐藏 | 过往 | 收藏 | 1 条评论 我没找到像 ChatGPT 那样批量删除所有聊天记录的方法。在使用 Claude 时,你必须滚动到底部,全选,然后删除。问题是,如果你有很多聊天记录,这几乎是不可能的。我创建了这个脚本,它可以自动完成。希望对大家有帮助。 (对话会慢慢从界面消失,持续几分钟。请记住保持标签页打开,直到控制台显示“Finished”。在删除过程中刷新页面可能会中断该进程。) gslepak 2 分钟前 [–] 之前的讨论:https://news.ycombinator.com/item?id=48464258 回复 指南 | 常见问题 | 列表 | API | 安全 | 法律 | 加入 YC | 联系 搜索: ```
相关文章

原文

Delete all your claude.ai conversations at once, i created it because the "Select all" button on /recents only covers the rows rendered on screen. This script calls the internal API instead, so it gets everything.

  • Open https://claude.ai/recents and press F12Console
  • Paste the contents of delete-all.js, hit Enter
  • Confirm the dialog (one per organization)
  • ⚠️ Be patient: conversations disappear from the UI slowly, over several minutes; that's normal
  • ⚠️ Keep the claude.ai tab open until the console shows Finished; closing, refreshing, or navigating away from the page can stop the deletion process.
联系我们 contact @ memedata.com