You do not need this script anymore, to delete all chats follow this instruction on desktop web:
- Go to https://claude.ai/recents
- Click on the checkbox below the search box. This should select all chats in the page. If you have more, you can click on the "Load more" in the bottom of the page.
- Click on "Delete" icon.
You want to delete all your conversations with Claude AI, but there is no button to clean them by one click (Like what ChatGPT has). Using this instructions, you can clean all conversations. No dependency or external tool is needed (except your Google Chrome browser!)