Agent Session Resume — Development skill for Claude Code
Resume memory from other coding agents' sessions (Codex / OpenCode / Claude Code / Cursor) in the current working directory.
How to install Agent Session Resume
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open HughesCuit/agent-session-resume and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Agent Session Resume does
Resume memory from other coding agents' sessions (Codex / OpenCode / Claude Code / Cursor) in the current working directory.
Alternatives in Development
- Agentic Stack — One brain, many harnesses 2.2k ★
- Project Memory: AgentSys — Cross-tool compatible: Works across all 5 platforms - Claude Code, OpenCode, Codex CLI, Cursor, and Kiro 622 ★
- Tmux Claude Hatch — tmux plugin that runs Claude Code sessions in popups per project directory, with an fzf picker showing each se 381 ★
README
agent-session-resume
An [Agent Skills](https://agentskills.io) skill that lets your current coding agent **restore the memory of past sessions from other agents** — Codex, OpenCode, Claude Code, Cursor, Kimi Code, and Kimi Work — filtered to the current working directory, so you can pick up work where you left off, no matter which tool you started it in.
What it does
- Lists another agent's sessions for the project you're in (
cwd-matched) - Lets you pick one or more sessions
- Exports clean Markdown transcripts (tool calls, reasoning, token stats, subagent chatter, and injected system blocks filtered out)
- Your current agent reads the export, summarizes the restored context, and keeps working
Install
npx skills add HughesCuit/agent-session-resume
Or manually — copy this folder into your agent's skill directory, e.g.:
# Claude Code
cp -r agent-session-resume ~/.claude/skills/
# Codex / Cursor / Kimi Code CLI / Gemini CLI / Copilot (shared .agents layout)
cp -r agent-session-resume ~/.agents/skills/
Usage
Just tell your agent something like:
Restore the codex session I had for this project
or run the bundled CLI yourself (pure Python 3, no dependencies):
# List sessions for the current directory (all sources)
python3 scripts/agent_sessions.py list
# Filter by source / include archived / all directories
python3 scripts/agent_sessions.py list --source claude
python3 scripts/agent_sessions.py list --archived --all
# Export one or more sessions as Markdown
python3 scripts/agent_sessions.py export 1 -o /tmp/session.md
python3 scripts/agent_sessions.py export 1 3 --max-chars 120000 --full -o /tmp/sessions.md
Supported session stores
| Source | Store |
|---|---|
| Codex | ~/.codex/sessions/YYYY/MM/DD/*.jsonl |
| OpenCode | ~/.local/share/opencode/opencode.db (read-only) |
| Claude Code | ~/.claude/projects//*.jsonl |
| Cursor | `~/.cursor/projects//agent-transcripts// |
Related Skills
Omnisession
Search, resume, fork, and transfer local coding-agent sessions across Claude Code, Codex, OpenCode, Grok, Herm
Harness Remote
Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI. Run, resume and hand off coding ses
Sepia
Session lifecycle engine for coding agents: one canonical IR and pluggable store drivers to list, load, attach
Workers
List, start or stop worker sessions (other coding agents working in a directory), and show how to take one ove
Resesh
用 fzf 跨專案目錄恢復 Claude Code 與 Codex CLI session / Unified fzf finder to resume Claude Code & Codex CLI sessions
Mobius
Agent Session Hub: search, cite, resume and hand off local Claude Code, Codex, OpenCode, Pi, Grok and OMP sess
Related Agents
Resume
Haiku subagent for /resume Steps 1-3. Reads the project's Working-Memory, Preferences, and Brain.md; scores pa
Session Error Analyzer
Analyzes specific AI IDE sessions (Claude Code, OpenAI Codex, OpenCode) for LLM behavior errors and returns a
Agent Of Empires
Claude Code, OpenCode, Mistral Vibe, Codex CLI, Gemini CLI Coding Agent Terminal Session manager via tmux and