Rmuxのロゴ

Rmux

組織人気
Helvesec
rmux

Guide for using RMUX with Claude Code, including the tmux-compatible CLI, agent automation waits, the typed SDK, browser web-share, and the rmux claude launcher.

概要

公開者Helvesec
リポジトリrmux
スキル名rmux
スター
2.6K
フォーク
156
同梱ファイル
指示のみ
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    HelvesecがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキルRmuxをTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/Helvesec/rmux/tree/main/resources/claude/skills/rmux
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/Helvesec/rmux.git /tmp/rmux
mkdir -p .claude/skills
cp -r /tmp/rmux/resources/claude/skills/rmux .claude/skills/rmux
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでRmuxを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあると、モデルが自動的にRmuxを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Rmuxは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、未使用のスキルにはコストがかかりません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

RMUX

RMUX is a Rust terminal multiplexer with a tmux-compatible CLI, a typed SDK, browser web-share, and a Claude Code launcher. Prefer checking the installed binary instead of assuming a version:

sh
rmux -V
rmux list-commands
rmux list-commands send-keys

If RMUX is missing, suggest installing the published package for the user's platform or cargo install rmux --locked.

This repository ships this source copy at resources/claude/skills/rmux/SKILL.md so the project can package and install it without keeping a hidden .claude directory in the source tree. To use the guidance, run rmux claude install-skill; it installs a user-level copy under ~/.claude/skills/rmux on Linux/macOS or %USERPROFILE%\.claude\skills\rmux on Windows.

Claude Code

Use rmux claude [args...] to run Claude Code inside an RMUX workspace with tmux teammate mode enabled.

sh
rmux claude
rmux claude --dangerously-skip-permissions

RMUX passes --teammate-mode tmux to Claude and scopes a private tmux shim to the Claude process. The shim lets Claude's tmux-compatible teammate commands drive RMUX panes without replacing the user's system tmux. Set RMUX_DISABLE_TMUX_SHIM=1 only when the user explicitly wants to disable that shim.

For reliable Claude Code workflows, prefer rmux claude over starting a plain daemon from inside an arbitrary Claude shell. On Unix, if the user is not using rmux claude and their daemon is killed when Claude recycles a shell, starting the daemon with setsid rmux new-session -d -s NAME can detach it from that shell. setsid is Unix-only; on Windows, use rmux claude.

Agent Automation

Avoid blind sleeps. Send input with a bounded wait and inspect output when needed:

sh
rmux new-session -d -s work
rmux send-keys -t work --wait quiet --stable-for 500ms --timeout 2m -- 'cargo test' Enter
rmux capture-pane -t work -p

Recommended waits:

  • --wait quiet waits for output to settle and is the default choice for builds, tests, and shell commands with unknown final text.
  • --wait-next-text TEXT waits for new output only and avoids matching old scrollback.
  • --wait-visible-text TEXT waits for rendered visible text.
  • --wait-pane-exit is for one-shot pane processes that are expected to exit.
  • Always pair waits with --timeout.

When using send-keys with any --wait* flag, put -- before the payload keys. --wait-text and --wait-next-text observe raw PTY output, including shell echo. If the marker appears in the command itself, prefer --wait quiet or disable shell echo first.

Useful automation commands:

sh
rmux wait-pane -t work --quiet --timeout 30s
rmux stream-pane -t work --lines
rmux collect-pane-output -t work --until-pane-exit --max-bytes 1048576

CLI Basics

RMUX mirrors tmux syntax for common session, window, and pane operations:

sh
rmux new-session -d -s NAME
rmux attach-session -t NAME
rmux list-sessions
rmux split-window -h -t NAME
rmux split-window -v -t NAME
rmux list-panes -t NAME
rmux kill-session -t NAME
rmux kill-server

Use rmux list-commands COMMAND to confirm the exact tmux-compatible flags for the installed version.

Web Share

Use rmux web-share to open an existing pane or session in a browser. Operator links can send input; spectator links are read-only.

sh
rmux web-share
rmux web-share -t work
rmux web-share --spectator-only
rmux web-share --operator-only
rmux web-share --tunnel-provider localhost-run
rmux web-share --no-pin
rmux web-share --ttl 3600
rmux web-share list
rmux web-share stop SHARE_ID

For public read-only demos, prefer --spectator-only and put external per-client throttling at the tunnel, CDN, or reverse proxy layer.

SDK

RMUX exposes typed SDKs. The Rust crate is rmux-sdk; Python is librmux; TypeScript is @rmux/sdk. Prefer the SDK for structured automation instead of parsing terminal text when the task is programmatic.

Rust shape:

rust
use rmux_sdk::{EnsureSession, EnsureSessionPolicy, Rmux, SessionName};

let rmux = Rmux::builder().connect_or_start().await?;
let session = rmux
    .ensure_session(
        EnsureSession::named(SessionName::new("work")?)
            .policy(EnsureSessionPolicy::CreateOrReuse)
            .detached(true),
    )
    .await?;

let pane = session.pane(0, 0);
pane.send_text("printf 'ready\\n'\n").await?;
pane.wait_for_text("ready").await?;
let snapshot = pane.snapshot().await?;
println!("{}", snapshot.visible_text());

Key SDK reminders:

  • send_text sends text; include a trailing newline when the shell should run the command.
  • send_key sends a named key such as Enter or C-c.
  • Prefer daemon-side waits such as wait_for_text_next when available.
  • Killing the last session can shut down the daemon; reconnect before more operations.

よくある質問

AIスキル「Rmux」では何ができますか?

Guide for using RMUX with Claude Code, including the tmux-compatible CLI, agent automation waits, the typed SDK, browser web-share, and the rmux claude launcher.

TypingMindでRmuxを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Rmuxはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにRmuxをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/Helvesec/rmux/tree/main/resources/claude/skills/rmuxを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Rmuxを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストが合致したときにこのスキルを読み込めます。

Rmuxは何個のAIモデルで使えますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもRmuxを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Rmux」は無料ですか?

HelvesecがGitHubで公開しています。ライセンス条件はリポジトリでご確認ください。支払いが必要なのは、利用したトークンに対する、ご自身が契約するAIプロバイダーへの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇