One-click install
npx skills add https://github.com/HazAT/pi-config --skill cmux-hazat
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: cmux
Source: https://github.com/HazAT/pi-config/tree/main/skills/cmux
Command: npx skills add https://github.com/HazAT/pi-config --skill cmux-hazat

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill streamlines terminal management by allowing you to create, control, and monitor multiple processes across different terminal sessions, enhancing productivity for complex development workflows.

Core Features & Use Cases

  • Session Management: Create new terminal tabs (surfaces) or isolated workspaces.
  • Process Control: Send commands to running processes and read their output.
  • Workflow Orchestration: Manage dev servers, test runners, and background tasks efficiently.
  • Use Case: Start a frontend dev server in one tab, a backend API in another, and a test watcher in a third, all within the same organized workspace, and easily switch between them or monitor their output.

Quick Start

Use the cmux skill to create a new terminal tab and run 'npm run dev' inside it.

Frequently Asked Questions about cmux

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

FAQPage Schema
How do I manage multiple terminal sessions for development servers and background tasks?

Terminal session management involves creating isolated workspaces and spawning separate tabs for different processes using cmux. This allows you to organize complex development workflows by running dev servers and test watchers concurrently.

Can I send commands to a running process in a terminal workspace and read its output?

Yes, cmux allows you to send commands directly to running processes within terminal sessions and read their output. This enables efficient workflow orchestration for background tasks and development servers.

Do I need tmux installed to use terminal session management for multi-terminal workflows?

You need cmux installed and configured with a CMUX_SOCKET_PATH environment variable to manage terminal sessions. The tool relies on this setup to facilitate spawning surfaces and orchestrating multi-terminal workflows.

What is the best way to orchestrate a frontend dev server and backend API in separate terminal tabs?

Using cmux to create an organized workspace and spawn separate terminal tabs for each process is the best way to orchestrate multi-terminal workflows. You can start a frontend dev server and backend API in separate tabs and easily switch between them.

Why does cmux require a CMUX_SOCKET_PATH environment variable for terminal process control?

The CMUX_SOCKET_PATH environment variable is required for cmux to establish the communication channel needed for terminal session management. Without it, the tool cannot facilitate spawning surfaces or reading process output.