一键导入
zellij
Use when manipulating Zellij sessions, creating tabs or panes, or looking up Zellij CLI commands for terminal multiplexer operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when manipulating Zellij sessions, creating tabs or panes, or looking up Zellij CLI commands for terminal multiplexer operations
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Long-running iterative development loops with pacing control and verifiable progress. Use when tasks require multiple iterations, many discrete steps, or periodic reflection with clear checkpoints; avoid for simple one-shot tasks or quick fixes.
Use ask_user as a decision, research, and requirements gate before ambiguous or high-stakes choices.
Versitile project planning skill for tracking ideas, defining detail and tracking progress on delivery. Use when you need to create, manage, or understand project planning artifacts like Epics, Stories, Tasks, Research, and Decisions. Follow the defined workflow phases and artifact relationships to ensure consistent and effective project planning. Results in well-structured project plans, clear traceability, and informed decision-making throughout the project lifecycle.
Use when understanding an unfamiliar code library, reusing cached local repo docs, or generating repo-native AGENTS.md and llms.txt navigation for cloned libraries.
Search local markdown knowledge bases, notes, docs, and wikis with QMD. Use when users ask to find notes, retrieve documents, inspect a wiki, answer from indexed markdown, or set up QMD access.
Working with Pi-Coding-Agent and modifying it via extensions. Use when you need to modify Pi-Coding-Agent's behavior or add new features to it. This skill routes you to the correct subskill.
| name | zellij |
| description | Use when manipulating Zellij sessions, creating tabs or panes, or looking up Zellij CLI commands for terminal multiplexer operations |
Quick reference for Zellij CLI commands to manipulate running sessions. Covers session management, tabs, and panes.
When NOT to use:
| Task | Command |
|---|---|
| Create/attach session | zellij attach --create <name> or zellij -s <name> |
| List sessions | zellij list-sessions |
| Kill session | zellij kill-session <name> |
| Delete session | zellij delete-session <name> |
| Task | Command |
|---|---|
| New tab | zellij action new-tab |
| New tab with name | zellij action new-tab --name <name> |
| New tab with cwd | zellij action new-tab --cwd <path> |
| New tab with layout | zellij action new-tab --layout <layout> |
| Close tab | zellij action close-tab |
| Rename tab | zellij action rename-tab <name> |
| Go to tab by name | zellij action go-to-tab-name <name> |
| Go to tab by index | zellij action go-to-tab <index> |
| Task | Command |
|---|---|
| New pane (auto) | zellij action new-pane |
| Split right | zellij action new-pane --direction right |
| Split down | zellij action new-pane --direction down |
| Floating pane | zellij action new-pane --floating |
| Floating with size | zellij action new-pane --floating --width 80% --height 60% |
| Pane with command | zellij action new-pane -- <command> |
| Close pane | zellij action close-pane |
| Rename pane | zellij action rename-pane <name> |
New tab for specific task:
zellij action new-tab --name "backend" --cwd ~/api
Split pane and run command:
zellij action new-pane --direction down -- npm run dev
New pane with guaranteed working directory:
# For interactive shell with specific directory
zellij action new-pane --cwd /path/to/dir
# For command that must run in specific directory
zellij action new-pane --cwd /path/to/dir -- sh -c 'cd /path/to/dir && your-command'
# For nvim that must start in specific directory
zellij action new-pane --cwd /path/to/worktree -- sh -c 'cd /path/to/worktree && nvim'
Floating scratch terminal:
zellij action new-pane --floating --width 90% --height 90%
❌ Using new-pane --horizontal
Correct: --direction down (not --horizontal)
❌ Confusing toggle with create
toggle-floating-panes = show/hide existing floating panesnew-pane --floating = create NEW floating pane❌ Forgetting action subcommand
Wrong: zellij new-tab
Right: zellij action new-tab
❌ Pane not starting in correct directory
Problem: Using --cwd alone doesn't always ensure the command runs in that directory
# ❌ Wrong - nvim might not start in the right directory
zellij action new-pane --cwd /path/to/worktree -- nvim
# ✅ Correct - explicitly cd first
zellij action new-pane --cwd /path/to/worktree -- sh -c 'cd /path/to/worktree && nvim'
zellij action commands work inside or outside a session-- to separate pane command from zellij optionsright, left, up, down80%)