基于 SOC 职业分类
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tomevault-io/skills-registry --skill zellij-driver命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
| Use when this capability is needed.
> Use when this capability is needed.
Review architecture and API design for the vfs-s3 project. Use when the user mentions @architect, asks to review an issue's design, discuss module boundaries, API shape, or architectural decisions for vfs-s3. Also trigger when the user wants to create an ADR (Architecture Decision Record) or evaluate a technical approach for the project. Intended for dispatch from Codex automation or Claude routines; GitHub trigger phrase: @vfs-s3-bot please prepare design doc Use when this capability is needed.
| name | zellij-driver |
| description | > Use when this capability is needed. |
znav is a Redis-backed Zellij pane manager that tracks developer intent and cognitive context across terminal sessions. It enables programmatic control of Zellij tabs and panes, making it ideal for orchestrating parallel agentic workflows.
Core Philosophy: Capture what you're working on, not just what you typed. znav bridges the gap between terminal activity and developer intent, enabling AI agents to understand and resume work context.
Create Named Tabs:
znav tab my-feature # Switch to or create tab
znav tab create myapp --correlation-id pr-42 # Tab with correlation ID
znav pane my-task --tab my-feature # Create pane in specific tab
Pane Operations:
znav pane api-refactor # Create/open pane (auto-creates tab if needed)
znav pane info api-refactor # Get pane metadata
znav list # Tree view of all sessions/tabs/panes
znav reconcile # Sync Redis state with Zellij layout
Batch Pane Creation:
# Create multiple panes in a single command
znav pane batch --tab "myapp(fixes)" --panes fix-auth,fix-errors,fix-docs
# With working directories for each pane
znav pane batch --tab "myapp(fixes)" \
--panes fix-auth,fix-errors,fix-docs \
--cwd ../fix-auth,../fix-errors,../fix-docs
# Horizontal layout (stacked instead of side-by-side)
znav pane batch --tab "myapp(fixes)" --panes a,b,c --layout horizontal
Track what you're working on, not just commands:
Log Intent Entries:
# Simple checkpoint
znav pane log my-feature "Fixed authentication bug"
# Milestone with artifacts
znav pane log api-refactor "Completed REST API redesign" \
--type milestone --artifacts src/api.rs docs/api.md
# Exploration session
znav pane log research "Investigated caching strategies" --type exploration
# Agent-generated entry
znav pane log my-feature "Completed task analysis" --source agent
Entry Types:
checkpoint (default): Regular progress markersmilestone: Major accomplishments worth highlightingexploration: Research or investigative workEntry Sources:
manual (default): Human-created entriesagent: Created by AI during assisted workflowautomated: System-generated from activity detectionMultiple output formats for different use cases:
# Human-readable (default)
znav pane history my-feature
# JSON for programmatic access
znav pane history my-feature --format json
# Compact JSON for piping
znav pane history my-feature --format json-compact | jq '.entries[0]'
# Markdown export (Obsidian-compatible)
znav pane history my-feature --format markdown > session.md
# LLM-optimized context for agent integration (~1000 tokens)
znav pane history my-feature --format context
Auto-generate intent summaries from recent work:
# Generate AI summary of recent activity
znav pane snapshot my-feature
# Requires LLM configuration and consent
znav config set llm.provider anthropic
znav config consent --grant
Supported Providers:
anthropic (Claude) - default model: claude-sonnet-4-20250514openai (GPT) - default model: gpt-4o-miniollama (local) - default model: llama3.2none - disabledznav config show # View all settings
znav config set redis_url redis://... # Update Redis connection
znav config consent --grant # Allow LLM data sharing
znav config consent --revoke # Revoke LLM consent
When implementing multiple fixes from a PR in parallel:
# 1. Create a tab for the fixes with correlation ID for traceability
znav tab create "myapp(fixes)" --correlation-id pr-42
# 2. Create all panes in one batch command
znav pane batch --tab "myapp(fixes)-pr-42" --panes fix-auth,fix-errors,fix-docs
# 3. Each pane can be worked on by a separate agent
# Agent in fix-auth pane:
znav pane log fix-auth "Starting auth token refresh fix" --source agent
# ... agent does work ...
znav pane log fix-auth "Completed auth fix" --type milestone --source agent
Combine with iMi worktrees for branch-per-pane isolation:
# 1. Create worktrees with iMi
imi add fix auth-refresh
imi add fix error-handling
imi add fix api-docs
# 2. Create Zellij workspace with all panes and working directories in one command
znav tab create "myapp(fixes)"
znav pane batch --tab "myapp(fixes)" \
--panes fix-auth,fix-errors,fix-docs \
--cwd ~/code/myapp/fix-auth-refresh,~/code/myapp/fix-error-handling,~/code/myapp/fix-api-docs
When returning to a pane, znav displays the last intent:
# First session
znav pane my-feature
znav pane log my-feature "Implementing user authentication flow"
# ... work happens ...
# Later session (shows resume context)
znav pane my-feature
# Output: "Resuming: ● Implementing user authentication flow (2 hours ago)"
Get condensed context for LLM prompts:
# Get ~1000 token context summary
CONTEXT=$(znav pane history my-feature --format context)
# Inject into agent prompt
echo "Continue this work session:\n$CONTEXT"
For agentic workflows, use consistent naming:
| Pattern | Example | Use Case |
|---|---|---|
{repo}(fixes) | myapp(fixes) | PR fix batch |
{repo}({branch}) | myapp(feat-auth) | Feature branch work |
{repo}({context})-{id} | myapp(fixes)-abc123 | Bloodbank correlation |
{task} | research-caching | Exploration work |
Not Yet Implemented (Sprint 5/6 backlog):
Zellij Version:
IntentEntry:
{
"id": "uuid",
"timestamp": "2025-01-06T12:00:00Z",
"summary": "What you were working on",
"entry_type": "checkpoint|milestone|exploration",
"source": "manual|agent|automated",
"artifacts": ["file1.rs", "file2.ts"],
"commands_run": 15,
"goal_delta": "Progress description"
}
PaneRecord:
znav v2.0 uses the znav: keyspace:
znav:pane:{name} # Pane metadata hash
znav:intent:{name} # Intent history list (LPUSH/LRANGE)
Migration from v1.0 (znav:) keyspace:
znav migrate --dry-run # Preview migration
znav migrate # Execute migration
| Command | Description |
|---|---|
znav pane <name> | Create/open pane |
znav pane --tab <tab> <name> | Pane in specific tab |
znav pane batch --tab <tab> --panes a,b,c | Create multiple panes |
znav pane log <name> "<summary>" | Log intent entry |
znav pane history <name> | View history |
znav pane history <name> --format context | LLM-ready context |
znav pane snapshot <name> | AI-generate summary |
znav pane info <name> | Pane metadata |
znav tab <name> | Switch/create tab |
znav tab create <name> --correlation-id <id> | Tab with correlation ID |
znav list | Tree view of workspace |
znav reconcile | Sync state with layout |
znav config show | View configuration |
znav config consent --grant | Allow LLM sharing |
For contributors and agents extending znav:
skill/DEVELOPER.md for P0 requirements and standards.docs/ENGINEERING_STANDARDS.md for anti-patterns and patterns.33GOD Ecosystem:
Claude Code:
--format context for prompt injection--source agent for agent-created entries--format json for programmatic processingConverted and distributed by TomeVault — claim your Tome and manage your conversions.