Agent History Rescue — Data skill for Claude Code
Recover Claude Code and Codex conversations that disappeared after switching accounts or providers, or rebuild them from an official data-export zip after a ban.
How to install Agent History Rescue
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HeiGeAi/agent-history-rescue and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent History Rescue does
Recover Claude Code and Codex conversations that disappeared after switching accounts or providers, or rebuild them from an official data-export zip after a ban. Restores into the desktop app and writes an agent-readable archive. 换账号、换 provider 或被封号后找回 Claude Code 和 Codex 对话。
Alternatives in Data
- Archify — Agent skill for beautiful, verifiable architecture, workflow, sequence, data-flow, and lifecycle diagrams—self 17.2k ★
- Global Stock Data — US stock market data for AI coding assistants — zero-auth, official sources 1.5k ★
- AI Data Extraction — extract all your personal data history from cursor, codex, claude-code, windsurf, and trae 1.3k ★
README
agent-history-rescue
    
**Agent 历史救援 · 换账号、换 provider 或被封号后,找回 Claude Code 和 Codex 的对话 | Recover Claude Code & Codex history after switching accounts, providers, or a ban**
对话没丢,只是被挡在了外面,或者只剩一个导出包。这个工具把它们接回来。 Your conversations are not gone. This tool brings them back, even from just an export.
[症状](#你是否遇到这些-symptoms) • [这是什么](#这是什么-what-is-this) • [从导出包恢复](#从导出包恢复-recover-from-an-export) • [快速开始](#快速开始-quick-start) • [用法](#用法-usage) • [安全设计](#安全设计-how-it-stays-safe) • [常见问题](#常见问题-faq) • [English](#english)
你是否遇到这些 Symptoms
如果你正在搜下面任意一种情况,这个工具就是为你做的。**你的对话没有被删,只是被挡住、没显示出来,或者只剩一个官方导出包。**
**Claude Code**
- 换了 Claude 账号后,Claude Code 的历史对话全没了
- 升级或重装 Claude 桌面端后,Recents(最近对话)变成空的
**Codex**
- 换了账号或 API provider 后,Codex 侧栏的历史会话不见了
- 改了
model_provider/base_url/ 自定义 provider 名后,旧会话从侧栏消失,归档的也找不到
**被封号 / 被锁号**
- 账号被封,登不进去了,手里只有一个官方导出的 zip 数据包
- 想把导出包里的对话恢复到现在用的 Claude Code 或 Codex 对话框里
- 想让现在用的 AI agent 读到这些旧对话的全部内容,接着上下文干活
In English: *"Claude Code history disappeared after switching accounts"*, *"Codex sidebar history missing after switching provider"*, *"my Claude account got banned, I only have the data export zip"*, *"how to import Claude data export into Claude Code / Codex"*, *"restore Claude conversations from export.zip"*, *"let my AI agent read my old Claude conversations"*.
这是什么 What is this
一个**Node 命令行工具**,把被挡住、没显示的对话重新接回你当前的桌面端。它有两种用法:
- 就地找回(
claude/codex):换账号、换 provider 后对话还在本机、只是被过滤掉了,把它们接回当前桌面端。 - 从导出包恢复(
import):账号被封、本机数据没了,只剩一个官方导出 zip,从里面重建对话,恢复进当前的 Claude Code / C
Related Skills
Yepanywhere
Self-hosted web UI for Claude and Codex. Push notifications, file uploads, no accounts, no database. Uses your
AI Usage Tray
Windows tray app for monitoring AI quota usage across Claude, Codex, Z.AI and Copilot accounts, with local cos
Ae Markers
Marker operations in After Effects: add markers at intervals, convert markers to layer cuts, export marker dat
Claude Config Editor
Claude Config Editor is a lightweight web tool that helps you clean and optimize your Claude Code/Desktop conf
Golemancy
Golemancy - A free desktop app that gives one person the power of a full AI team for research, writing, transl
Agent Session Manager
A modern, fast desktop app for exploring everything Claude Code stores on your machine — sessions, memory, sub
Related Agents
Auth Wiring Specialist
Use when wiring auth into a new project, switching auth providers, or adding role/org features. Carries the fa
DB Steward
MySQL/MariaDB on cPanel - schema changes and migrations, safe dumps and restores, moving data between staging
Branch Janitor
Post-merge cleanup agent — after the human confirms a PR/branch merge, removes stale agent worktrees, deletes