Agent skill
tmux-debug
Capture and analyze tmux pane content for debugging other sessions or background processes
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/development/tmux-debug-richardgill-nix
SKILL.md
Tmux Debug
Capture screen content from tmux panes to debug other terminal sessions, monitor background processes, or inspect command output.
Commands
List all panes
tmux list-panes -a -F '#{session_name}:#{window_index}.#{pane_index} #{pane_title}'
Capture current pane
tmux capture-pane -p
Capture specific pane
tmux capture-pane -t 'session:window.pane' -p
Capture with scrollback history
# Last 100 lines of scrollback
tmux capture-pane -p -S -100
# Entire scrollback buffer
tmux capture-pane -p -S - -E -
Usage
- First list panes to find the target:
tmux list-panes -a -F '...' - Capture the pane content:
tmux capture-pane -t 'target' -p - Analyze the output for errors, status, or relevant information
$ARGUMENTS
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?