tmux-master

tmux-master is a skill for Claude Code from JeremyDev87/codingbuddy. It costs 40 tokens per session (4,300 once invoked), scanned A, original, MIT.

A guide to managing tmux, a terminal tool that keeps commands running in sessions, windows, and panes. It covers layouts, communication between panes, styling, and troubleshooting.

In plain words
What is it for?
Use it when creating or controlling tmux sessions, arranging panes, sending commands, or checking output for parallel agents.
Why use it?
It reduces mistakes in automated or parallel workflows, such as sending commands to the wrong terminal pane or losing process output.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: mentions Claude Code.

Good fit Use it when creating or controlling tmux sessions, arranging panes, sending commands, or checking output for parallel agents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jeremydev87/codingbuddy/tmux-master
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add JeremyDev87/codingbuddy --skill tmux-master
Clone the repo
git clone --depth 1 https://github.com/JeremyDev87/codingbuddy

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tmux-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/jeremydev87/codingbuddy/tmux-master/github.svg)](https://agentmods.dev/skills/jeremydev87/codingbuddy/tmux-master)
Your own site
<a href="https://agentmods.dev/skills/jeremydev87/codingbuddy/tmux-master"><img src="https://agentmods.dev/badge/skills/jeremydev87/codingbuddy/tmux-master/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tmux-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/jeremydev87/codingbuddy/tmux-master"><img src="https://agentmods.dev/badge/skills/jeremydev87/codingbuddy/tmux-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,300 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.04300
Opus 5.5 $0.00016 $0.01720
Sonnet 5.5 $0.00008 $0.00860
Haiku 4.5 $0.00004 $0.00430

Measured 2mo ago against content hash 94f30e05bb4e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tmux-master scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

packages/rules/.ai-rules/skills/tmux-master/SKILL.md · 492 lines

How it starts

The opening of the file, as written. The whole thing — 492 lines — stays where its author put it; the contents beside it link to each section on GitHub.

tmux Master

Overview

tmux is the backbone of parallel AI agent execution. Misconfigured sessions cause orphaned processes, lost output, and silent failures that waste entire execution waves.

Core principle: Every tmux operation must be targeted to a specific session, window, or pane by ID — never rely on "current" context in automated workflows.

Violating the letter of this process is violating the spirit of reliable automation.

The Iron Law

ALWAYS USE EXPLICIT TARGETS (-t session:window.pane). NEVER ASSUME CONTEXT.

Automated workflows run outside interactive shells. tmux commands without -t targets silently operate on the wrong pane or fail entirely. There are no exceptions.

No exceptions:

  • "The session is obvious" → Explicit -t anyway
  • "There's only one pane" → Panes get added; target explicitly
  • "I'll fix the target later" → Fix it now; debugging wrong-pane issues is expensive

When to Use

This skill provides background knowledge for ANY tmux operation:

  • Creating sessions, windows, or panes for parallel agents
  • Managing layouts for multi-pane orchestration
  • Sending commands to panes programmatically
  • Polling pane output for readiness or completion
  • Styling panes for visual differentiation
  • Debugging tmux-related failures in CI or automation

Relevant contexts:

  • taskMaestro wave execution with multiple parallel panes
  • AI agent orchestration requiring isolated terminal environments
  • Any workflow that spawns, monitors, or communicates with tmux panes

When NOT to Use

  • Interactive tmux usage — Manual terminal multiplexing needs no formal process
  • Single-pane workflows — If you only need one terminal, tmux adds no value
  • Docker/container orchestration — Use container tools, not tmux, for process isolation

Phase 1: Session, Window, and Pane Lifecycle

1.1 Session Management

# Create a named session (detached)
tmux new-session -d -s "my-session"

# Create session with a specific starting directory
tmux new-session -d -s "my-session" -c "/path/to/project"

# List all sessions
tmux list-sessions

# Kill a specific session
tmux kill-session -t "my-session"

# Kill ALL sessions (use with caution)
tmux kill-server

Read the full file on GitHub · 492 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 492 lines · 40 tokens per session scan A 94f30e05bb4e

Subscribe to this mod's changes

tmux-master is a skill published in the GitHub repository JeremyDev87/codingbuddy (30 stars, last pushed 7mo ago), licensed MIT. It adds 40 tokens to every session and 4,300 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

tmux-master compared with skills from other repositories

tmux-master next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tmux-masterJeremyDev87/codingbuddySkill307mo agoMITA40Claude Code
ring:generating-release-guidesLerianStudio/ringSkill21829d agoApache-2.0A85Cursor
handoffreidemeister94/development-skillsSkill1218d agoMITA22Claude Code
dashboarddynos-fit/dynos-workSkill25d agoMITA39Claude Code
lark-workflow-standup-reportDropFan/claude-code-pluginsSkill81mo agoMITA53Claude Code
profilesamibs/skillfoundrySkill131mo agoMITA7Claude Code, Codex
lark-attendanceDropFan/claude-code-pluginsSkill81mo agoMITA19Claude Code