claude-kimi-teammate
Installation
SKILL.md
claude-kimi as an interactive tmux teammate
This is a lightweight replacement for the built-in teammate feature (TeamCreate / SendMessage), which only supports internal subagents. claude-kimi is an external CLI — another Claude Code instance — so we coordinate via tmux instead.
Architecture
- My pane: where the user is talking to me (read from
$TMUX_PANE, e.g.%29). Full pane target is$TMUX_PANEitself — tmux accepts bare pane IDs as targets. - Teammate pane: a new tmux window in the same session running
claude-kimiinteractively. - Me → teammate:
tmux send-keys -t <teammate-pane> -l "<msg>" && tmux send-keys -t <teammate-pane> Enter - Teammate → me:
tmux send-keys -t <my-pane> -l "<msg>" && tmux send-keys -t <my-pane> Enter— lands as a normal user-prompt turn for me. - User → both:
tmux attachto the session;Ctrl-b <n>to switch windows; type in either.
Spawning the teammate
- Verify I'm in tmux: require
$TMUXand$TMUX_PANEto be set. If not, fall back toclaude-kimi -pbackground mode and tell the user. - Pick a window name based on the task (e.g.
kimi-video,kimi-auth). Keep it short, prefix withkimi-. - Create the window in the current session (use
-c <cwd>so it starts in the project dir):