Tmux Processes

🌐Community
by 0xbigboss · vlatest · Repository

This skill lets you manage and monitor Tmux sessions and their associated processes, streamlining remote server administration.

Install on your platform

We auto-selected Claude Code based on this skill’s supported platforms.

1

Run in terminal (recommended)

terminal
claude mcp add tmux-processes npx -- -y @trustedskills/tmux-processes
2

Or manually add to ~/.claude/settings.json

~/.claude/settings.json
{
  "mcpServers": {
    "tmux-processes": {
      "command": "npx",
      "args": [
        "-y",
        "@trustedskills/tmux-processes"
      ]
    }
  }
}

Requires Claude Code (claude CLI). Run claude --version to verify your install.

About This Skill

What it does

This skill enables AI agents to manage and monitor Tmux sessions, facilitating remote server administration tasks. It allows for creating new sessions, sending commands within those sessions via an interactive shell (essential for proper environment initialization), adding windows to existing sessions, and capturing output from specific panes or the entire session. The skill emphasizes using tmux send-keys to ensure commands are executed within a properly initialized shell environment.

When to use it

  • Starting development servers on remote machines where environment setup is crucial (e.g., using direnv).
  • Running automated tests in separate Tmux windows alongside a main server process.
  • Monitoring application logs and checking for errors or readiness indicators within a Tmux session.
  • Creating multiple processes within a single project, organized into different Tmux windows.
  • Ensuring commands are executed with the correct environment variables by using an interactive shell.

Key capabilities

  • Creation of new Tmux sessions with named windows.
  • Sending commands to existing Tmux sessions via tmux send-keys.
  • Adding new windows to existing Tmux sessions.
  • Capturing output from specific panes or entire sessions.
  • Checking for the existence of sessions and windows before creating them (idempotent operations).
  • Deriving session names automatically based on project directory.

Example prompts

  • "Create a Tmux session named 'myapp' with a window called 'server' and run npm run dev."
  • "Check the last 50 lines of output from the 'logs' window in the 'myapp' session for any errors."
  • "Add a new window to the 'myapp' session named 'tests' and execute npm run test:watch."

Tips & gotchas

  • Interactive Shell Requirement: This skill requires an interactive shell environment. Use tmux send-keys instead of directly executing commands with tmux new-session.
  • Session Naming Convention: Session names should be derived from the project directory to maintain consistency.
  • Idempotency: The skill provides mechanisms for checking if a session or window already exists before attempting to create it, preventing errors and ensuring consistent state.

Tags

🛡️

TrustedSkills Verification

Unlike other registries that point to live repositories, TrustedSkills pins every skill to a verified commit hash. This protects you from malicious updates — what you install today is exactly what was reviewed and verified.

Security Audits

Gen Agent Trust HubPass
SocketPass
SnykPass

Details

Version
vlatest
License
Author
0xbigboss
Installs
72

🌐 Community

Passed automated security scans.