Chatgpt History

Search and extract data from ChatGPT conversation history. Use when the user asks to find, search, or extract information from their ChatGPT history, conversations, or past chats.

diegosouzapw Updated 54 repo stars

File contents

ChatGPT History

Search and extract data from ChatGPT conversation history. The full history is in references/conversations.json.

When to Use

  • User asks to find something from their ChatGPT history
  • User wants to extract data, decisions, or information from past conversations
  • User mentions "my ChatGPT chats", "conversation history", or "what did we discuss about X"

Searching the Conversation History

Quick search (grep): From the skill directory, run:

rg 'search-term' references/conversations.json

Structured search: For parsed excerpts with conversation title and context:

pnpm query "your query"

Or: npx tsx scripts/search.ts "your query"

File Location

The conversation data is at references/conversations.json. Ensure the user has copied their file there (from OpenAI export or any ChatGPT export).

Output

When extracting data, present results with:

  • Conversation title
  • Role (user/assistant)
  • Relevant excerpt
  • Source conversation if multiple matches

diegosouzapw/awesome-omni-skill/tree/main/skills/ai-agents/chatgpt-history commit 83ccfebc02

Frequently asked questions

npx skillmds@latest add diegosouzapw/chatgpt-history