FAQ
handoff is a Claude Code plugin with 4 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes handoff-codex, handoff-ds, handoff-gemini. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Repo: dazuiba/handoff

| You're in | Hand off to | Why |
|---|---|---|
| Claude Code / Codex | DeepSeek | It does the simple work fast and cheap; save the expensive quota for decisions |
| DeepSeek | Codex / Opus | Borrow a brain for hard problems, bring the answer back to your session |
No tool-switching, no lost context.
English · 简体中文
If you use more than one coding agent, these will sound familiar:
/handoff-ds." DeepSeek does the work fast and cheap. Save your expensive quota for decisions./handoff-codex what it thinks." No new terminal. No re-explaining. The answer comes back to your current session./handoff-ds finished that task. Now I have a follow-up task for it."
— Just say: "Resume the last /handoff-ds session, then do X." It just sends one more message in the old conversation — all the old context is still there.The math is simple: DeepSeek V4 is as capable as Sonnet, and on OpenCode Go the same money buys 18× the work:
| Option | Relative cost for the same work |
|---|---|
| Claude Sonnet (subscription) | 1× (baseline) |
| DeepSeek official API | 1/3 |
| OpenCode Go (includes DeepSeek V4) | 1/18 |
So: only pay for the SOTA model (Opus / GPT-5.5) — use it to plan and review. Everything else goes to DeepSeek. With handoff, $20 Claude Code (plan + dispatch) + $5 OpenCode Go (execution) ≈ the work of a $200 Claude Code Max.
Before you start: handoff works inside Claude Code (CLI or desktop app) or Codex. You need at least one of them installed and logged in.
uv tool install handoff-cli
handoff init # creates config and links Claude skills / Codex custom agents
uv tool upgrade handoff-cli # update to the latest version
The opus and codex backends reuse your existing Claude Code / Codex logins — zero config. Only DeepSeek needs a token.
For DeepSeek, we recommend the OpenCode Go plan (lowest cost, includes DeepSeek V4). Once you have a key, edit ~/.handoff/config.yaml and change just the ANTHROPIC_AUTH_TOKEN line:
⚠️ OpenCode Go users: you need a local proxy to use OpenCode Go with Claude Code. See routatic/proxy.
# ~/.handoff/config.yaml — handoff init generates this for you
backends:
deepseek: # ← first = default
type: claude
model: deepseek-v4-flash
pro_model: "deepseek-v4-pro[1m]"
env:
ANTHROPIC_BASE_URL: https://api.deepseek.com/anthropic
#for opencode-go you have to setup local proxy
#see: https://github.com/routatic/proxy
ANTHROPIC_AUTH_TOKEN: "sk-..."
ANTHROPIC_MODEL: "{model}"
opus: # local claude login — zero config
type: claude
...
codex: # local codex login — zero config
type: codex
...
Go back to Claude Code and say:
Make a plan, then hand it to
/handoff-ds.
The task runs in the background; your session is never blocked. When it finishes, the agent reads the result and reports back.
| What you say | From | Hands off to | Best for |
|---|---|---|---|
/handoff-ds | Claude Code | DeepSeek V4 | Execution work: writing code, running tests, refactors, bulk edits |
handoff-ds (custom agent) | Codex | DeepSeek V4 | Same as above — use this when you're inside Codex |
/handoff-gemini / handoff-gemini | Claude Code / Codex | Gemini | Execution or investigation delegated to Gemini |
/handoff-codex | Claude Code | Codex (GPT-5.5) | Heavy reasoning, second opinions, hard bugs |
handoff-opus (custom agent) | Codex | Claude Opus | Decisions that deserve the top model |
Codex has no slash commands — mention the custom agent by name instead: say "have
handoff-dsexecute the task above."
Inside Claude Code, expand the background shell and you'll see live progress right there — it renders in the shell view and uses none of your main session's context. To browse history or follow a task on its own, use handoff list and handoff tail (see the FAQ below).
Dispatching and resuming are the AI's job (handoff run / handoff resume under the hood). These two commands are for you — browse the list, watch the progress:
handoff list / handoff ls — interactive TUI over your full task history. See the full prompt, live status, and final result; press O on a row to reload that conversation and keep chatting.
handoff tail <run-id> — follow a task's output stream live, like looking over its shoulder.
Yes. Inside handoff list and handoff tail, press D to toggle between textual-dark and textual-light. Your choice is saved automatically to ~/.handoff/tui_state.json and restored next time you run the TUI.
Yes. Have your agent send off several tasks in one message. Each runs on its own and reports back on its own — they never get in each other's way.
pipx install handoff-cli or pip install handoff-cli work just as well. From source:
git clone https://github.com/dazuiba/handoff && cd handoff
uv tool install -e .
handoff init
Add one more entry under backends — any Anthropic-compatible endpoint works:
backends:
kimi:
type: claude
model: kimi-k3
env:
ANTHROPIC_BASE_URL: https://api.moonshot.cn/anthropic
ANTHROPIC_AUTH_TOKEN: "${MOONSHOT_API_KEY}"
ANTHROPIC_MODEL: "{model}"
The env block is entirely yours — every key=value you set is exported before the CLI launches. {model} substitutes the resolved model name, ${ENV_VAR} expands from your shell. Run handoff env to see where everything lives. Full details: configuration docs (Chinese) →.
claude -p / codex exec) in an isolated context and streams the full output to disk.RESULT=<path-to-result-file>. Progress goes to the background shell view — never into your main context.RESULT= path is also a stable handle for the conversation: every follow-up round resumes the same session.More docs
run / resume / list / tail / env / init, run-id encoding, on-disk file layout.${ENV} interpolation, include, custom backends..github/
workflows/
publish.yml
.gitignore
bump-version.md
CHANGELOG.md
CLAUDE.md
cli/
__init__.py
backend_types.yaml
backend.py
commands/
__init__.py
env.py
init.py
list.py
new.py
open.py
resume.py
run.py
session_target.py
tail.py
config.py
core.py
jsonl_parser.py
jsonl_viewer.py
main.py
runtime_info.py
skills/
handoff-codex/
agents/
openai.yaml
SKILL.md
handoff-ds/
handoff-ds.toml
SKILL.md
handoff-gemini/
handoff-gemini.toml
SKILL.md
handoff-opus/
handoff-opus.toml
SKILL.md
stream.py
tui.py
user_config_template.yaml
version_check.py
docs/
assets/
claude-code.jpg
codex.jpg
handoff-hero.jpg
list-tui.jpg
parallel.jpg
shell.jpg
tail.jpg
cli-reference.zh-CN.md
configuration.zh-CN.md
design.zh-CN.md
handoff-cli-architecture.md
TODO.md
Makefile
pyproject.toml
README.md
README.zh-CN.md
scripts/
release.sh
tests/
test_backend.py
test_init_links.py
test_markdown_parser.py
test_resume.py
test_runtime_info.py
test_session_target.py
test_tui_mouse.py
test_tui_status.py
uv.lock© 2026 Flowy · Free and open source
Built for Claude Code · Not affiliated with Anthropic