← ClaudeAtlas

tmux-automationlisted

Drive CLI tests inside isolated tmux/byobu sessions with ai-monitor integration. Use when asked to "test this CLI", "run it in tmux", "automate a terminal session", "capture the output of an interactive command", "send keystrokes to a session", or to exercise a plugin or terminal app without touching the current session. Covers session lifecycle, keystroke control, output capture, and autonomous monitoring.
ahundt/autorun · ★ 14 · AI & Automation · score 67
Install: claude install-skill ahundt/autorun
# Automated CLI Testing with Session Management <purpose> **autorun-specific procedures** (read the one you need, not both): `references/session-management.md` creates, lists, and cleans up isolated sessions, including the rule that cleanup only ever touches names starting with `autorun-test`. `references/isolated-testing.md` runs a command inside the dedicated `autorun-test` session so the caller's own session is never touched. This skill provides comprehensive capabilities for automated testing of CLI applications, plugins, and terminal workflows using tmux/byobu sessions with full ai-monitor integration. Perfect for testing Claude Code plugins, command-line tools, and automated workflows. </purpose> <commands> ## Core Commands ### Session Management - `byobu new-session -d -s <session-name>` - Create new detached session - `byobu list-sessions` - List all active sessions - `byobu attach-session -t <session-name>` - Attach to existing session - `byobu detach-session` - Detach from session (F6) - `byobu kill-session -t <session-name>` - Terminate session - `tmux list-sessions` - List tmux sessions ### Window Management - `byobu new-window -t <session-name>` - Create new window - `byobu list-windows -t <session-name>` - List windows in session - `byobu kill-window -t <session-name>:<window-index>` - Kill specific window - `byobu select-window -t <session-name>:<window-index>` - Select window ### Input and Output Control - `byobu send-keys -t <session-name> <keys>` -