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.

16 stars

Best use case

chatgpt-exporter-ultimate is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

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.

Teams using chatgpt-exporter-ultimate should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/chatgpt-exporter-ultimate/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/data-ai/chatgpt-exporter-ultimate/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/chatgpt-exporter-ultimate/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How chatgpt-exporter-ultimate Compares

Feature / Agentchatgpt-exporter-ultimateStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

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.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

SKILL.md Source

# 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

1. User must attach their Chrome ChatGPT tab via browser relay
2. User must be logged into ChatGPT

## How It Works

1. **Attach browser** - User clicks OpenClaw toolbar icon on chatgpt.com tab
2. **Inject script** - Agent injects background export script
3. **Fetch all** - Script fetches all conversations via internal API
4. **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`:
```javascript
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:
1. Fetches the access token
2. Paginates through all conversations (100 per page)
3. Fetches each conversation's full content
4. Extracts messages from the mapping tree
5. Creates JSON blob and triggers download

### Progress Tracking
```javascript
window.__exportStatus = { phase: 'fetching', progress: N, total: M }
```

## Output Format

```json
{
  "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

Related Skills

chatgpt

16
from diegosouzapw/awesome-omni-skill

OpenAI's conversational AI assistant.

chatgpt-import

16
from diegosouzapw/awesome-omni-skill

Import ChatGPT conversation history into OpenClaw's memory search. Use when migrating from ChatGPT, giving OpenClaw access to old conversations, or building a searchable archive of past chats.

boycott-chatgpt-54c8dfea

16
from diegosouzapw/awesome-omni-skill

OpenAI president Greg Brockman gave [$25 million](https://www.sfgate.com/tech/article/brockman-openai-top-trump-donor-21273419.php) to MAGA Inc in 2025. They gave Trump 26x more than any other major AI company. ICE's resume screening tool is powered by OpenAI's GPT-4. They're spending 50 million dollars to prevent states from regulating AI.

WhatsApp Ultimate — No Meta API | Lead Mining, Bulk Send, Scheduled Reminders & Follow-ups

16
from diegosouzapw/awesome-omni-skill

Documentation-only WhatsApp API reference — zero executables, zero install scripts, zero local file writes. All actions require explicit user invocation. Provides 90+ API endpoints for sending messages, capturing leads, running campaigns, scheduling reports, tracking campaign analytics, and managing clients. MOLTFLOW_API_KEY is the only credential required — generate a scoped key from the MoltFlow dashboard (Settings > API Keys). AI features (voice transcription, RAG, style profiles) use the user's own LLM API key configured via the MoltFlow web dashboard, never passed through this skill.

apify-ultimate-scraper

16
from diegosouzapw/awesome-omni-skill

Universal AI-powered web scraper for any platform. Scrape data from Instagram, Facebook, TikTok, YouTube, Google Maps, Google Search, Google Trends, Booking.com, and TripAdvisor. Use for lead gener...

Ultimate Assistant Comprehensive Response

16
from diegosouzapw/awesome-omni-skill

Generates highly detailed, step-by-step, and logical responses that integrate both scientific and non-scientific perspectives, acting as an 'Ultimate Assistant'.

how-to-build-chatgpt-sidebar

16
from diegosouzapw/awesome-omni-skill

Use when asked to build a sidebar experience similar to ChatGPT.com / OpenAI

guard-users-chatgpt

16
from diegosouzapw/awesome-omni-skill

Guardrail policy for Chatgpt CLI: refuse catastrophic actions, require scoped approvals, and reduce secret leakage.

chatgpt / 启用开发者模式的 / openai

16
from diegosouzapw/awesome-omni-skill

General SOP for common requests related to chatgpt, 启用开发者模式的, openai.

chatgpt-history

16
from diegosouzapw/awesome-omni-skill

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.

chatgpt-apps

16
from diegosouzapw/awesome-omni-skill

Complete ChatGPT Apps builder - Create, design, implement, test, and deploy ChatGPT Apps with MCP servers, widgets, auth, database integration, and automated deployment

chatgpt-apps-sdk

16
from diegosouzapw/awesome-omni-skill

Build ChatGPT apps using OpenAI's Apps SDK. This skill leverages OpenAI's Docs MCP server to fetch the latest documentation, ensuring guidance is always current. Use when creating a new ChatGPT app, building an MCP server for ChatGPT, designing widgets/UI for ChatGPT apps, preparing an app for submission, or any question about ChatGPT Apps SDK or Agentic Commerce.