Tmux Remote
Skill by 164149043
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/164149043/tmux-remoteWhat This Skill Does
The Tmux Remote skill is a specialized agent capability designed for managing interactive terminal sessions within tmux. It empowers OpenClaw to programmatically send commands, capture real-time output, and organize screen layouts. By acting as an interface between the AI agent and the tmux terminal multiplexer, this skill enables the agent to operate long-running CLI tasks, manage split-pane workflows, and handle interactive processes that would otherwise time out or lose context in a standard shell execution. It allows the agent to treat a remote terminal like a workspace where it can monitor logs, debug applications, and iterate on CLI-based workflows independently.
Installation
To integrate this skill, ensure that the tmux binary is available on your host system (Linux or macOS). Execute the following command in your terminal:
clawhub install openclaw/skills/skills/164149043/tmux-remote
Verify installation by checking that tmux is accessible via your system's PATH. The skill relies on standard tmux control sequences to interact with existing or newly created sessions.
Use Cases
- Automated Long-Running Processes: Keep a server, database, or build process running in a persistent background tmux session that the agent can check periodically.
- Interactive CLI Debugging: Execute interactive tools like
gdborncursesbased interfaces, where the agent needs to send specific key sequences and read the resulting text response. - Multi-Pane Dashboard Management: Configure a multi-pane layout to monitor system logs in one pane while running unit tests in another, allowing the agent to correlate output across different contexts.
- Session Recovery: Manage existing work sessions by attaching to them, inspecting the current state, and continuing tasks without manual intervention.
Example Prompts
- "Open a new tmux session named 'dev-server', split the window horizontally, start the backend in the first pane, and tail the log file in the second."
- "Check the status of the 'data-processor' session, capture the output from the last 20 lines of pane 0, and let me know if there are any error keywords."
- "In the current tmux window, send a Ctrl+C to stop the current process, clear the screen, and run 'npm install' to refresh dependencies."
Tips & Limitations
- Session Persistence: Tmux sessions persist even after the agent finishes its task. Remember to kill sessions when they are no longer needed to prevent resource buildup.
- Pane Addressing: Always target specific panes using the
session:window.panesyntax to ensure commands land in the intended context. - Performance: Frequent scraping of large buffers can be resource-intensive. Request specific ranges of output whenever possible.
- Limitations: The skill depends on standard terminal output. Graphic-based terminal applications (like heavy TUI games or complex visual overlays) may not translate perfectly into the raw text returned by the capture commands.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-164149043-tmux-remote": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: code-execution
Related Skills
obsidian-notes
Work with Obsidian vaults (plain Markdown notes) and automate via obsidian-cli.
mcporter-cli
Use the mcporter CLI to list, configure, auth, and call MCP servers/tools directly (HTTP or stdio), including ad-hoc servers, config edits, and CLI/type generation.
Weather Tools
Skill by 164149043
Summarize Cli
Skill by 164149043
github-tools
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.