# OpenCLI Agent Pack: tmux

Use this when an AI agent needs to work with `tmux`.

## What this CLI is for
The standard terminal multiplexer for persistent sessions. Built by tmux. Start with `tmux new -s work` and go from there. Runs entirely on your machine.

Best for: Detaching SSH sessions and splitting panes on remote machines.

## Agent readiness
Human-first CLI (35/100)
- Supports non-interactive/scripted use.
- Can run locally with less credential exposure.

## Install
```sh
brew install tmux
```

## Verify before real work
```sh
tmux --version
```
Expected signal: tmux responds locally and is ready for the first real command.

## Safe starting commands
```sh
tmux --version
```

```sh
tmux new -s work
```

```sh
tmux ls
```

```sh
tmux attach -t work
```

## Guardrails for agents
- Prefer small commands and ask the agent to summarize plain text output.

## Suggested agent instruction
You may use tmux (`tmux`) for detaching ssh sessions and splitting panes on remote machines.. First install it if missing, then run the verify command. Start with read-only or inspection commands. Summarize what you found before changing anything. Ask for confirmation before commands that mutate remote state, spend money, deploy, delete data, merge code, or expose secrets.

Source: OpenCLI
