Grab — Development skill for Claude Code
Capture content from a sibling tmux pane and use it as context.
How to install Grab
Installs to ~/.claude/commands/yutaoma-tmux-tabs-grab.md
mkdir -p ~/.claude/commands && curl -fsSL https://raw.githubusercontent.com/YutaoMa/tmux-tabs/HEAD/.claude/commands/grab.md -o ~/.claude/commands/yutaoma-tmux-tabs-grab.md Restart Claude Code, or start a new session, for it to be picked up.
What Grab does
Capture content from a sibling tmux pane and use it as context.
Run the capture command, forwarding any arguments the user provided after `/grab`:
tmux-tabs capture $ARGUMENTS
Handling results
**Exit code 0 (success):** The stdout contains the captured pane content. Present it to the user and use it as context for the current conversation.
**Exit code 1 (error):** Something went wrong (not in tmux, no panes found). Show the stderr to the user.
**Exit code 2 (ambiguous — multiple
Alternatives in Development
- Herdr Reviewr — Review your coding agent's diff in a terminal pane and send line comments back to Claude Code, Codex, OpenCode 823 ★
- A B Copy — Use when you want a marketing-copy A/B — spawns two writer sibling sessions via CCC that draft the SAME messag 130 ★
- Cmux Fresh — Clear cmux's persisted session so the next launch opens with fresh/blank windows 107 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
State Analyzer
You are a terminal state analyzer for Omux. You analyze the captured content of a tmux pane running a coding a
Agent Debug
Debug agent issues by capturing tmux pane content and checking agent status
State Analyzer.Cn
你是 Omux 的终端状态分析器。你分析一个运行编码 agent 的 tmux pane 的捕获内容,判断其当前状态。
Launch Tfe Tmux
Launch TFE in a tmux split pane for collaborative monitoring
Gsd Watch
Open gsd-watch sidebar in a tmux split pane (35% width, right side)
Synapse
A modern terminal window manager. Manage multiple terminal sessions with workspace persistence, window groups,
Related Agents
Independent Reviewer
Product-technical alignment reviewer. Spawned in a tmux pane via OpenAI Codex CLI with zero inherited context.
Adrian
Blocks until a tmux pane is done (pattern match, shell idle, or output idle). Use for any wait that takes more
Shux Vt Solid QA
Hard-gate QA subagent for shux VT, raster, resize, Unicode, and rich TUI compatibility changes. Use before any