CLI Continues
Resume any AI coding session in another tool — Claude Code, Copilot, Gemini, Codex, Cursor
Install
npx continuesclaude mcp add cli-continues -- npx continues{
"mcpServers": {
"cli-continues": {
"command": "npx",
"args": [
"continues"
]
}
}
}Install command taken from the project's README or registry entry. Always review code before running it.
README excerpt
Read full README on GitHub →continues
You hit the rate limit mid-debug. 30 messages of context — file changes, architecture decisions, half-finished refactors — and now you either wait hours or start fresh in another tool.
continuesgrabs your session from whichever AI coding tool you were using and hands it off to another one. Conversation history, file changes, working state — all of it comes along.
npx continues
https://github.com/user-attachments/assets/6945f3a5-bd19-45ab-9702-6df8e165a734
Supported tools
16 AI coding agents, any-to-any handoff:
Claude Code · Codex · GitHub Copilot CLI · Gemini CLI · Cursor · Amp · Cline · Roo Code · Kilo Code · Kiro · Crush · OpenCode · Factory Droid · Antigravity · Kimi CLI · Qwen Code
That's 240 cross-tool handoff paths. Pick any source, pick any destination — it works.
Install
No install needed — just run npx continues. Or install globally:
npm install -g continues # gives you `continues` and `cont`
How it works
- Discovery — scans session directories for all 16 tools
- Parsing — reads each tool's native format (JSONL, JSON, SQLite, YAML — they're all different)
- Extraction — pulls recent messages, file changes, tool activity, AI reasoning
- Handoff — generates a structured context doc and injects it into the target tool
The handoff document is designed so the receiving agent immediately understands what you were doing, what files were touched, what commands ran, and what's left to do.
Usage
Interactive (default)
Just run continues. It finds all your sessions, lets you pick one, and asks where to continue:
┌ continues — pick up where you left off
│
│ Found 1842 sessions across 16 CLI tools
│ claude: 723 codex: 72 cursor: 68 copilot: 39 ...
│
◆ Select a session
│ [claude] 2026-02-19 05:28 my-project Debugging SSH tunnel config 84a36c5d
│ [copilot] 2026-02-19 04:41 my-project Migrate presets from Electron c2f5974c
│ [codex] 2026-02-18 23:12 my-project Fix OpenCode SQLite parser a1e90b3f
│ ...
└
◆ Continue in:
│ ○ Gemini ○ Codex ○ Amp ○ Kiro ...
└
When you run from a project directory, sessions from that directory are prioritized.
Quick resume
Skip the picker entirely — resume the Nth most recent session from a tool:
continues claude # latest Claude session
continues codex 3 # 3rd most recent Codex
continues amp # latest Amp
continues cline # latest Cline
continues kiro # latest Kiro
continues crush # latest Crush
continues kimi # latest Kimi
continues qwen-code # latest Qwen Code
Works for all 16 tools. This uses native resume — same tool, full history, no context injection.
Cross-tool handoff
This is the main thing. Start in one tool, finish in another:
# Hit the Claude rate limit? Hand it off to Gemini:
continues resume abc123 --in gemini
# Or pass flags through to the destination tool:
continues resume abc123 --in codex --yolo --search --add-dir /tmp
# Or print the exact handoff prompt without launching the target tool:
continues resume abc123 --in codex --debug-prompt
continues maps common flags (model, sandbox, auto-approve, extra dirs) to the target tool's equivalent. Anything it doesn't recognize gets passed through as-is.
Similar plugs
CLI proxy that reduces LLM token consumption by 60-90% on common dev commands. Single Rust binary, zero dependencies
Bash is all you need - A nano claude code–like 「agent harness」, built from 0 to 1
Documented system prompts from Anthropic - Claude Fable 5.1, Opus 5.5, Claude Design, Claude Code. OpenAI - ChatGPT GPT-6-Astra, Codex. Google - Gemini 3.8 Flash, 3.1 Pro,…
Wrap Antigravity, ChatGPT Codex, Claude Code, Grok Build, Muse Code, Devin as an OpenAI/Gemini/Claude/Codex compatible API service, allowing you to enjoy the free Gemini…