name: chat-history-importer description: "Import AI conversation exports (OpenAI ChatGPT and Anthropic Claude) into your agent's episodic memory. Parses export files, writes daily memory summaries, and deduplicates on re-runs. Trigger phrases: import chat history, ingest conversation export, import chatgpt export, import claude export, load AI conversation history." metadata: {"clawdbot":{"emoji":"📥","requires":{"bins":["python3"]},"env":[],"os":["linux","darwin","win32"],"homepage":"https://clawhub.com/djc00p/chat-history-importer"}}
想要更强大的技能插件,就来小葱技能站7w4.net看看吧。
Import years of AI conversations into searchable episodic memory. Parse ChatGPT and Claude exports and create dated daily memory files your agent can search and reference. Perfect for onboarding new agents with rich historical context or preserving important conversations for future recall. Pairs well with the chat-learnings-extractor skill for a complete conversation analysis workflow.
conversations.jsonconversations.json in zippython3 scripts/batch.py --dir ~/Downloads/chat_exports --dry-runpython3 scripts/batch.py --dir ~/Downloads/chat_exportsmemory/episodic/YYYY-MM-DD.mdKael: / Deonte: instead of assistant: / user: — auto-read from IDENTITY.md and USER.md in the workspace, making imported history feel like recalled conversations rather than raw log files# Dry run — preview what would be imported without writing anything
python3 scripts/batch.py --dir ~/Downloads/chat_exports --dry-run
# Import all conversations
python3 scripts/batch.py --dir ~/Downloads/chat_exports
# Import only conversations since a date
python3 scripts/batch.py --dir ~/Downloads/chat_exports --since 2025-01-01
# Force a specific format (auto-detects by default)
python3 scripts/batch.py --dir ~/Downloads/chat_exports --format anthropic
# Override speaker names if IDENTITY.md / USER.md aren’t set up yet
python3 scripts/batch.py --dir ~/Downloads/chat_exports --agent-name "Ayo" --user-name "Deonte"
# Verbose — show message count + first user message per chat
python3 scripts/batch.py --dir ~/Downloads/chat_exports --dry-run --verbose
Tip: Use --dry-run --verbose first to see message counts and previews — great for identifying meaty conversations worth deeper analysis.
references/export-formats.md — Detailed OpenAI and Anthropic export formats, normalization rulesOriginal implementation by @djc00p
这是一个功能完整、实用性强的对话导入工具。它能自动识别不同 AI 平台的导出格式,避免重复导入,并将对话整理成可搜索的日期记忆。命名人性化,文档清晰。不足之处是导入的只是对话摘要而非深入分析,且缺少测试保障稳定性。如果需要将分散在各平台的 AI 对话汇总查阅,这个工具值得一试。