Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By ikmskiv0.11.3MITIn 1 marketplace
agent view(claude agents)のバックグラウンドセッションを、リポジトリごとの tmux session / window で一覧・行き来する mod
Code that runs inside Claude Code on every session, as you, unsandboxed.
1 critical to review before installing
JavaScript or TypeScript that runs inside Claude Code as you, unsandboxed. Read from its source, it sees, changes or blocks tool calls; runs programs.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
agent view(claude agents)のバックグラウンドセッション(claude --bg)を、リポジトリごとの
tmux session / window で扱うための mod。ペインで一覧を見て、行からそのセッションの window へ移る。
モデルは一覧・window の用意・停止ができる。
user scope で入れ、どのセッションでも使う。起動時はコマンドと遅延読み込みのツールを登録し、
人がいるセッション(-p や SDK ではないもの)ではペインを開く。プロンプトの上の帯の右端のボタン(表示中は »、
閉じているときは «)か /tmux-agents で開閉する。手で閉じても、次のセッション開始(起動・/clear・再読み込み)でまた開く。
起動時に自動で開いたペインは、端末が 144 列(一度でも手で開いたことがあれば 110 列)未満だと表示されずに待つ。
そのときは帯の « を押せば幅に関係なく表示される。
一覧はペインが表示されている間だけ 15 秒おきに読み直す(1 回ごとに claude agents を起動する。
画面の無いバックグラウンドセッションや表示されずに待っている間は読まない)。
session-hub から入れ替えるときは、session-hub をアンインストールしてから tmux-agents を入れる。
バックグラウンドのセッションは prefix A(tmux-claude-attach)から「新しいセッション」として
起動する。対話型の claude を /bg すると、セッション ID が変わるのに window の印
(@claude_session)は付かないので、そのセッションへ移るたびに window が 1 つ増える。
tmux-project と tmux-claude-attach が PATH にあること。どちらも ikmski/nix-config が
~/.local/bin に置く。この mod が使うのは次の形:
tmux-project -l: リポジトリの候補tmux-project -d <path>: tmux session を用意するだけで client を切り替えず、session 名を出すtmux-claude-attach -d -t <session> -i <sessionId>: window を作るだけで
切り替えず、window 名を出すtmux-claude-attach -d -t <session> -n <LABEL>: 新しいセッションを名前を付けて起動し、その window を
作るだけで切り替えず、window 名を出す。名前の規則は tmux-claude-attach が持つtmux-claude-attach -t <session> [-i <sessionId>] -c <client>: ユーザーの client を
その window へ切り替える。この mod を動かすセッションは tmux の外にいることもあるため、client は明示する一覧・window の用意・停止はどのセッションからでも言葉で頼め、モデルがツール(mcp__tmux-agents__session-*)を使う。
人が打つコマンドは、ペインの開閉・画面の切り替え・削除の 3 つだけ。名前は 1 つずつ登録し、
Claude Code に断られたものだけが欠けて、その旨を transcript に出す。
tmux-claude-attach -n が用途(review、aws-s3
など。モデルが付ける)から名前を付けて起動するので、prefix A の「新しいセッション」と同じ名前の付き方になる。
名前は用途だけでリポジトリ名は含めず、同じ名前があれば -2, -3 …、用途が無ければ 1, 2 …。
リポジトリはペインの見出しに出る。@claude_session を付け直す(tmux のタブの状態表示はこれで window を探す)。session-prepare(ツール): Claude session の window を、そのリポジトリの tmux session に
ユーザーの画面を切り替えずに用意し、どの session の何という window かを返す。セッション名を
指定すればそのバックグラウンドセッションに attach し、省略すればリポジトリで新しいセッションを
起動してから attach する(どちらも tmux-claude-attach が行う)。/tmux-agents-switch <session|repo>(コマンド): 同じように用意したうえで、人の画面をそこへ切り替える。
セッション名でなければリポジトリとして扱い、tmux-claude-attach の popup で選ぶ(セッションの数によらず出る)。/tmux-agents で開閉を切り替える(ペインの
閉じるマークや ctrl+x x でも閉じる)。ペインはリポジトリごとにまとめ(Claude Code の worktree
<repo>/.claude/worktrees/<name> で動くセッションはそのリポジトリの下に出す)、行を押すとそのセッションの
tmux window へ画面を切り替える。ペインには自分も出る。session-list(claude agents の JSON)。session-stop(会話は残り、attach すると再開する)はツール、/tmux-agents-rm(worktree ごと消す)は
人が打つコマンドだけ。
rm が push していないコミット等で断ったときは、その文言をそのまま返し、破棄のフラグは付けない。登録しているコマンド・ツール・フックの一覧は claude plugin validate plugins/tmux-agents が出す。
claude plugin validate plugins/tmux-agents
claude plugin test plugins/tmux-agents
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub ikmski/claude-code-plugin-marketplace --plugin tmux-agents