Export ChatGPT history to OpenClaw memory system

A Reddit post details a method for exporting ChatGPT conversation history and importing it into OpenClaw's memory system, allowing local AI agents to access years of accumulated context.
Process steps
The method involves five main steps:
- Data Request: Request a Data Export from ChatGPT settings. The download link may take hours to a day to arrive.
- Cleanup: Extract the downloaded zip file and keep only conversation data files (named
conversations--xxx.jsonor starting withconversations). Delete extra files likeuser.jsonandmodel_comparisons.json. - Converter Setup: Use the
ai-chat-md-exporttool to convert JSON files to Markdown. Install globally via npm:npm install -g ai-chat-md-export - Batch Conversion: Run conversion commands from the terminal in the folder containing JSON files:
Windows (CMD):
Linux and Mac:mkdir output_md for /r %f in (*.json) do ai-chat-md-export -i "%f" -p chatgpt -o ./output_md/mkdir -p output_md find . -name "*.json" -exec ai-chat-md-export -i {} -p chatgpt -o ./output_md/ \; - Data Transfer: Upload the generated Markdown files to the OpenClaw server using SCP:
Replace the IP address and username with your specific setup.scp -r output_md/*.md [email protected]:~/.openclaw/workspace/memory/openai/
Once files are placed in the openai memory folder, OpenClaw can index them, providing the agent with long-term memory of historical conversations. The post notes this process also works for Claude history.
📖 Read the full source: r/openclaw
👀 See Also

Building API endpoints with Claude: Practical prompt engineering lessons from a 70+ endpoint project
A developer built 70+ LinkedIn automation API endpoints with Claude writing 80% of the code, discovering that treating prompts like contracts with explicit constraints works better than natural language instructions for action-taking agents.

OpenClaw Memory Journey: Built-in Search vs MemPalace for Real-Time Session Recall
A developer benchmarks built-in memorySearch, QMD, and MemPalace on Intel Mac. Real-time session indexing hits snags; settles on split recall strategy with cron'd reindex.

Qwen 3.5 122B MoE at 35 t/s on a Single 3090 with ik_llama.cpp MTP
A local stack running Qwen 3.5 122B MoE on a single 3090 at 35 t/s using ik_llama.cpp's fused MoE ops for MTP. Stock llama.cpp showed only +4% improvement; ik's fork yields +20%.

How to Claim and Extend Anthropic API Credits Using Manifest's Router
A Reddit post details steps to claim up to $200 in free Anthropic API credits and configure Manifest's router to automatically route prompts to cheaper models like Haiku for simple tasks, extending credit lifespan from one month to several.