Token导航 LogoToken导航TokenDH.com
研究检索敏感数据github未标认证来源可访问许可证需确认审计异常

zellij-guide泽利指南

Agent Skill

zellij-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

256

周安装

11

GitHub Stars

191

下载量

90
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:zellij-guide(泽利指南)
来源仓库:https://github.com/wcygan/dotfiles
仓库路径:skills/zellij-guide
安装命令:
npx skills add https://github.com/wcygan/dotfiles --skill zellij-guide
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/wcygan/dotfiles --skill zellij-guide

简介

zellij-guide 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于知识库搜索、文档查找或基于特定条件过滤信息的场景。
  • 通过 npx skills add 命令从指定仓库安装,调用时传入查询参数即可返回匹配内容。
  • 安装前需确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。
  • 建议结合来源仓库和原始 README 核验具体用法,确保结果准确性和适用性。

SKILL.md

Zellij Guide — Personal Reference

Binary: /Users/wcygan/.nix-profile/bin/zellij (installed via Nix flake) Config: ~/Development/dotfiles/config/zellij/config.kdl → symlinked to ~/.config/zellij/config.kdl Layouts: ~/Development/dotfiles/config/zellij/layouts/

For exhaustive action/option/layout reference, see reference.md.


Quick Start

zellij                           # New session (random name)
zellij -s work                   # New named session
zellij -l dev                    # New session with dev.kdl layout
zellij ls                        # List sessions (including exited)
zellij a work                    # Attach to "work" session
zellij d work                    # Delete exited session

Your Keybinds (clear-defaults=true, vim-style)

Your config uses clear-defaults=true — only these bindings exist:

Normal Mode (default)

KeyAction
Ctrl hMove focus / tab left
Ctrl lMove focus / tab right
Ctrl jMove focus down
Ctrl kMove focus up
Ctrl nNew pane (auto direction)
Ctrl sNew pane down
Ctrl vNew pane right
Ctrl -New pane down
Ctrl /New pane right
Ctrl xClose focused pane
Ctrl zToggle fullscreen
Ctrl tNew tab
Ctrl wClose tab
Ctrl 1-5Go to tab 1-5
Ctrl qQuit
Ctrl dDetach
Ctrl p→ Pane mode
Ctrl r→ Resize mode
Ctrl m→ Move mode
Ctrl g→ Locked mode
Ctrl b→ Scroll mode

Pane Mode (Ctrl p to enter, Esc to exit)

KeyAction
h/j/k/lMove focus
nNew pane
xClose pane
fToggle fullscreen
wToggle floating panes
eToggle embed/float
rRename pane

Resize Mode (Ctrl r to enter, Esc to exit)

KeyAction
h/j/k/lResize in direction
H/J/K/LIncrease in direction
=Increase size
-Decrease size

Move Mode (Ctrl m to enter, Esc to exit)

KeyAction
h/j/k/lMove pane in direction

Scroll Mode (Ctrl b to enter, Esc to exit)

KeyAction
j/kScroll down/up
Ctrl d / Ctrl uHalf page down/up
gScroll to top
GScroll to bottom

Locked Mode (Ctrl g to toggle)

All keys pass through to the terminal. Only Ctrl g exits.

Modes NOT configured (from defaults)

Your config does not define: tab, search, entersearch, renametab, renamepane, session, tmux. Consider adding search and session modes for search-in-scrollback and session manager access.


Your Config Summary

// Key settings in config.kdl:
default_layout "compact"          // 1-line compact-bar (tab + status combined)
pane_frames false                 // No borders between panes
theme "default"                   // Base16 dark theme (defined inline)
default_shell "~/.nix-profile/bin/fish"
copy_on_select true
scrollback_editor "/usr/bin/nvim"
session_serialization true        // Enable resurrection
serialize_pane_viewport true      // Save visible content
max_panes 100
layout_dir "~/.config/zellij/layouts"

Note: default_shell and layout_dir use /home/wcygan/ paths (Linux). On macOS these should be /Users/wcygan/ paths. Consider using $HOME or updating for cross-platform use.


Your Layouts

dev.kdl (3-tab development layout)

Tab "main" (focused):
┌─────────────────────┬──────────┐
│                     │ terminal │
│  editor (70%)       ├──────────┤
│                     │  logs    │
└─────────────────────┴──────────┘

Tab "git":     lazygit (full pane)
Tab "monitor": btop (50%) + services (50%)

Load with: zellij -l dev or zellij --layout ~/.config/zellij/layouts/dev.kdl


Modes Reference (13 total)

ModePurposeYour binding
normalDefault operations(default)
lockedPass-through (safety)Ctrl g
panePane managementCtrl p
resizeResize panesCtrl r
moveMove panesCtrl m
scrollScroll bufferCtrl b
tabTab management*(not bound)*
searchSearch in scrollback*(not bound)*
entersearchType search query*(not bound)*
renametabRename a tab*(not bound)*
renamepaneRename a pane*(not bound)*
sessionSession management*(not bound)*
tmuxtmux compatibility*(not bound)*

CLI Quick Reference

Session Management

zellij                                    # New session
zellij -s <name>                          # Named session
zellij ls                                 # List all (running + exited)
zellij attach <name>                      # Attach / resurrect
zellij attach -c <name>                   # Create-or-attach
zellij kill-session <name>                # Kill running session
zellij delete-session <name>              # Delete exited session
zellij kill-all-sessions                  # Kill all
zellij delete-all-sessions                # Delete all exited

Run Commands in Panes

zellij run -- htop                        # New pane running htop
zellij run -f -- htop                     # Floating pane
zellij run -f --width 80% --height 80% -- htop  # Sized floating
zellij run -i -- make build               # In-place (replaces current pane)
zellij run -c -- make test                # Close pane on exit
zellij run -s -- dangerous-cmd            # Start suspended (ENTER to run)
zellij run -n "build" -- make             # Named pane

Edit Files

zellij edit src/main.rs                   # Open in $EDITOR pane
zellij edit -f src/main.rs                # Floating editor pane
zellij edit -l 42 src/main.rs             # Open at line 42

Actions (from outside or within)

zellij action new-pane                    # New pane
zellij action new-pane --floating         # New floating pane
zellij action new-tab --name "build"      # Named new tab
zellij action go-to-tab 2                 # Switch to tab 2
zellij action dump-layout                 # Export current layout to stdout
zellij action dump-screen /tmp/out.txt    # Dump pane content
zellij action switch-mode locked          # Enter locked mode
zellij action toggle-floating-panes       # Toggle floats
zellij action rename-session "work"       # Rename session

Setup Utilities

zellij setup --dump-config                # Print default config
zellij setup --dump-layout default        # Print default layout
zellij setup --dump-layout compact        # Print compact layout
zellij setup --dump-swap-layout default   # Print swap layout
zellij setup --generate-completion fish   # Fish completions
zellij setup --generate-auto-start fish   # Auto-start script
zellij setup --check                      # Validate config

Convenience Aliases (from shell completions)

AliasExpands to
zrzellij run --
zrfzellij run --floating --
zezellij edit

Session Resurrection

Your config has resurrection enabled (session_serialization true, serialize_pane_viewport true).

What's saved: Layout, pane structure, commands, visible viewport, scrollback. What's NOT saved: Running processes. Commands show "Press ENTER to run..." on resurrection.

zellij ls                                 # Shows EXITED sessions
zellij attach <exited-session>            # Resurrect it
zellij attach <name> --force-run-commands # Skip ENTER confirmation
zellij delete-session <name>              # Permanently remove

Serialized sessions are human-readable KDL layout files in the cache directory. They can be shared, modified, or loaded directly with zellij --layout.


Floating & Stacked Panes

Floating: Ctrl p then w (toggle), e (embed/float), or Alt f (if default binds) Pinned floating: Always-on-top panes (pin via CLI: zellij run -f --pinned -- cmd) Stacked: Panes in a stack where only the focused one is expanded. Define in layouts with stacked=true.


Plugins (Built-in)

PluginLocationDescription
tab-barzellij:tab-barTab bar (1 line)
status-barzellij:status-barStatus bar with keybind hints (2 lines)
compact-barzellij:compact-barCombined tab+status (1 line)
striderzellij:striderFile browser sidebar
session-managerzellij:session-managerSession switcher + resurrection UI
filepickerzellij:striderFile picker (cwd based)
configurationzellij:configurationRuntime config editor
plugin-managerzellij:plugin-managerPlugin management UI

Load in layouts:

pane size=1 borderless=true {
    plugin location="zellij:compact-bar"
}

Troubleshooting

IssueFix
macOS Alt key not workingConfigure in terminal app (iTerm2: Profiles → Keys → Left Option = Esc+)
Copy not workingAdd copy_command "pbcopy" to config
Font/character issuesUse Nerd Font or simplified_ui true
Ctrl+H triggers Move modeTerminal sends Ctrl+H as backspace — remap in terminal or Zellij
Nesting preventionCheck $ZELLIJ env var before starting
Mouse selectionHold SHIFT to bypass Zellij mouse capture
Styled underline colors wrongAdd styled_underlines false
Config not loadingCheck zellij setup --check and verify path

Fish Shell Integration

# Nesting prevention (add to config.fish or conf.d/)
if status is-interactive; and not set -q ZELLIJ
    zellij attach -c default
end

# Generate completions
zellij setup --generate-completion fish > ~/.config/fish/completions/zellij.fish

Environment Variables

VariableDescription
ZELLIJSet to 0 inside a session (use for nesting prevention)
ZELLIJ_SESSION_NAMECurrent session name
ZELLIJ_CONFIG_DIROverride config directory
ZELLIJ_CONFIG_FILEOverride config file
ZELLIJ_AUTO_ATTACHAuto-attach to existing session
ZELLIJ_AUTO_EXITExit shell when Zellij exits

Layout Authoring Quick Reference

layout {
    // Tab template applied to all tabs
    default_tab_template {
        pane size=1 borderless=true { plugin location="zellij:tab-bar" }
        children    // ← where tab content goes
        pane size=2 borderless=true { plugin location="zellij:status-bar" }
    }

    tab name="code" focus=true {
        pane split_direction="vertical" {
            pane size="60%" name="editor" edit="src/main.rs"
            pane size="40%" split_direction="horizontal" {
                pane name="term"
                pane name="test" command="make" { args "test"; }
            }
        }
    }

    tab name="git" {
        pane command="lazygit"
    }

    // Floating panes section
    floating_panes {
        pane x="10%" y="10%" width="80%" height="80%" name="scratch"
    }
}

Key layout attributes

AttributeApplies toValues
split_directionpane"vertical", "horizontal"
sizepane"50%" or fixed int (lines/cols)
commandpaneCommand to execute
argschild of command pane"arg1" "arg2"
editpaneFile path (opens in $EDITOR)
cwdpane, tab, layoutWorking directory
namepane, tabDisplay name
focuspane, tabtrue for initial focus
borderlesspanetrue to hide frame
close_on_exitpaneClose when command exits
start_suspendedpaneWait for ENTER
stackedpaneStack children
plugin locationchild blockPlugin URL

CWD composes: pane cwd → tab cwd → layout cwd → execution directory. Relative paths chain; absolute paths override.

For the full actions reference, theme system, swap layouts, and plugin configuration, see reference.md.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

33.44%
按下载量换算30

Claude

31.16%
按下载量换算28

Cursor

19.3%
按下载量换算17

Gemini CLI

8.76%
按下载量换算8

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills