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
Converted and distributed by TomeVault — claim your Tome and manage your conversions.
1---2name: richardgill-nix-tmux-debug3description: Tmux Debug4---56# Tmux Debug78Capture screen content from tmux panes to debug other terminal sessions, monitor background processes, or inspect command output.910## Commands1112### List all panes13```bash14tmux list-panes -a -F '#{session_name}:#{window_index}.#{pane_index} #{pane_title}'15```1617### Capture current pane18```bash19tmux capture-pane -p20```2122```bash23# With ANSI colors24tmux capture-pane -p -e 25```2627### Capture specific pane28```bash29tmux capture-pane -t 'session:window.pane' -p30```3132### Capture with scrollback history33```bash34# Last 100 lines of scrollback35tmux capture-pane -p -S -1003637# Entire scrollback buffer38tmux capture-pane -p -S - -E -39```4041## Usage42431. First list panes to find the target: `tmux list-panes -a -F '...'`442. Capture the pane content: `tmux capture-pane -t 'target' -p`453. Analyze the output for errors, status, or relevant information4647$ARGUMENTS4849---50> Converted and distributed by [TomeVault](https://tomevault.io/claim/richardgill) — claim your Tome and manage your conversions.51<!-- tomevault:4.0:skill_md:2026-04-11 -->
Run npx skillmds@latest add tomevault-io/richardgill-nix-tmux-debug in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Tmux Debug It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: PASS, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
tomevault-io (@tomevault-io) published this skill. Their other Agent Skills are listed on their SkillMD profile.