Tsunagi — AI skill for Claude Code
Local router that lets Claude Code switch between Claude and OpenCode models with /model.
How to install Tsunagi
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open silent9669/tsunagi and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Tsunagi does
Local router that lets Claude Code switch between Claude and OpenCode models with /model. Design stage.
Alternatives in AI
- EchoBird — One-click install + model switch:Claude Code,Codex CLI (OpenAI), Grok Build (xAI), DeepSeek Harness, Kimi Code 3.1k ★
- Aisw — AISW AI Switcher - Switch between multiple Claude Code, Codex CLI, Antigravity and Gemini CLI accounts in one 114 ★
- Prometheus — 电脑、手机、浏览器、终端共用同一个 AI Agent 会话 49 ★
README
tsunagi (繋ぎ)
Run Claude Code against Claude and many other providers' models from one terminal session, using your own keys and without touching your Claude subscription credentials.
**Status: Phase 2 built, not yet checked against the live services.** Router, launcher, keychain login, provider list, live watch, the models.dev catalogue, opencode import, Responses and chat translators, and Sign in with ChatGPT are implemented and covered by tests with fake upstreams. Nothing has yet been run end to end against a real provider, and Grok sign-in is not built.
Why
Claude Code reads one `ANTHROPIC_BASE_URL` per process, so `/model` cannot switch between providers. Subagent-only tools such as cameo let other models appear as subagents, but a delegated model cannot own a whole task end to end.
tsunagi is a small local router. Claude Code talks to it, and it forwards each request by its `model` field:
| Model | Destination | Credential |
|---|---|---|
Claude (claude-*) |
https://api.anthropic.com, request forwarded untouched |
Your own Claude Code login, as sent by the unmodified client |
/ |
That provider (OpenCode, OpenRouter, DeepSeek, Kimi, GLM, MiniMax, Qwen, Fireworks, local) | Your key for it, from the macOS keychain |
| Any other name | The default provider | Its key |
`/model` then switches providers like it switches Claude models.
Goals
- One Claude Code session, one
/modelpicker, two providers. - The Claude branch forwards the request body and headers unchanged. No header rewriting, no token handling, no logging of credentials.
- Scoped to a terminal process. Your normal Claude desktop app and plain
clauderuns stay untouched. - macOS only for now.
- Hand off a plan from a normal Claude session to a tsunagi session, and report back when done.
Non-goals
- Pooling or sharing Claude subscription credentials.
- Serving other people or other tools from the same proxy.
- Impersonating Claude Code or rewriti
Related Skills
Claude Code Model Router
A lightweight API gateway that lets you switch to third-party AI models when using Claude Code.
Model Relay
Per-window model switcher, subagent router, and automatic 429 failover for Claude Code — switch any window wit
Cerno Agentic Local Deep Research
Cerno is a local-first research platform that leverages agentic AI to break down complex queries into verifiab
Backend Switchboard
Switch Claude Code between your Anthropic subscription, Argo, MAG and ALCF models with /model
Agent Switch
A free, lightweight AI gateway manager that lets Codex and Claude clients share a switchable, observable local
Claudegate
ClaudeGate - A CLI wrapper that lets you switch between Anthropic, OpenRouter, Z.AI, Kimi K2, Novita AI, and c
Related Agents
Opencode
Coding subagent that runs inside opencode, on any provider and model opencode supports (OpenAI, Google, Moonsh
Model Scout
Reviews AI model candidates and existing catalog entries for the model library at ~/.claude/router/models/ (ca
Ollama Expert
Local LLM expert — Ollama, Gemma, Llama, quantization, Modelfiles, router fast↔heavy. Use for my-assistant (lo