Extracts clean conversation logs from Claude Code's internal storage. Operations teams use it to backup and search chat history. Connects to CLI workflows and saves data in markdown format.
git clone https://github.com/ZeroSumQuant/claude-conversation-extractor.gitClaude Conversation Extractor is the only tool that exports Claude Code conversations stored in ~/.claude/projects as JSONL files. It provides two interfaces—an interactive UI with real-time search (claude-start) and a command-line interface (claude-extract)—to extract, search, and backup your chat history in Markdown, JSON, or HTML formats. The tool runs on Windows, macOS, and Linux with zero external dependencies, automatically locating your Claude Code logs and converting them to readable archives. Use it to search through past conversations, backup sessions before deletion, or export detailed transcripts including tool use and MCP responses for documentation or knowledge sharing.
["1. Identify the date range for the conversation logs you need to extract. Use the format YYYY-MM-DD.","2. Specify the file path where you want to save the extracted logs. Ensure the directory exists and is writable.","3. Run the prompt in Claude Code, ensuring you have the necessary permissions to access internal storage.","4. Review the output to ensure it meets your requirements. Use the markdown format for easy integration into your backup or analysis workflows.","5. For better results, include specific metadata requirements in your prompt to tailor the output to your needs."]
Backup all Claude Code conversations before they're accidentally deleted
Search through past Claude chat history to find solutions and code snippets
Export conversations to Markdown for team documentation and knowledge sharing
Convert Claude JSONL logs to JSON or HTML for programmatic processing and analysis
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/ZeroSumQuant/claude-conversation-extractorCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Extract conversation logs from Claude Code's internal storage for the date range [START_DATE] to [END_DATE]. Save the output in markdown format to [FILE_PATH]. Include metadata such as conversation ID, timestamp, and user inputs. Ensure the output is clean and ready for backup or analysis.
```markdown # Conversation Logs ## Conversation ID: 12345 **Timestamp:** 2023-10-15 14:30:00 **User Input:** What are the key features of your automation capabilities? **Assistant Response:** Our automation capabilities include workflow automation, data extraction, and integration with third-party tools. Would you like a detailed breakdown? ## Conversation ID: 12346 **Timestamp:** 2023-10-15 15:45:00 **User Input:** Can you help me set up a backup process for my chat logs? **Assistant Response:** Certainly! Here are the steps to set up a backup process for your chat logs... ```
Automated receipt scanning for expense management
AI assistant built for thoughtful, nuanced conversation
IronCalc is a spreadsheet engine and ecosystem
Customer feedback management made simple
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan