Skip to content
Back to skills

Cadet Terminal Sessions

ASecurity

Manage persistent tmux terminal sessions: create, read, write to, list, and close named shell sessions. For Claude Code or Codex, use the ACP skill instead.

  • 65 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
toolsgoswiftshellbash

Works with

  • claude code
  • terminal
  • cli

Security analysis

A100/100

Pro scans all 6 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add vargasjr-dev/mycadet-temp --skill cadet-terminal-sessions --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Cadet Terminal Sessions?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Cadet Terminal Sessions
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vargasjr-dev-cadet-terminal-sessions/badge)](https://www.skillsdirectory.com/skills/vargasjr-dev-cadet-terminal-sessions)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: cadet-terminal-sessions
description: "Manage persistent tmux terminal sessions: create, read, write to, list, and close named shell sessions. For Claude Code or Codex, use the ACP skill instead."
compatibility: "Sandbox mode works without any host dependencies. Host mode requires tmux installed on the user's machine. Works on macOS and Linux."
metadata:
  emoji: "🖥️"
  author: vargasjr-dev
  version: "0.2"
  cadet:
    category: "system"
    display-name: "Terminal Sessions"
    activation-hints:
      - "User asks about their running terminal sessions or processes"
      - "User wants to monitor a long-running command or run something in a persistent shell"
      - "User mentions tmux or terminal management"
      - "User wants to orchestrate multiple CLI processes in parallel"
    avoid-when:
      - "Setting up, authenticating, or running Claude Code or Codex: the ACP skill owns those agents"
      - "A simple one-shot command that host_bash handles fine"
      - "The user is asking about shell scripting in general, not session management"
---

## Overview

This skill manages **persistent terminal sessions** via tmux. Two modes:

|                       | Sandbox Mode                                  | Host Mode                                                           |
| --------------------- | --------------------------------------------- | ------------------------------------------------------------------- |
| **Where tmux runs**   | In the assistant's sandbox                    | On the user's host machine                                          |
| **How user connects** | `cadet terminal attach <session-name>`       | User opens their own terminal                                       |
| **Assistant access**  | Direct (`bash` tool)                          | Via `host_bash`                                                     |
| **Best for**          | Long-running builds, servers, always-on tasks | Work needing host access (e.g. SwiftUI builds, host-local services) |

**Default:** Use **Sandbox Mode** unless the task specifically requires host access. Details: [sandbox-sessions.md](references/sandbox-sessions.md) · [host-sessions.md](references/host-sessions.md) · [tmux-best-practices.md](references/tmux-best-practices.md)

## Prerequisites

**Sandbox Mode:** No setup needed — tmux is available in the sandbox.

**Host Mode:** Requires tmux on the host — see [host-sessions.md](references/host-sessions.md).

## Workflow: Orchestrating Multiple Sessions

- **List** all sessions: `tmux list-sessions` to get names and current commands
- **Read** each: `tmux capture-pane -t NAME -p -S -50` (30-50 lines is usually enough)
- **Summarize** before acting: "Build done, tests at 73%, deploy waiting for confirmation"
- **Act** on the user's instructions

Files in this skill

  • SKILL.md2.8 KB
  • references/host-sessions.md5.9 KB
  • references/sandbox-sessions.md2.2 KB
  • references/tmux-best-practices.md2.2 KB
  • scripts/setup-auto-tmux.sh4 KB
  • scripts/tt1.4 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.