/remote-claude-session:remote-claude-sessionfrom remote-claude-session
Launches a new Claude Code remote session (claude --rc) inside tmux and returns its URL. Use when asked to start a remote Claude session or connection.
Ships in remote-claude-session. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
${CLAUDE_SKILL_DIR}/scripts/tmux-claude-rc で起動し、出力されたremote sessionのURLをユーザーに伝える。
過去にclaudeを使ったディレクトリは ~/.claude/projects/ のディレクトリ名から分かる。ディレクトリ名はpathの / や . など英数字以外の文字を - に置き換えたもので、元のpathを一意には復元できない。実在を確かめてからpathを決める。
既存のtmux sessionにwindowとして足すか、新規のtmux sessionを作るかを、AskUserQuestionでユーザーに確認する。既存sessionの選択肢には、起動するディレクトリで作業しているsessionを挙げる。
${CLAUDE_SKILL_DIR}/scripts/tmux-claude-rc -w <ディレクトリパス> <session名>${CLAUDE_SKILL_DIR}/scripts/tmux-claude-rc <ディレクトリパス> <session名>。session名は指示の内容に合わせて簡潔に決める。指示に作業内容が無ければproject名にするWhat SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub shokai/agent-skills --plugin remote-claude-sessionOther plugins' skills for the same job