<< All versions
Skill v1.0.0
currentAutomated scan100/100voidlight00/3fools-pingpong/3fools-tmux-bootstrap
──Details
PublishedSeptember 28, 2026 at 06:49 AM
Content Hashsha256:813c79726d99bec4...
Git SHA
──Files
Files (1 file, 3.1 KB)
SKILL.md3.1 KBactive
SKILL.md · 77 lines · 3.1 KB
version: "1.0.0" name: 3fools-tmux-bootstrap description: 3fools-pingpong init 시 tmux 3 pane(2/3/4) 스폰 + 각 pane에서 claude/codex/vgemini CLI 부트 + 영어 브리핑 전송 방법론. 3fools-installer 에이전트가 사용. tmux 미설치/세션 중복 안전 처리, layout 결정론(상단=pane4 메인 / 좌하=pane2 / 우하=pane3).
3fools-tmux-bootstrap
목적
init 시 tmux 3 pane을 결정론적으로 스폰하고 각 pane에서 CLI를 부트한 뒤 영어 브리핑을 전송. installer 에이전트가 호출.
사전 조건
- doctor C1 PASS (tmux ≥ 3.0)
- doctor C2/C3/C4 PASS (claude/codex/vgemini)
- tmux 세션
3fools-<slug>미존재 (있으면 사용자에게 확인)
레이아웃
┌──────────────────────────────┐│ pane 4 (top, main) ││ claude (Opus 4.x) ││ ROUTER + USER INPUT │├───────────────┬──────────────┤│ pane 2 │ pane 3 ││ codex │ vgemini ││ IMPL │ EXPLORE │└───────────────┴──────────────┘
스폰 시퀀스
bash
SLUG="<slug>"ROOT="<project-root>"# 새 세션 + pane 4 (상단)tmux new-session -d -s "3fools-$SLUG" -c "$ROOT" -n main# 가로 분할 (pane 4 위, 새 pane 아래)tmux split-window -t "3fools-$SLUG:main" -v -c "$ROOT"# 아래 pane을 세로 분할 (pane 2 좌, pane 3 우)tmux split-window -t "3fools-$SLUG:main.1" -h -c "$ROOT"# 비율 조정 — 상단 50%, 하단 좌우 25%씩tmux resize-pane -t "3fools-$SLUG:main.0" -y 50%# 각 pane에 CLI 실행tmux send-keys -t "3fools-$SLUG:main.1" "codex" Enter # pane 2tmux send-keys -t "3fools-$SLUG:main.2" "vgemini" Enter # pane 3tmux send-keys -t "3fools-$SLUG:main.0" "claude" Enter # pane 4# CLI 부트 대기 (약 3~5초)sleep 5# 영어 브리핑 전송tmux send-keys -t "3fools-$SLUG:main.1" '[3fools init] You are 3fools-impl-gpt (implementation owner). Read SPEC.md and ~/.claude/agents/3fools-impl-gpt.md. Listen on handoffs.jsonl for status:sent, to:pane2. Reply in Korean. Standby.' Entertmux send-keys -t "3fools-$SLUG:main.2" '[3fools init] You are 3fools-explorer-gemini (verification owner). Read SPEC.md and ~/.claude/agents/3fools-explorer-gemini.md. 5-line max output budget. Reply in Korean. Standby.' Enter
안전 룰
- pane 인덱스는 절대 하드코딩 X —
tmux list-panes -t "3fools-$SLUG:main" -F '#{pane_index} #{pane_id}'동적 확인 - 부트 실패 시
tmux kill-session -t "3fools-$SLUG"후 사용자 보고 - 이미 같은 슬러그 세션 있으면 attach 권고 (덮어쓰기 X)
tmux Enter 룰 (메모리)
모든 send-keys는 텍스트 + Enter 2단계로 분리하거나 한 줄에 Enter로 명시. 메시지 안에 줄바꿈 있으면 tmux send-keys -l '<literal>' 사용.
teardown (kill 모드 시)
bash
tmux kill-session -t "3fools-$SLUG"
사용 에이전트
- 3fools-installer (init 시)
- 3fools-conductor (kill 시 teardown)