From open-cockpit
Use when the user should see terminal output live, when you need a persistent shell (SSH, virtualenvs), or when collaborating in a shared terminal.
How this skill is triggered — by the user, by Claude, or both
Slash command
/open-cockpit:cockpit-terminalsThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Your session has **terminal tabs** in the Open Cockpit sidebar. Tab 0 is the Claude TUI (you) — only shell tabs (1+) accept commands. Fresh sessions may only have tab 0; `term open` or `term exec` creates a shell tab.
Your session has terminal tabs in the Open Cockpit sidebar. Tab 0 is the Claude TUI (you) — only shell tabs (1+) accept commands. Fresh sessions may only have tab 0; term open or term exec creates a shell tab.
# Run a command in an existing shell tab, get clean output
cockpit-cli term run 1 'git status'
# One-shot: opens ephemeral tab → runs → returns output → closes
cockpit-cli term exec 'npm test'
# Read last 15 lines of a tab (always use --tail to avoid flooding context)
cockpit-cli term read 1 --tail 15
# Wait for a long command to finish, then get recent output
cockpit-cli term read 1 --wait 'Build complete' --timeout 120 --tail 20
| Subcommand | Description |
|---|---|
run <tab> 'cmd' [--timeout N] | Run command, return clean output. Default 30s — set higher for slow commands. Errors on timeout. |
exec 'cmd' [--timeout N] | Like run but opens an ephemeral tab (auto-closes after). |
read <tab> --tail N | Last N lines of buffer (ANSI-stripped). Always use --tail — raw read dumps the entire scrollback. |
read <tab> --wait PATTERN [--timeout N] | Poll until regex matches (default 30s). Combine with --tail. |
write <tab> 'text\r' | Type into terminal (\r = Enter). For interactive programs or when run can't detect completion. |
key <tab> <keyname> | Send a key: ctrl-c, ctrl-d, ctrl-l, ctrl-z, enter, escape, tab, up, down, left, right, backspace |
ls | List tabs (index, label, TUI flag) |
open [/path] | New persistent shell tab |
close <tab> | Close a shell tab |
watch <tab> | Stream output live (ctrl-c to stop) |
cockpit-cli not found: Use full path ~/.open-cockpit/bin/cockpit-cli.
API socket not found / ENOENT: Open Cockpit isn't running. Ask the user to restart it — terminals survive restarts.
npx claudepluginhub eliasschlie/claude-plugins --plugin open-cockpitManages tmux sessions, windows, and panes for persistent remote workflows and shell scripting automation. Useful for long-running processes, SSH disconnects, and multi-pane terminal layouts.
Executes shell commands in other tmux panes with exit code detection; sends messages to CLI agents/scripts for inter-pane communication and coordination.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.