Skip to content

Instantly share code, notes, and snippets.

View sagarspatil's full-sized avatar

Sagar Patil sagarspatil

View GitHub Profile
@sagarspatil
sagarspatil / gist:1ff37ad29e88739406b7fdf804ffd8c1
Last active June 29, 2024 05:34
Bulk delete Claude.ai conversations in browser using javascript
### Introduction
This script automates the process of deleting conversation histories from the Claude AI platform. It performs two main tasks:
1. **Extract Chat IDs:**
- The script looks through your recent conversations on the Claude AI platform and gathers the unique IDs of these conversations.
2. **Delete Conversations:**
- After collecting the chat IDs, the script sends requests to the Claude AI server to delete each conversation one by one. It includes a short delay between each deletion to avoid overwhelming the server.