Resume Any Chat
Use this plugin skill for local multi-provider chat history work across the current user's home directory:
Codexfrom.codex/sessionsClaudefrom.claude/projectsplus.claude/history.jsonlAntigravityfrom.gemini/antigravity-cli/brain/*/.system_generated/logs
Workflow
- Default to listing useful recent sessions directly in-chat.
Show recent
Codex,Claude, andAntigravitysessions first unless the user already named a provider/session. The default professional list format is:
- recent
10 - per item show:
idtitlelast message
- then show exactly these next actions:
Continue in CodexContinue NativeSummariseImport into Codex History (Experimental)
- if session
cwdand current workspace differ, say that briefly and suggest the safer option - stop there unless the user explicitly picks one of those actions
- Refresh/export the current index:
node ../../runtime/cli.js export
- Useful commands:
node ../../runtime/cli.js latest
node ../../runtime/cli.js latest claude --limit 15
node ../../runtime/cli.js session claude <session-id>
node ../../runtime/cli.js handoff antigravity <session-id>
node ../../runtime/cli.js import-history claude <session-id>
Command mapping:
show all historyshow historylist historyshow recentshow me all history
For any of the above, you must run:
node ../../runtime/cli.js latest
If the user names a provider, you must run:
node ../../runtime/cli.js latest <provider>
- Launch the local 3-tab viewer:
node ../../runtime/cli.js serve
- Use the built-in flows:
- Native resume:
codex resume <session-id>claude --resume <session-id>agy --conversation <session-id>
- Cross-provider continuation:
- create a Codex handoff file
- launch a fresh Codex session from that handoff
- Experimental import:
- only when the user explicitly chooses
Import into Codex History (Experimental) - import a foreign session into Codex history without replacing the safer default flows
- only when the user explicitly chooses
Rules
- Do not treat foreign-session import as the default continuation path.
- prefer native resume or Codex handoff first
- use experimental Codex-history import only after explicit user choice
- Do not read Antigravity token-monitor/auth cache unless the user explicitly asks for that risk.
- Prefer
transcript_full.jsonlfor Antigravity when available. - If no trustworthy
cwdexists, do not auto-launch the foreign CLI. show session <provider> <id>should include recent turns by default.- default: show the overview plus last
5-8meaningful messages verbose: include more context, including thinking/tool lines when useful
- default: show the overview plus last
- If the user says
continue here, do not push them into an external resume flow first.- run
handoff <provider> <session-id>without--launch - use that summary and handoff file to continue inside the current Codex thread
- run
- Never auto-resume, auto-handoff, auto-summarise, or auto-open anything immediately after listing.
- listing is one step
- action happens only after the user explicitly chooses it
Import into Codex History (Experimental)is opt-in only.- add it as a selectable action
- do not use it unless the user explicitly chooses it
- Do not answer
show all historyby describing, linking, or summarizingstate.json.state.jsonis an internal cache/export artifact- mention it only if the user explicitly asks for raw JSON, export files, cache debugging, or file paths
- For
show all historyand similar list requests, return the directlatestoutput itself.- do not replace it with totals-only summaries
- do not ask for
provider + session idbefore showing the actual list
- If the session already has a clear unfinished task, continue that task directly instead of ending with
If you want, I can...- ask only if the next task is ambiguous or risky
- The rule above applies only after the user has already chosen
Continue in Codexor equivalent. - Do not invent a different menu or a generic conversational close.
- follow the list-first flow above
- avoid endings like
If you want, I can...when the user already asked to continue
- Avoid rigid command-only replies.
- accept natural requests such as
show me more Claude,continue the latest Antigravity here,open viewer,resume this Codex session
- accept natural requests such as