Bring the yapcode voice agent into a Claude Code session you're running in
your terminal, so you can continue your work by voice while still typing in the same
session. One claude process, driven by your keyboard and the voice agent at once (via
tmux's multi-client attach) — no second process, no jumbled history.
/voice-handoff— a slash command that registers the current session with your local yapcode backend so the voice agent can co-drive it.yapcode— a launcher (bin/yapcode) you use instead ofclaudeto start a session that's voice-ready from the first moment (so/voice-handoffis instant, no restart).
- The yapcode backend running on this machine (
yapcode up— or, for development,cd backend && ./run.sh; defaulthttp://localhost:8000). tmuxinstalled.
# once, from any terminal — installs at user scope, available in every session:
claude plugin marketplace add nithiink/yapcode
claude plugin install yapcode@yapcode
# (same thing from inside a session: /plugin marketplace add … then /plugin install …)
# or, for plugin development, load for one session only:
claude --plugin-dir /path/to/yapcode/integrations/claude-code-pluginPut the launcher on your PATH so you can run yapcode:
ln -s /path/to/yapcode/integrations/claude-code-plugin/bin/yapcode ~/.local/bin/yapcodeOn the same machine, no config is needed — it talks to http://localhost:8000 and localhost
needs no token. To reach a remote backend, set:
export YAPCODE_URL="https://your-backend" # e.g. a tunnel URL
export YAPCODE_TOKEN="your VC_AUTH_TOKEN" # required when the backend has one setSeamless (recommended) — start voice-ready:
yapcode # instead of `claude`; drops you into a voice-ready session
> …work normally, typing…
> /voice-handoff # voice switches on — keep typing here, open the app to talkFrom a session you already started with plain claude:
> /voice-handoff
# yapcode reopens this session under voice management and prints a
# tmux attach -t vc_xxxxxxxx
# command. Press Ctrl-D to leave this process, then run that command to keep
# typing in the same session while the voice agent also drives it.When co-driving, don't type and talk in the exact same instant — keystrokes from both clients share one terminal; take turns.