Guide · Agent skill
How to use the Conversation Archive Importer agent skill
Updated · written with AI from the project's own documentation and checked against our catalogue data
The conversation-archive skill teaches an AI agent to take your exported chat history from ChatGPT, Claude or Perplexity, plus local agent session logs, and store each conversation as a dated page in your GBrain knowledge store. This guide explains what an agent skill is, how to install this one, how to ask for it in plain language, and what to check before importing. By the end you will be able to run an import, confirm the archive is complete, and ask questions such as when you first discussed a topic.
Quick start
- 1Install GBrain and create a brain store. Install the gbrain CLI and configure a brain store. The skill cannot run without them.
- 2Install the skill. Download the ZIP and unzip it into ~/.claude/skills/ or a project's .claude/skills/ folder, or upload it under Settings, Capabilities, Skills in the Claude apps.
- 3Export your chats. Export from ChatGPT or Claude and unzip the download. Perplexity threads arrive one at a time.
- 4Test with a few conversations. Preview with --dry-run and import three to five conversations first to check the output.
- 5Run the import. Run gbrain transcripts ingest on the conversations.json file, or with no path to discover agent session logs.
- 6Check for gaps. Run gbrain transcripts status and ask the agent to backfill anything missing.
- 7Ask questions. Ask in plain language, such as when you first discussed a topic, and the agent searches the archive before answering.
What is an agent skill and what does this one do?
An agent skill is a folder containing a SKILL.md file. The file describes a task and the steps an AI agent should follow when you ask for it. Once the skill is installed, the agent can load these instructions when a request matches them.
This skill has two halves. The import half turns raw exports or session logs into dated markdown pages under conversations/, checks that each page parses correctly, extracts facts, and looks for gaps so nothing is missed. The retrieval half searches that archive before the agent answers questions, so answers come from your own past chats rather than memory.
- Imports ChatGPT conversations.json, Claude.ai exports and Perplexity exports
- Imports agent session logs such as Claude Code, Codex, OpenClaw, Hermes and Grok Build
- Writes one page per conversation, filed under conversations/ by provider
- Answers questions like when you first discussed X or how an idea changed over time
What you need before installing
The skill depends on the GBrain tool. It is not a standalone program, and it will not work on its own. You need the gbrain CLI installed and a configured brain store.
You also need your exported chat files unzipped on your computer. Optionally, you can create ~/.gbrain/harvest-private-patterns.txt to add your own redaction patterns.
- GBrain (gbrain CLI) installed and a configured brain store
- Exported chat files unzipped locally: ChatGPT conversations.json, a Claude.ai export, or a Perplexity export
- Optional: ~/.gbrain/harvest-private-patterns.txt for custom redaction patterns
Install the skill
Download the skill ZIP from the page where you found this guide. Then choose one of the following methods.
For a personal install that is available across your projects, unzip the download into ~/.claude/skills/. To limit it to one project, unzip it into that project's .claude/skills/ folder.
If you use the Claude apps, you can upload the ZIP instead. Open Settings, go to Capabilities, then Skills, and upload the file there.
- Personal install: unzip into ~/.claude/skills/
- Project install: unzip into the project's .claude/skills/ folder
- Claude apps: Settings → Capabilities → Skills, then upload the ZIP
How to trigger the skill with natural requests
You do not need a special command. Ask in plain language, and the agent will match your request against the skill's triggers. The triggers include phrases such as chatgpt export, claude export, perplexity export, conversation history, import my conversations, search my conversations, when did I first discuss, archive my session transcripts and backfill missing conversations.
Retrieval questions are answered from the archive first. The skill tells the agent not to conclude that you never discussed a topic from memory or from one failed search.
- Import my conversations from the ChatGPT export in my Downloads folder
- When did I first discuss home solar with an AI assistant?
- Search my conversations for notes on my thesis outline
- Archive my session transcripts and check for gaps
- Backfill missing conversations from the last import
Import an export with the native importer
When the source is ChatGPT, Claude.ai or an agent session log, the skill prefers the native importer. Unzip the export first, then point the command at the file. Running it with no path discovers harness logs automatically.
Before a bulk import, preview what will be scrubbed with --dry-run. Use gbrain transcripts status to compare what was found with what was imported. For oversized stores you can set a size cap with --max-bytes. Changing the cap starts a fresh watermark scope, so a capped run's skipped tail is not treated as already scanned.
Perplexity has no native adapter in this skill, so it uses the manual conversion procedure instead.
- Unzip the export first, then run: gbrain transcripts ingest ~/Downloads/conversations.json
- Discover agent session logs: gbrain transcripts ingest
- Oversized store: gbrain transcripts ingest --max-bytes 4gb <store>
- Check gaps: gbrain transcripts status
gbrain transcripts ingest ~/Downloads/conversations.json
gbrain transcripts ingest
gbrain transcripts ingest --max-bytes 4gb <store>
gbrain transcripts statusUnderstand what is redacted and what is not
The native importer redacts secrets by format. This covers vendor key prefixes, JWTs, cloud and API key shapes, Bearer headers, connection strings with inline passwords, PEM private keys, and high-entropy KEY=, TOKEN= or PASSWORD= assignments. It also applies your custom patterns from ~/.gbrain/harvest-private-patterns.txt.
Broad personal information detection, such as names, phone numbers and addresses, is not automatic. That review remains your job. Read sensitive conversations before you share or publish anything from the archive.
If a secret still reaches a page, rotate the secret first. Then remove the page with gbrain delete <slug> --purge. This works on the local CLI only. Git history in your brain repo or a synced file may still contain the secret.
- Automatic: secret shapes, your custom patterns, agent-directed imperatives flagged in frontmatter
- Manual: names, phone numbers, addresses and other personal details
- Long messages are capped at about 4K characters in the page body; the source session file stays the verbatim record
- Tool and thinking traffic appears only as one-line placeholders
gbrain delete <slug> --purgeCheck, backfill and search the archive
After an import, check that pages parse and that nothing was missed. The skill's detect-and-backfill loop compares found sessions with imported ones. Ask the agent to backfill missing conversations if the status shows gaps.
For searches, ask a direct question. The agent looks in the archive before answering and can pull a specific thread or trace how an idea changed across conversations. Filenames begin with the date, which keeps timelines sortable.
- Run gbrain transcripts status to see found versus imported counts
- Ask the agent to backfill missing conversations
- Ask for a specific thread by topic or date
- Test on three to five conversations before importing thousands
What people use it for
- Finding the first time you asked an assistant about a topic you care about
- Tracing how your views on a subject changed across several years of chats
- Pulling one long thread back up by topic or date
- Keeping a searchable archive of coding-agent session logs for a developer's GBrain
Frequently asked questions
How do I install the conversation-archive skill?
Download the skill ZIP from the page and unzip it into ~/.claude/skills/ for a personal install, or into a project's .claude/skills/ folder for one project. In the Claude apps you can instead upload the ZIP under Settings, Capabilities, Skills. You also need the GBrain CLI and a configured brain store.
Is the conversation-archive skill free?
The skill is released under the MIT licence. The source page does not list prices, so check the upstream project for any costs of its tools.
Does this skill work without GBrain?
No. The skill depends on GBrain's commands and conventions and will not work on its own. You must install the gbrain CLI and configure a brain store first.
Which chat exports can I import?
The native importer handles ChatGPT conversations.json, Claude.ai exports and several agent session log formats. Perplexity has no full-archive export, so its threads are converted with the manual procedure one at a time.
Will my personal information be removed automatically?
Not fully. The importer redacts secrets such as API keys, tokens and passwords by format. Names, phone numbers and addresses are not detected automatically, so you should review sensitive chats before sharing or publishing them.
How do I remove a conversation that contains a secret?
Rotate the exposed secret first. Then run gbrain delete with the page slug and the --purge flag. This applies to the local CLI only, and copies in git history or synced files may still exist.
New agent skills, repos and AI tools — every week
The best new skills and open-source projects, the fastest-growing repos, and one free prompt. Five minutes to read. Unsubscribe anytime.
Our verdict
This skill suits people with years of ChatGPT or Claude history who want it searchable, developers who run GBrain and want coding-agent logs archived, and researchers tracing how their thinking changed. It is a poor fit if you plan to share or publish chats without a manual privacy review, or if you do not already use GBrain.
Download the skill