KS
Killer-Skills

tmux — how to use tmux how to use tmux, tmux alternative, tmux vs screen, tmux install, tmux setup guide, what is tmux, tmux background process, tmux window management, tmux detached sessions

v1.0.0
GitHub

About this Skill

Ideal for Terminal-based Agents requiring efficient background process management using tmux windows. tmux is a terminal multiplexer that enables multiple windows and sessions to run in the background, allowing for efficient process management.

Features

Verify tmux environment and check status using `tmux list-windows` command
Spawn new background processes with `tmux new-window` and `tmux send-keys` commands
Detach sessions using the `-d` flag for unobtrusive process management
Send keys to specific windows using `tmux send-keys` with the `-t` option
Create named windows for easy reference using the `-n` flag

# Core Topics

wogsland wogsland
[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 wogsland/marius-agents/tmux

Agent Capability Analysis

The tmux MCP Server by wogsland 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 alternative, tmux vs screen.

Ideal Agent Persona

Ideal for Terminal-based Agents requiring efficient background process management using tmux windows.

Core Value

Empowers agents to manage background processes using tmux windows without blocking the terminal, leveraging commands like `tmux new-window` and `tmux send-keys` for seamless execution of tasks like running servers or scripts in detached mode.

Capabilities Granted for tmux MCP Server

Automating server startups with `npm run dev`
Debugging background processes using `tmux list-windows`
Spawning new background tasks with `tmux new-window -d`

! Prerequisites & Limits

  • Requires tmux installation
  • Terminal access necessary
  • Limited to command-line interface
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