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

Apache-2.0Auto-check passedData & Analytics

Install Tmux

skills CLI
$ npx skills add trpc-group/trpc-agent-go --skill tmux -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install trpc-group/trpc-agent-go tmux --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/trpc-group/trpc-agent-go.git skills-src && mkdir -p .claude/skills && cp -r skills-src/openclaw/skills/tmux .claude/skills/tmux && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
tmux
GitHub stars
1.8k
Used in
23 other repos
Token cost
~868 tokens
SKILL.md length
196 words
Files
3 (incl. scripts)
Skills in repo
47
Repo updated
First seen
Licence
Apache-2.0

At a glance

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

  • Tasks that involve Web scraping
  • SKILL.md covers When to Use, When NOT to Use, Example Sessions and Common Commands, plus 3 more sections
  • Runs Shell scripts from its folder

What it does

Tmux is an agent skill from trpc-group/trpc-agent-go. Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

Its SKILL.md is about 870 tokens, which your agent loads only when the skill is triggered. The skill folder holds 3 other files, including scripts (for example `scripts/find-sessions.sh` and `scripts/wait-for-text.sh`).

It sits in Data & Analytics, covering Web scraping. It works with tmux. The repository describes itself as: A Go framework for building production agent systems with graph workflows, tools, memory, A2A, AG-UI, MCP, evaluation, and observability. The licence is Apache-2.0.

When your agent uses it

  • Tasks that involve Web scraping

Example prompts

  • “/tmux”

Requirements

  • A Bash shell

What it can do on your machine

Read from SKILL.md and the folder at commit 9bb1c42. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Shell), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Tmux loads about 868 tokens when it runs. Until then it costs about 26 tokens; SKILL.md has 196 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~26
When it runs · the whole SKILL.md, loaded when a task matches
~868

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from trpc-group/trpc-agent-go at commit 9bb1c42, republished under its Apache-2.0 licence (© trpc-group). 196 words, ~868 tokens.

Download SKILL.mdSave it as .claude/skills/tmux/SKILL.md (or your agent's skills folder). This skill also uses 2 other files; get the full folder from GitHub.
name
tmux
description
Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

tmux Session Control

Control tmux sessions by sending keystrokes and reading output. Essential for managing Claude Code sessions.

When to Use

✅ USE this skill when:

  • Monitoring Claude/Codex sessions in tmux
  • Sending input to interactive terminal applications
  • Scraping output from long-running processes in tmux
  • Navigating tmux panes/windows programmatically
  • Checking on background work in existing sessions

When NOT to Use

❌ DON'T use this skill when:

  • Running one-off shell commands → use exec tool directly
  • Starting new background processes → use exec with background:true
  • Non-interactive scripts → use exec tool
  • The process isn't in tmux
  • You need to create a new tmux session → use exec with tmux new-session

Example Sessions

SessionPurpose
sharedPrimary interactive session
worker-2 - worker-8Parallel worker sessions

Common Commands

List Sessions
bash
tmux list-sessions
tmux ls
Capture Output
bash
# Last 20 lines of pane
tmux capture-pane -t shared -p | tail -20

# Entire scrollback
tmux capture-pane -t shared -p -S -

# Specific pane in window
tmux capture-pane -t shared:0.0 -p
Send Keys
bash
# Send text (doesn't press Enter)
tmux send-keys -t shared "hello"

# Send text + Enter
tmux send-keys -t shared "y" Enter

# Send special keys
tmux send-keys -t shared Enter
tmux send-keys -t shared Escape
tmux send-keys -t shared C-c          # Ctrl+C
tmux send-keys -t shared C-d          # Ctrl+D (EOF)
tmux send-keys -t shared C-z          # Ctrl+Z (suspend)
Window/Pane Navigation
bash
# Select window
tmux select-window -t shared:0

# Select pane
tmux select-pane -t shared:0.1

# List windows
tmux list-windows -t shared
Session Management
bash
# Create new session
tmux new-session -d -s newsession

# Kill session
tmux kill-session -t sessionname

# Rename session
tmux rename-session -t old new

Sending Input Safely

For interactive TUIs (Claude Code, Codex, etc.), split text and Enter into separate sends to avoid paste/multiline edge cases:

bash
tmux send-keys -t shared -l -- "Please apply the patch in src/foo.ts"
sleep 0.1
tmux send-keys -t shared Enter

Claude Code Session Patterns

Check if Session Needs Input
bash
# Look for prompts
tmux capture-pane -t worker-3 -p | tail -10 | grep -E "❯|Yes.*No|proceed|permission"
Approve Claude Code Prompt
bash
# Send 'y' and Enter
tmux send-keys -t worker-3 'y' Enter

# Or select numbered option
tmux send-keys -t worker-3 '2' Enter
Check All Sessions Status
bash
for s in shared worker-2 worker-3 worker-4 worker-5 worker-6 worker-7 worker-8; do
  echo "=== $s ==="
  tmux capture-pane -t $s -p 2>/dev/null | tail -5
done
Send Task to Session
bash
tmux send-keys -t worker-4 "Fix the bug in auth.js" Enter

Notes

  • Use capture-pane -p to print to stdout (essential for scripting)
  • -S - captures entire scrollback history
  • Target format: session:window.pane (e.g., shared:0.0)
  • Sessions persist across SSH disconnects

© trpc-group, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 2 other files (scripts) in openclaw/skills/tmux of trpc-group/trpc-agent-go.

  • SKILL.md
  • scripts/find-sessions.sh
  • scripts/wait-for-text.sh

Open the folder on GitHubat commit 9bb1c42

Used in 23 other repositories

We found 25 copies of this SKILL.md (exact, near-identical or edited) in other folders, from 23 other GitHub owners. This page covers the copy in trpc-group/trpc-agent-go, which our catalogue first saw on October 7, 2026.

Compare with similar skills

Tmux next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Tmux compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Tmux this skilltrpc-group/trpc-agent-go1.8k23 repos~868Automated safety check: PassApache-2.0
Tmuxmitsuhiko/agent-stuff3.2k—~1.4kAutomated safety check: PassApache-2.0
Tmuxarchibate/dotfiles-opencode107—~1.4kAutomated safety check: PassNone
Querying Indonesian Gov Datasuryast/indonesia-gov-apis172—~997Automated safety check: PassMIT
Eval Loopmalloydata/publisher116—~7.8kAutomated safety check: PassMIT
Apify Actor Developmentsickn33/agentic-awesome-skills47k2 repos~3.3kAutomated safety check: PassMIT

Similar skills

  • Tmux

    mitsuhiko/agent-stuff

    Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.

    3.2k GitHub stars~1.4k tokensUpdated 9 days ago
    Data & AnalyticsAuto-check passed
  • Tmux

    archibate/dotfiles-opencode

    Remote control tmux sessions for interactive CLIs (python, gdb, etc.) by sending keystrokes and scraping pane output.

    107 GitHub stars~1.4k tokensUpdated 5 mo ago
    Data & AnalyticsAuto-check passed
  • Querying Indonesian Gov Data

    suryast/indonesia-gov-apis

    Query 57 Indonesian government APIs and data sources — BPJPH halal certification, BPOM food safety, OJK financial legality, BPS statistics, BMKG weather/earthquakes, Bank Indonesia exchange rates…

    172 GitHub stars~997 tokensUpdated yesterday
    Data & AnalyticsAuto-check passed
  • Eval Loop

    malloydata/publisher

    Conduct a local Publisher evaluation loop in five steps: scrape/run, eval, diagnose, improve, checkpoint.

    116 GitHub stars~7.8k tokensUpdated today
    Data & AnalyticsAuto-check passed
  • Apify Actor Development

    sickn33/agentic-awesome-skills

    Important: Before you begin, fill in the generatedBy property in the meta section of .actor/actor.json.

    47k GitHub starsUsed in 2 repos~3.3k tokens
    Data & AnalyticsAuto-check passed
  • Daily News Report

    aiskillstore/marketplace

    Scrapes content based on a preset URL list, filters high-quality technical information, and generates daily Markdown reports.

    430 GitHub starsUsed in 6 repos~2.8k tokens
    Data & AnalyticsAuto-check passed

More from trpc-group/trpc-agent-go

All 47 skills in this repo
  • Model Usage

    trpc-group/trpc-agent-go

    Use CodexBar CLI local cost usage to summarize per-model usage for Codex or Claude, including the current (most recent) model or a full model breakdown.

    1.8k GitHub starsUsed in 17 repos~563 tokens
    Auto-check passed
  • 1password

    trpc-group/trpc-agent-go

    Set up and use 1Password CLI (op). An agent skill from trpc-group/trpc-agent-go.

    1.8k GitHub starsUsed in 13 repos~656 tokens
    Auto-check passed
  • Openai Image Gen

    trpc-group/trpc-agent-go

    Batch-generate images via OpenAI Images API. An agent skill from trpc-group/trpc-agent-go.

    1.8k GitHub starsUsed in 13 repos~843 tokens
    Auto-check passed
  • GitHub

    trpc-group/trpc-agent-go

    GitHub operations via gh CLI: issues, PRs, CI runs, code review, API queries.

    1.8k GitHub starsUsed in 9 repos~1k tokens
    Auto-check passed
  • Weather

    trpc-group/trpc-agent-go

    Get current weather and forecasts via wttr.in or Open-Meteo.

    1.8k GitHub starsUsed in 8 repos~591 tokens
    Auto-check passed
  • Bluebubbles

    trpc-group/trpc-agent-go

    A skill your agent uses when you need to send or manage iMessages via BlueBubbles (recommended iMessage integration).

    1.8k GitHub starsUsed in 5 repos~768 tokens
    Auto-check passed

Works with

Questions about Tmux

What does Tmux do?

Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output. Tmux is an agent skill from trpc-group/trpc-agent-go. Remote-control tmux sessions for interactive CLIs by sending keystrokes and scraping pane output.

When should I use Tmux?

Tmux fits situations like: tasks that involve Web scraping.

How do I install Tmux in Claude Code?

Run `npx skills add trpc-group/trpc-agent-go --skill tmux -a claude-code`. Or copy the skill folder (openclaw/skills/tmux in trpc-group/trpc-agent-go) into .claude/skills/tmux in your project. Claude Code loads it when a task matches its description.

How do I install Tmux in Codex?

Run `npx skills add trpc-group/trpc-agent-go --skill tmux -a codex`. Or copy the skill folder (openclaw/skills/tmux in trpc-group/trpc-agent-go) into .agents/skills/tmux in your project. Codex loads it when a task matches its description.

Can I use Tmux in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add trpc-group/trpc-agent-go --skill tmux -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/tmux, .gemini/skills/tmux, .github/skills/tmux and .opencode/skills/tmux in your project.

What does Tmux need to run?

Going by SKILL.md and its folder, Tmux needs a shell for the scripts in its folder. Our summary lists: A Bash shell.

Does Tmux access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Tmux safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Tmux use?

Tmux is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Tmux use?

About 868 tokens (SKILL.md is roughly 3.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Tmux?

Skills that share tags, products or a category with Tmux: Tmux (mitsuhiko/agent-stuff, 3.2k stars), Tmux (archibate/dotfiles-opencode, 107 stars), Querying Indonesian Gov Data (suryast/indonesia-gov-apis, 172 stars) and Eval Loop (malloydata/publisher, 116 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Tmux?

trpc-group (a GitHub organization) maintains it in trpc-group/trpc-agent-go, which has 1,846 GitHub stars. The repository holds 47 skills in this directory. The repository was last updated on October 7, 2026.

Source: trpc-group/trpc-agent-go on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.