# Vellum Terminal Sessions

> Vellum Terminal Sessions is an Agent Skill for apps & automation published in the vellum-ai/vellum-assistant repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Manage persistent terminal sessions via tmux. Create, read, write to, list, and close named shell sessions. Use when the user asks about running terminal processes, wants help orchestrating CLI tasks, or asks you to monitor or interact with long-running commands. Also use when the user mentions tmux sessions.

- Skill name: `vellum-terminal-sessions`
- Category: [Apps & Automation](https://www.openparable.com/skill/apps-automation/1)
- Source: https://github.com/vellum-ai/vellum-assistant/blob/HEAD/skills/vellum-terminal-sessions/SKILL.md
- Repository: vellum-ai/vellum-assistant (886 GitHub stars when collected)

## SKILL.md

## 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** | `vellum terminal attach <session-name>`    | User opens their own terminal                                       |
| **Assistant access**  | Direct (`bash` tool)                       | Via `host_bash`                                                     |
| **Best for**          | Claude Code orchestration, 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

---

Source: https://www.openparable.com/skill/apps-automation/vellum-terminal-sessions (OpenParable). Cite the canonical URL above.
