HughesCuit

Agent Session Resume — Development skill for Claude Code

Development community

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

  • Coding Agent Session Search — Unified TUI and CLI to index and search your local coding agent session history across 11+ providers (Codex, C 708 ★
  • Project Memory: AgentSys — Cross-tool compatible: Works across all 5 platforms - Claude Code, OpenCode, Codex CLI, Cursor, and Kiro 622 ★
  • Harness Remote — Native-session control plane for Codex, Claude Code, OpenCode, OMP and PI 356 ★

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//