Tmux

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

44 stars 6 forksData & Analytics

Install

skills CLI (Claude Code, Cursor, Codex and more)
npx skills add iamclancyliang/nanobot-eino --skill tmux
Manual install
git clone --depth 1 https://github.com/iamclancyliang/nanobot-eino.git /tmp/nanobot-eino
mkdir -p ~/.claude/skills
cp -r /tmp/nanobot-eino/configs/skills/tmux ~/.claude/skills/tmux

Personal skills live in ~/.claude/skills. Use .claude/skills in a project folder to share a skill with your team.

From the SKILL.md

# tmux Skill

Use tmux only when you need an interactive TTY. Prefer exec background mode for long-running, non-interactive tasks.

## Quickstart (isolated socket, exec tool)

```bash
SOCKET_DIR="${NANOBOT_TMUX_SOCKET_DIR:-${TMPDIR:-/tmp}/nanobot-tmux-sockets}"
mkdir -p "$SOCKET_DIR"
SOCKET="$SOCKET_DIR/nanobot.sock"
SESSION=nanobot-python

tmux -S "$SOCKET" new -d -s "$SESSION" -n shell
tmux -S "$SOCKET" send-keys -t "$SESSION":0.0 -- 'PYTHON_BASIC_REPL=1 python3 -q' Enter
tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
```

After starting a session, always print monitor commands:

```
To monitor:
  tmux -S "$SOCKET" attach -t "$SESSION"
  tmux -S "$SOCKET" capture-pane -p -J -t "$SESSION":0.0 -S -200
```

## Socket convention

- Use `NANOBOT_TMUX_SOCKET_DIR` environment variable.
- Default socket path: `"$NANOBOT_TMUX_SOCKET_DIR/nanobot.sock"`.

## Targeting panes and naming

- Target format: `session:window.pane` (defaults to `:0.0`).
- Keep names short; avoid spaces.
- Inspect: `tmux -S "$SOCKET" list-sessions`, `tmux -S "$SOCKET" list-panes -a`.

## Finding sessions

- List sessions on your socket: `{baseDir}/scripts/find-sessions.sh -S "$SOCKET"`.
- Scan all sockets: `{baseDir}/scripts/find-sessions.sh --all` (uses `NANOBOT_TMUX_SOCKET_DIR`).

## Sending input safely

- Prefer literal sends: `tmux -S "$SOCKET" send-keys -t target -l -- "$cmd"`.
- Control keys: `tmux -S "$SOCKET" send-keys -t target C-c`.

## Watching output
Read the full skill on GitHub

Details

Skill name
tmux
Path
configs/skills/tmux/SKILL.md
Repo updated
11 May 2026
Copies
Found in 2 GitHub repos

FAQ

What does the Tmux skill do?

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

How do I install the Tmux skill?

skills CLI (Claude Code, Cursor, Codex and more): npx skills add iamclancyliang/nanobot-eino --skill tmux. Skills go in ~/.claude/skills (personal) or .claude/skills (project), and Claude loads them automatically when a task matches the description.

Is Tmux popular?

It lives in iamclancyliang/nanobot-eino, which has 44 GitHub stars and 6 forks.

Related skills

Github

44

iamclancyliang/nanobot-eino

Interact with GitHub using the `gh` CLI. Use `gh issue`, `gh pr`, `gh run`, and `gh api` for issues, PRs, CI runs, and advanced queries.

Git & Code Review

Weather

44

iamclancyliang/nanobot-eino

Get current weather and forecasts (no API key required).

Software Development

Clawhub

44

iamclancyliang/nanobot-eino

Search and install agent skills from ClawHub, the public skill registry.

AI, LLMs & Agents

1p Tagging Pixels

79

LeadMagic/gtm-skills

Set up first-party tracking and analytics — website pixels, conversion tracking, UTM architecture, cookie consent, server-side tagging vs client-side, 1P vs 3P data strategy, and identity resolution. Use when setting up tracking, implementing pixels, building attribution, or preparing for privacy-first measurement. Triggers on: "pixel", "tracking", "conversion tracking", "first-party data", "server-side tagging", "UTM", "cookie consent", "1P vs 3P", "identity resolution", or any tracking implementation request.

Data & AnalyticsIn 1 list18

Web Scraper

51

agentbay-ai/agentbay-skills

Scrape web pages and save as HTML or Markdown (with text and images). Minimal dependencies - only requests and beautifulsoup4. Use when the user provides a URL and wants to download/archive the content locally.

Data & AnalyticsIn 1 list

Analytics Toolkit

79

LeadMagic/gtm-skills

Complete analytics tools toolkit — Segment CDP, Amplitude, Mixpanel, PostHog, GA4, and HubSpot analytics configuration. Covers implementation patterns, destination routing, event governance, and cross-tool reporting. Use when setting up analytics infrastructure or optimizing an existing analytics stack. Triggers on: "analytics toolkit", "Segment setup", "Amplitude configuration", "Mixpanel vs PostHog", "GA4 for SaaS".

Data & AnalyticsIn 1 list18

Browse the most popular Claude skills, all data & analytics skills, or write your own with the skills generator.