terminal-resize-tmux-session

Resize a tmux session to specified column and row dimensions.

19|14|Updated Feb 4, 2026
One-click install
npx skills add https://github.com/X-School-Academy/skill-pilot --skill terminal-resize-tmux-session
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: terminal-resize-tmux-session
Source: https://github.com/X-School-Academy/skill-pilot/tree/main/core/skills/system/terminal-resize-tmux-session
Command: npx skills add https://github.com/X-School-Academy/skill-pilot --skill terminal-resize-tmux-session

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill allows you to dynamically adjust the dimensions of a tmux session, ensuring optimal display for captured output or correcting malformed terminal views.

Core Features & Use Cases

  • Dynamic Resizing: Modify the width (columns) and height (rows) of an active tmux session.
  • Output Optimization: Ideal for ensuring screen captures are correctly formatted or for adapting to different display requirements.
  • Use Case: After running a command that produces wide output, you can use this Skill to increase the column count of your tmux session to view the full output without wrapping.

Quick Start

Resize the tmux session with ID 'sess-abc123' to 220 columns and 50 rows.

Frequently Asked Questions about terminal-resize-tmux-session

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I resize a tmux session to specific columns and rows?

To resize a tmux session, you provide the target session ID alongside integer values for the desired columns and rows. This dynamically adjusts the terminal viewport to the specified dimensions.

Why does my terminal display appear malformed when capturing tmux output?

A malformed terminal display often occurs when the tmux session dimensions do not match the output requirements. Resizing the tmux session columns and rows corrects the viewport and fixes wrapping issues.

Can I adjust the width of an active tmux session to view wide output without wrapping?

Yes, you can dynamically increase the column count of an active tmux session. This adjustment optimizes the terminal display to accommodate wide output without text wrapping.

What do I need to dynamically adjust tmux session size?

You need a valid tmux session ID and integer values for the target columns and rows within defined constraints. These parameters allow the terminal session to be resized dynamically.

When should I modify the dimensions of a tmux session?

You should modify tmux session dimensions before capturing terminal output or adapting to different display requirements. This ensures the viewport size is optimal and the captured output is correctly formatted.

Are there limitations when adjusting tmux terminal viewport size?

Adjusting terminal viewport size requires integer values for columns and rows within defined constraints. You must also supply a valid session ID to successfully modify the tmux display dimensions.