Skip to main content

zellij-team

Use when spawning parallel Claude agent workers in visible Zellij panes — multi-agent visual coordination with real-time observation and ctrl-c control. Replaces tmux-based agent teams.

来源信息

仓库
ryanmaclean/skills
最近来源活动
2026年4月15日 03:58
检测到的 SKILL.md 语言
英语
星标
1
分支
0

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

文件资源管理器
2 个文件

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
zellij-team
description
Use when spawning parallel Claude agent workers in visible Zellij panes — multi-agent visual coordination with real-time observation and ctrl-c control. Replaces tmux-based agent teams.
# Zellij Team — Parallel Claude Agents in Zellij Panes ## Overview Spawn N parallel `claude` workers, each in its own Zellij pane, so you can watch them work simultaneously and ctrl-c any pane to kill a runaway agent. This is the Zellij-native equivalent of Claude Code's tmux agent teams backend. The current session is the **team leader**. Workers are spawned with explicit task prompts and run until they exit or you kill them. ## Quick Start ```bash # Spawn 3 agents on explicit tasks nu ~/.claude/skills/zellij-team/zellij-team.nu \ --tasks ["Fix the auth bug in src/auth.ex" \ "Write tests for ElixirGastown.LLM.RateLimiter" \ "Update README with new rate-limiter docs"] # Spawn from task files nu ~/.claude/skills/zellij-team/zellij-team.nu \ --files [tasks/auth-fix.md tasks/test-rate-limiter.md tasks/docs.md] # Custom session / tab name nu ~/.claude/skills/zellij-team/zellij-team.nu \ --tab "gas-city-workers" \ --tasks ["task A" "task B"] ``` ## Interaction Model | Action | How | |--------|-----| | Watch agents | Look at each pane — they stream output live | | Kill one agent | `ctrl-c` in that pane | | Kill all | Close the Zellij tab | | Switch panes | `Alt+arrow` | | Zoom a pane | `ctrl-p z` | | Send input to agent | Click pane, type (only if agent paused at a question) | ## Layout Workers open in a **new tab** in the current Zellij session, auto-split: - 2 workers → side by side (vertical split) - 3–4 workers → 2×2 grid - 5–6 workers → 2 rows, 3 cols - 7+ workers → 3 rows The tab is named `team-<timestamp>` by default, or `--tab NAME`. ## Agent Flags Used Workers run with: ``` claude --dangerously-skip-permissions --permission-mode bypassPermissions ``` Rationale: workers are short-lived, task-scoped subprocesses. You (the leader) are watching and can ctrl-c. Full interactive permission prompts would stall them. Override with `--mode default` if you want workers to prompt for permissions. ## Token Efficiency Each worker has its own context window. Keep task prompts focused: - Good: "Fix the 3 failing tests in test/rate_limiter_test.exs" - Bad: "You are an expert engineer, please consider all aspects of..." Use `--effort low` on workers for routine tasks, `high` only for complex ones. ## Key Rule: Never Hardcode Session Name Uses `$ZELLIJ_SESSION_NAME` — see zellij skill for the canonical pattern.
在 GitHub 查看