TmuxSubagentCreation

Community

Spawn Claude subagents via tmux automation.

Authorandallen
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill enables programmatic creation of Claude Code subagents by automating the interactive /agents TUI via tmux, removing the need for manual TUI interaction and enabling repeatable provisioning.

Core Features & Use Cases

  • Automated subagent creation: Use tmux to drive Claude Code's /agents workflow and generate new subagents without manual clicks.
  • Configurable provisioning: Support location choice (Project or Personal), generation method, and custom descriptions to tailor each subagent.
  • Use Case: Batch-create multiple subagents with consistent settings in CI-like workflows or onboarding scripts.

Quick Start

Use the following sequence to create a new subagent via tmux automation:

  1. Kill any existing session: tmux kill-session -t cc 2>/dev/null || true
  2. Start new detached session with Claude Code: tmux new-session -d -s cc -x 120 -y 30 'claude'
  3. Wait for startup: sleep 4
  4. Navigate to /agents: tmux send-keys -t cc '/agents' Enter sleep 2
  5. Select "Create new agent": tmux send-keys -t cc Enter sleep 2
  6. Choose Location and Creation Method as described in steps: tmux send-keys -t cc Down Enter # Select Personal sleep 2 tmux send-keys -t cc Enter sleep 2
  7. Enter Agent Description and save: DESCRIPTION="Your detailed agent description here..." tmux send-keys -t cc "$DESCRIPTION" tmux send-keys -t cc Enter sleep 15
  8. Save and exit: tmux send-keys -t cc Enter sleep 2 tmux send-keys -t cc Escape sleep 1 tmux send-keys -t cc '/exit' Enter sleep 2 tmux kill-session -t cc

Dependency Matrix

Required Modules

None required

Components

Standard package

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: TmuxSubagentCreation
Download link: https://github.com/andallen/claude-monet/archive/main.zip#tmuxsubagentcreation

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.