chatgpt-exporter-ultimate
Export ALL your ChatGPT conversations instantly — no 24h wait, no extensions. Works via browser relay OR standalone bookmarklet. Extracts full message history with timestamps, roles, and metadata. One command, one JSON file, done.
- License 许可
- MIT
- 最近更新
- 2026-04-05
- Stars
- ★ 7
- Forks
- 1
01 前言 Front Matter
- name
- chatgpt-exporter-ultimate
- description
- Export ALL your ChatGPT conversations instantly — no 24h wait, no extensions. Works via browser relay OR standalone bookmarklet. Extracts full message history with timestamps, roles, and metadata. One command, one JSON file, done.
02 资源文件 4
- 参考文档_meta.json295 B
- 脚本scripts/bookmarklet.js3.9 KB
- 脚本scripts/export-conversations.ts7.2 KB
- 脚本scripts/export.sh3.3 KB
03 SKILL.md 正文
ChatGPT Exporter ULTIMATE
? Part of the OpenClaw Ecosystem — This skill is part of a larger AI agent revamp project. Full project: https://github.com/openclaw/openclaw
Export all ChatGPT conversations in seconds — no waiting for OpenAI's 24-hour export email.
Usage
Export my ChatGPT conversations
Requirements
- User must attach their Chrome ChatGPT tab via browser relay
- User must be logged into ChatGPT
How It Works
- Attach browser - User clicks OpenClaw toolbar icon on chatgpt.com tab
- Inject script - Agent injects background export script
- Fetch all - Script fetches all conversations via internal API
- Download - JSON file auto-downloads to user's Downloads folder
Technical Details
Authentication
ChatGPT's internal API requires a Bearer token from /api/auth/session:
const session = await fetch('/api/auth/session', { credentials: 'include' });
const { accessToken } = await session.json();
API Endpoints
| Endpoint | Purpose |
|---|---|
/api/auth/session |
Get access token |
/backend-api/conversations?offset=N&limit=100 |
List conversations |
/backend-api/conversation/{id} |
Get full conversation |
Export Script
The agent injects a self-running script that:
- Fetches the access token
- Paginates through all conversations (100 per page)
- Fetches each conversation's full content
- Extracts messages from the mapping tree
- Creates JSON blob and triggers download
Progress Tracking
window.__exportStatus = { phase: 'fetching', progress: N, total: M }
Output Format
{
"exported": "2026-02-06T11:10:09.699Z",
"conversations": [
{
"id": "abc123",
"title": "Conversation Title",
"created": 1770273234.966738,
"messages": [
{ "role": "user", "text": "...", "time": 1770273234 },
{ "role": "assistant", "text": "...", "time": 1770273240 }
]
}
]
}
Rate Limits
- 100ms delay between conversation fetches
- ~3 minutes for 200 conversations
- ChatGPT allows ~100 requests/minute
Troubleshooting
| Issue | Solution |
|---|---|
| No tab attached | Click OpenClaw toolbar icon on ChatGPT tab |
| 401 error | Log into ChatGPT and re-attach tab |
| Export stuck | Check browser console for errors |
| No download | Check Downloads folder / browser settings |
Files
scripts/bookmarklet.js- Standalone console script (paste in DevTools)scripts/export.sh- CLI export with token argument
Comparison to Extensions
| Feature | This Skill | ChatGPT Exporter Extension |
|---|---|---|
| Installation | None | Chrome Web Store |
| Automation | Full (agent-controlled) | Manual (user clicks) |
| Format | JSON | JSON, MD, HTML, PNG |
| Batch export | ✅ Auto | ✅ "Select All" |
| Progress | Agent monitors | UI progress bar |
When to use this skill: Automated exports, programmatic access, agent workflows When to use extension: Manual exports, multiple formats, visual UI
04 同仓库更多 Skills
zyfai
Earn yield on any Ethereum wallet on Base, Arbitrum, and Plasma. Use when a user wants passive DeFi yield on their funds. Deploys a non-custodial subaccount (Safe) linked to their EOA, enables automated yield optimization, and lets them deposit/withdraw anytime.
zerion-api
暂无简介
zerion-api-skill
暂无简介
zerion-api-mcp
暂无简介
yahoo-finance-forex
Fetches real-time FOREX news and market data from Yahoo Finance for major currency pairs (EUR/USD, GBP/USD, USD/JPY, etc.). Analyzes sentiment and provides trading context.
yahoo-finance
This skill should be used when the user asks to "get stock prices", "check stock quotes", "look up earnings", "get financial data", "find trending stocks", or needs stock market data from Yahoo Finance.