跳到正文
TakoAPI
返回技能列表

chatgpt-import

由 samdickson22 提供

Coding Agents & IDEs
480下载量由 clawskills.sh 提供
2星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

Import ChatGPT conversation history into OpenClaw's memory search.

描述

该技能的功能

Converts exported ChatGPT conversation history into a local SQLite database with vector embeddings, then registers it as an extra memory search path in OpenClaw. After setup, OpenClaw's memory search covers both its native memory and all past ChatGPT conversations.

Embeds conversations once into a local SQLite file, so all past ChatGPT history is queryable alongside native OpenClaw memory without re-uploading or reprocessing on each search.

何时使用

  • Searching old ChatGPT conversations by topic or keyword
  • Migrating from ChatGPT without losing conversation history
  • Finding code snippets discussed in past ChatGPT sessions
  • Building a searchable personal archive of AI conversations
  • Recovering context from months-old ChatGPT threads

示例工作流

输入

User asks: find my old ChatGPT conversations about database indexing

智能体
  1. 1

    User exports conversations.json from ChatGPT account settings

  2. 2

    Runs convert_chatgpt.py to convert conversations into markdown files

  3. 3

    Runs bulk_embed.py with OPENAI_API_KEY to embed and store results in chatgpt-memory.sqlite

  4. 4

    Adds the SQLite path to OpenClaw config under memorySearch.extraPaths

  5. 5

    Restarts the OpenClaw gateway to load the new search path

输出

Memory search returns matching segments from past ChatGPT conversations alongside native OpenClaw results

前置要求

  • OPENAI_API_KEY environment variable
  • ChatGPT account with exported conversations.json

安装

clawhub install samdickson22/chatgpt-import

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接