KS
Killer-Skills

tmux — how to use tmux how to use tmux, tmux setup guide, tmux alternative, tmux vs screen, tmux install, what is tmux, tmux tutorial, tmux commands, tmux windows management

v1.0.0
GitHub

About this Skill

Perfect for Terminal-Based Agents needing efficient background process management using tmux windows. tmux is a terminal multiplexer that enables users to manage multiple windows and sessions, allowing for efficient background process management.

Features

Manage background processes using tmux windows
Verify environment and check status with `tmux list-windows` command
Spawn new background processes with `tmux new-window` command
Run commands in detached mode using `-d` flag
Send keys to specific windows using `tmux send-keys` command

# Core Topics

colmarius colmarius
[0]
[0]
Updated: 3/6/2026

Quality Score

Top 5%
39
Excellent
Based on code quality & docs
Installation
SYS Universal Install (Auto-Detect)
Cursor IDE Windsurf IDE VS Code IDE
> npx killer-skills add colmarius/colmarius.github.io/tmux

Agent Capability Analysis

The tmux MCP Server by colmarius is an open-source Categories.community integration for Claude and other AI agents, enabling seamless task automation and capability expansion. Optimized for how to use tmux, tmux setup guide, tmux alternative.

Ideal Agent Persona

Perfect for Terminal-Based Agents needing efficient background process management using tmux windows.

Core Value

Empowers agents to manage multiple commands simultaneously, leveraging tmux's detached mode and send-keys functionality for seamless background process execution, including protocols like sending keys with `C-m`.

Capabilities Granted for tmux MCP Server

Automating server startup with `npm run dev`
Debugging background processes using `tmux list-windows`
Creating detached windows for long-running tasks

! Prerequisites & Limits

  • Requires tmux installation
  • Terminal access needed
Project
SKILL.md
1.4 KB
.cursorrules
1.2 KB
package.json
240 B
Ready
UTF-8

# Tags

[No tags]
SKILL.md
Readonly

tmux

Manage background processes using tmux windows without blocking the terminal.

1. Verify Environment & Check Status

Confirm tmux is running and list existing windows:

bash
1tmux list-windows

2. Spawn a Background Process

Create a new tmux window and run a command:

bash
1tmux new-window -n "my-server" -d 2tmux send-keys -t "my-server" "npm run dev" C-m
  • -n "my-server" names the window for easy reference
  • -d keeps it detached (runs in background)
  • C-m sends Enter to execute the command

3. Inspect Output (Read Logs)

Visible screen only

bash
1tmux capture-pane -p -t "my-server"

Full scrollback history

bash
1tmux capture-pane -p -t "my-server" -S -1000
  • -S -1000 captures the last 1000 lines of scrollback

4. Interact with the Process

Send Ctrl+C (interrupt)

bash
1tmux send-keys -t "my-server" C-c

Kill the window

bash
1tmux kill-window -t "my-server"

5. Advanced: Chaining Commands

Run multiple commands in sequence:

bash
1tmux new-window -n "build" -d && \ 2tmux send-keys -t "build" "npm run build && npm run test" C-m

Quick Reference

ActionCommand
Create windowtmux new-window -n "ID" -d
Run commandtmux send-keys -t "ID" "CMD" C-m
Read outputtmux capture-pane -p -t "ID"
Send interrupttmux send-keys -t "ID" C-c
Kill windowtmux kill-window -t "ID"

Related Skills

Looking for an alternative to tmux or building a Categories.community AI Agent? Explore these related open-source MCP Servers.

View All

widget-generator

Logo of f
f

widget-generator is an open-source AI agent skill for creating widget plugins that are injected into prompt feeds on prompts.chat. It supports two rendering modes: standard prompt widgets using default PromptCard styling and custom render widgets built as full React components.

149.6k
0
Design

chat-sdk

Logo of lobehub
lobehub

chat-sdk is a unified TypeScript SDK for building chat bots across multiple platforms, providing a single interface for deploying bot logic.

73.0k
0
Communication

zustand

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication

data-fetching

Logo of lobehub
lobehub

The ultimate space for work and life — to find, build, and collaborate with agent teammates that grow with you. We are taking agent harness to the next level — enabling multi-agent collaboration, effortless agent team design, and introducing agents as the unit of work interaction.

72.8k
0
Communication