tmux-pi
БесплатноБез исполняемых скриптовНе проверенDelegate and oversee work in tmux-hosted Pi agents. Triggers: "🧵", "thread", "delegate", "orchestrate", "oversee", "worktree", "wt", "spawn", "FAF", "🔥"…
от richardgill★ 39 звёзд на GitHubОб этом скилле
tmux-pi
Delegate work
Delegate work to another Pi:
- In the current tmux session and working directory by default.
- In another existing repo or worktree tmux session with
--target. - In a new worktree and tmux session with
--worktree. This pulls localmainfirst and creates the branch from its updated HEAD unless--source-refis supplied.
Delegation remains supervised without blocking the parent. tmux-pi launches the child with the parent Pi session ID, reports the child Pi session ID and tmux window, then returns. The pi-ipc extension notifies the parent after every child agent_settled event.
Launch the delegate
For --task-slug choose a human-readable lowercase task slug of at most 13 characters using only letters, numbers, and internal hyphens; it must start and end with a letter or number. tmux-pi only accepts prompt files. Use an existing issue, plan, design, or spec, or write generated prompt text to a temporary file first.
Child prompts must contain only the delegated work. Do not forward parent-only orchestration such as "in a thread," subsequent tasks, cleanup, or supervision. The child reports its result; the parent owns follow-on work.
wtmeans spawn in a new worktree using--worktree. Ask whether callbacks should be enabled unless the request already specifies normal supervision, no callback,FAF, or🔥.FAFand🔥mean fire-and-forget: launch with--no-callbackand do not supervise the child.- Delegated Pis may delegate distinct, self-contained subtasks by default. Use
--block-nestedwhen the launched child must not use supervised delegation. Fire-and-forget delegation with--no-callbackremains allowed. - Fast mode is disabled for delegated agents by default, even if saved Pi settings enable it. Pass
--no-fastexplicitly in launch commands; use--fastonly when the user asks for fast mode. If both flags are passed,--no-fastwins, matching upstream Pi. These flags never change the model or thinking level.
When running tmux-pi, confirm the launcher reaches Launched; if slow worktree setup moves the command to the background, wait only for its automatic completion notification and do not poll it.
Current tmux session and working directory (fast mode off, even when saved Pi settings enable it):
tmux-pi \
--no-fast \
--task-slug 'auth-research' \
--prompt-file '<prompt-file>'
Launch without a callback to the parent:
tmux-pi \
--no-fast \
--no-callback \
--task-slug 'auth-research' \
--prompt-file '<prompt-file>'
A no-callback child remains available in its tmux window, but the parent must not wait for, supervise, or expect a completion notification from it. It's fire-and-forget.
Launch a child that can only delegate fire-and-forget work:
tmux-pi \
--no-fast \
--block-nested \
--task-slug 'auth-research' \
--prompt-file '<prompt-file>'
Another existing repo or worktree tmux session:
tmux-pi \
--no-fast \
--task-slug 'auth-research' \
--prompt-file '<prompt-file>' \
--target '<repo-or-worktree>'
New worktree from local main HEAD always uses the strong profile:
tmux-pi \
--no-fast \
--task-slug 'auth-research' \
--prompt-file '<prompt-file>' \
--worktree '<branch>' \
--model "openai/gpt-6.2-sol" \
--thinking "high"
Add --source-ref '<ref>' only when the worktree should start from an explicit source ref. Add --pi-session, --model, or --thinking when supplied by the request. Skill metadata delegates use --skill --block-nested when pi.allowChildDelegation is false; --skill marks the child without exposing PI_SKILL_CHILD at the call site.
tmux-pi launches the child with PI_CHILD=1, PI_TASK_SLUG=<task-slug>, and, unless --no-callback is used, PI_PARENT_SESSION_ID=<parent-session-id>. --block-nested adds PI_BLOCK_NESTED=1; a process with that marker can invoke tmux-pi only with --no-callback (fire-and-forget). Skill children also receive PI_SKILL_CHILD=1. Keep the task, child Pi session ID, and window from its output available for supervision when callbacks are enabled.
Child will let you know when it's finished; no need to wait or poll. Do not use capture-pane, bash_process, sleep, or repeated status commands while waiting. Inspect the pane only if the notification is incomplete or the user explicitly requests live monitoring.
Oversee delegated work
Use pi-jq to read Pi session.jsonl files.
When pi-ipc delivers a pi-ipc.delegate-settled notification, use the delegated status embedded in the notification as the primary report. Do not run pi-jq again unless the embedded status is incomplete, reports an inspection failure, or richer diagnostics are necessary. Use tmux capture-pane only if session inspection fails or terminal-only state is required.
If the task remains unresolved, send follow-up instructions with pi-ipc-send using the child Pi session ID recorded a
Установить tmux-pi в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл tmux-pi?
Delegate and oversee work in tmux-hosted Pi agents. Triggers: "🧵", "thread", "delegate", "orchestrate", "oversee", "worktree", "wt", "spawn", "FAF", "🔥". Use for launching, monitoring, following up with, or coordinating delegated Pi work.
Как установить скилл tmux-pi?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл tmux-pi запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic