silent9669

Tsunagi — AI skill for Claude Code

AI community

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 /model picker, 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 claude runs 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