architecture
Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate…
Use this skill when the operator wants a prepared tmux visualization layout for the session's side-channels (STATE.md tail, CI-watch, events.jsonl tail). Renders a 4-pane default layout or debug layout. Read-only side-channel observability — the coordinator chat stays in the
Claude Code
$ npx -y skills add Kanevry/session-orchestrator --skill tmux-layout --agent claude-code
Codex
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a codex -y
Cursor
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a cursor -y
Gemini CLI
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a gemini-cli -y
GitHub Copilot
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a github-copilot -y
OpenCode
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a opencode -y
Windsurf
$ npx skills add Kanevry/session-orchestrator --skill tmux-layout -a windsurf -y
name: tmux-layout description: > Use this skill when the operator wants a prepared tmux visualization layout for the session's side-channels (STATE.md tail, CI-watch, events.jsonl tail). Renders a 4-pane default layout or debug layout. Read-only side-channel observability — the coordinator chat stays in the operator's original terminal. Trigger phrases: "tmux layout", "split panes for ci watch", "visualize session side-channels", "show me state-md tail and ci". user-invocable: true model: inherit color: cyan tools: Read, Bash, Grep, Glob
> Status: PROPOSED per ADR-0007 (`docs/adr/0007-tmux-visualization-substrate.md`). Opt-in skill — NOT default. > Project-instruction file resolution: this is `CLAUDE.md` on Claude Code / Cursor IDE; the equivalent on Codex CLI is `AGENTS.md`. See `skills/_shared/instruction-file-resolution.md`.
Render a prepared tmux layout for *operator-side observability* of the session's asynchronous side-channels — STATE.md updates, CI status, events.jsonl wave/gate transitions. NOT a coordinator chat surface, NOT a wave-agent host. The coordinator chat remains in the operator's original terminal, period (per AUQ-001 in `.claude/rules/ask-via-tool.md`).
/tmux-layout # default layout (4 panes) /tmux-layout --layout debug # debug layout (4 panes, /debug companion) /tmux-layout --json # machine-readable output (no attach) /tmux-layout --session-name my-ws # custom tmux session name /tmux-layout --force # replace existing session (PSA-003 escape hatch) /tmux-layout --with-status-pane # add a 5th pane tailing agent-status telemetry (#565) /tmux-layout --help # full CLI usage
The skill prints a one-line tmux command. Paste it into a SECOND terminal (do not run it where /tmux-layout was invoked). That second terminal becomes the layout. Your original terminal (the coordinator chat) stays where it is.
| Pane | Content | Command | |---|---|---| | 1 | **Shell** (operator scratch — NOT claude) | `bash` (interactive) | | 2 | STATE.md tail | `tail -F <state-dir>/STATE.md` | | 3 | CI watch (poll-loop wrapper) | `while true; do clear; glab ci status -R <spec> --output json \| jq -r '.jobs[] \| ...'; sleep 15; done` | | 4 | events.jsonl wave/gate filter | `tail -F .orchestrator/metrics/events.jsonl \| jq --unbuffered 'select(.event \| test("wave\|gate\|spiral"))'` | | 5 | agent-status telemetry (#565, only with `--with-status-pane`) | `while true; do clear; node --input-type=module -e '...readCurrentStatus({repoRoot:"<own lock root>"})...'; sleep 2; done` — the root holding this session's own lock, resolved once when the layout is rendered (`resolveOwnLockRootFor`, #1730); none found → `process.cwd()` |
Pane 5 renders through `readCurrentStatus()` (`scripts/lib/agent-status.mjs`), never the cache file directly (#1342): its header line `agent-status · source=<live-map|rebuilt-log|stale-cache|absent> · at=<ISO|n/a>` says WHAT is on screen, in four states — `live-map` = every shown record came from the current-map cache and the cache was VERIFIED against the ledger, `rebuilt-log` = at least one record was taken from the append-only `agent-status.jsonl` because the cache was behind (or unreadable) for that agent, `stale-cache` = no ledger to check the cache against, `absent` = nothing on disk yet (no ledger, no cache), which stays unmarked because a fresh repo is not a degradation — plus a leading `⚠` and the words STALE / `DEGRADED: <reasons>` in TEXT whenever the view is not verified live. The render command is exported as `buildStatusPaneRenderCommand({ repoRoot })` so it can be executed once (outside the poll loop) in tests; without `repoRoot` it reads its own cwd.
`<state-dir>` is resolved via `resolveStateDir()` from `scripts/lib/platform.mjs` (`.claude/`, `.codex/`, or `.cursor/`). Pane 3 command is vcs-aware (`glab` for gitlab, `gh pr checks` for github, informational `echo` fallback when no CLI).
| Pane | Content | Command | |---|---|---| | 1 | **Shell** (operator scratch) | `bash` (interactive) | | 2 | Hypothesis-test runner | `npm test -- --watch <scope>` (or per-skill-config) | | 3 | Debug-artifact tail | `tail -F .orchestrator/debug/*.md` | | 4 | Diff-watch | `watch -n 2 'git diff --stat \| head -30'` |
Three sibling modules under `scripts/lib/tmux-layout/`:
Entry point: `scripts/tmux-layout.mjs` (parseArgs from `node:util`, dispatcher to layout functions).
Session-collision policy: **refuse + `--force`**. The skill NEVER kills, overwrites, or modifies a tmux session it did not create unless the operator passes `--force` explicitly. See `.claude/rules/parallel-sessions.md` § PSA-003.
The coordinator chat (where AskUserQuestion fires) stays in the operator's
Your coding agents get an agreed plan, a check after each round of changes and a handover to the next session. A free, MIT-licensed workflow plugin for people running Claude Code, Codex CLI, Cursor IDE or Pi on a git repository.
Use when the user asks to improve architecture, find refactoring opportunities, surface deepening opportunities, consolidate…
Use this skill when running an autonomous session-orchestration loop. Chains session-start → session-plan → wave-executor →…
Use this skill when scaffolding the minimum repository structure required by session-orchestrator. Invoked automatically by the…
Use when you have a feature idea but the scope or UX is still ambiguous — runs a lightweight Socratic design dialogue (3-5 AUQ…
Use when detecting drift between CLAUDE.md (or AGENTS.md, the Codex CLI alias) / _meta narrative and live repository state. Ten…
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or…
Ask which skill or flow fits your situation. A router over the skills in this repo.