drive

Manage tmux sessions and execute terminal commands with sentinel monitoring.

267|75|Updated Mar 3, 2026
One-click install
npx skills add https://github.com/disler/mac-mini-agent --skill drive-disler
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: drive
Source: https://github.com/disler/mac-mini-agent/tree/main/.claude/skills/drive
Command: npx skills add https://github.com/disler/mac-mini-agent --skill drive-disler

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill provides AI agents with robust programmatic control over terminal environments, enabling complex command execution, output monitoring, and process management without manual intervention.

Core Features & Use Cases

  • Tmux Session Management: Create, list, and kill tmux sessions for isolated command execution.
  • Command Execution & Monitoring: Run commands, wait for completion with sentinel detection, or stream logs.
  • Interactive Tool Support: Send raw keystrokes to interactive applications like vim or ipython.
  • Parallel Execution: Run commands concurrently across multiple sessions using fanout.
  • Process Management: Inspect, kill, and monitor processes within sessions or system-wide.
  • Use Case: An agent needs to build a project, run tests, and then deploy the application. Drive can manage these steps sequentially or in parallel across different environments.

Quick Start

Use the drive skill to create a new tmux session named 'agent-session' and then run the command 'echo hello world' within it.

Frequently Asked Questions about drive

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate terminal operations and manage tmux sessions with an AI agent?

Automating terminal operations with an AI agent involves using tmux session management to create isolated environments, execute commands, and monitor output. This enables robust programmatic control over terminal environments without manual intervention.

Can I run commands in parallel across multiple terminal sessions?

Yes, you can run commands in parallel across multiple terminal sessions using the fanout feature. This allows concurrent execution across different environments, which is useful for CI/CD pipelines and parallel development workflows.

Does this approach support sending raw keystrokes to interactive terminal applications?

Yes, the terminal automation approach supports sending raw keystrokes to interactive applications. This allows AI agents to programmatically control and interact with tools like vim or ipython within a managed tmux session.

How do I monitor command execution output and detect when a process finishes?

You monitor command execution output and detect completion using a sentinel protocol. This mechanism waits for specific markers in the output stream, ensuring the agent knows exactly when a long-running command has finished executing.

What is the best way to manage system-wide processes from an automated terminal workflow?

The best way to manage system-wide processes from an automated terminal workflow is to inspect, kill, and monitor them directly within the managed tmux sessions. This provides isolated process control for development and system administration tasks.

Do I need tmux installed to use terminal command execution and session management?

Yes, you need tmux installed because the terminal command execution and session management relies on it to create isolated environments. Tmux provides the foundational session layer required for running and monitoring commands programmatically.