tmux-lanes

tmux-lanes is a skill for Claude Code, Codex from jesseposner/metacraft. It costs 22 tokens per session (1,583 once invoked), scanned A, original, Apache-2.0.

Uma ferramenta para gerir várias sessões de agentes num espaço tmux, onde cada painel pode executar um agente separado. Mostra o estado, a tarefa e o ciclo de vida de cada painel.

In plain words
What is it for?
Serve para consultar o estado dos painéis, propor a distribuição de tarefas e limpar sessões antigas antes de atribuir novo trabalho.
Why use it?
Evita perder o controlo sobre agentes ativos, parados ou sem tarefa quando vários trabalham ao mesmo tempo.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Serve para consultar o estado dos painéis, propor a distribuição de tarefas e limpar sessões antigas antes de atribuir novo trabalho.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jesseposner/metacraft/tmux-lanes
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 jesseposner/metacraft --skill tmux-lanes
Clone the repo
git clone --depth 1 https://github.com/jesseposner/metacraft

Made for: Claude Code, Codex.

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-lanes

README.md
[![agentmods](https://agentmods.dev/badge/skills/jesseposner/metacraft/tmux-lanes/github.svg)](https://agentmods.dev/skills/jesseposner/metacraft/tmux-lanes)
Your own site
<a href="https://agentmods.dev/skills/jesseposner/metacraft/tmux-lanes"><img src="https://agentmods.dev/badge/skills/jesseposner/metacraft/tmux-lanes/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-lanes

Your own site · 80×15
<a href="https://agentmods.dev/skills/jesseposner/metacraft/tmux-lanes"><img src="https://agentmods.dev/badge/skills/jesseposner/metacraft/tmux-lanes.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,583 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.00022 $0.01583
Opus 5 $0.00011 $0.00792
Sonnet 5 $0.00004 $0.00317
Haiku 4.5 $0.00002 $0.00158

Measured 12d ago against content hash 76238f0e9298, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

tmux-lanes 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 12d 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.

skills/tmux-lanes/SKILL.md · 152 lines

How it starts

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

Tmux Lanes

Manage a multi-agent workspace as a set of tmux panes, each one a lane with a known state, a known assignment, and a clean lifecycle.

What this is

When you're running multiple AI agents in parallel, each in its own tmux pane, the workspace itself becomes an instrument that needs tuning. Which pane is active? Which is stale? Which is ready for new work? What's each one doing?

This skill turns the tmux window into a managed workspace: visible state, deliberate allocation, clean handoffs.

Executable sub-skills: lanes-status for a quick status view, lanes-plan for allocation proposals.

When to use it

  • Any workflow where multiple agents run in parallel tmux panes
  • When you've lost track of which pane is doing what
  • Before allocating new work across lanes
  • When stale sessions are cluttering the workspace

The pattern

Status view

Probe the workspace and present the full picture. Three commands give you everything:

# Inventory: index, size, process, PID
tmux list-panes -t <window> -F '#{pane_index} #{pane_width}x#{pane_height} #{pane_current_command} #{pane_pid}'

# Titles: what each pane is named
tmux list-panes -t <window> -F '#{pane_index} #{pane_title}'

# State: last few lines of each pane's output
for i in 0 1 2; do echo "=== Pane $i ===" && tmux capture-pane -t <window>.$i -p | tail -5; done

From the captured output, classify each pane:

  • Active: an agent is running and producing output
  • Idle/Stale: an agent session is open but waiting for input (e.g. INSERT mode with no recent activity)
  • Shell: no agent running, clean prompt ready for work
  • Unknown: something else is running

Render the result as a table:

┌─────────────────┬────────┬──────────────────────┬──────────────────────────────────────────┐
│      Pane       │  Size  │        Title         │                 Status                   │
├─────────────────┼────────┼──────────────────────┼──────────────────────────────────────────┤
│ 0 (left)        │ 162x82 │ "meta"               │ Us — meta, active                        │
├─────────────────┼────────┼──────────────────────┼──────────────────────────────────────────┤
│ 1 (upper-right) │ 153x40 │ "Feature work"       │ Stale — last session's agent, idle       │
├─────────────────┼────────┼──────────────────────┼──────────────────────────────────────────┤
│ 2 (lower-right) │ 153x41 │ "Research"           │ Shell — ready for new agent              │
└─────────────────┴────────┴──────────────────────┴──────────────────────────────────────────┘

Read the full file on GitHub · 152 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. 12d ago First seen · 152 lines · 22 tokens per session scan A 76238f0e9298

Subscribe to this mod's changes

tmux-lanes is a skill published in the GitHub repository jesseposner/metacraft (11 stars, last pushed 6mo ago), licensed Apache-2.0. It adds 22 tokens to every session and 1,583 once invoked, about $0.0001 per session on Opus 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-08-30.

Related

Other skills, from other repositories