spawn

Spawn external CLI commands in new terminal windows via fork_terminal.

8|1|Updated Jul 11, 2025
One-click install
npx skills add https://github.com/Consiliency/treesitter-chunker --skill spawn-consiliency
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: spawn
Source: https://github.com/Consiliency/treesitter-chunker/tree/main/.ai-dev-kit/skills/spawn
Command: npx skills add https://github.com/Consiliency/treesitter-chunker --skill spawn-consiliency

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a simple interface to launch external CLI tasks in a fresh terminal window, reducing context switching and keeping long-running commands isolated from your main session.

Core Features & Use Cases

  • Multi-Platform Spawning: Open new Terminal.app, Windows Terminal, or tmux windows across macOS, Windows, and Linux.
  • Logging & Capture: Optionally capture full debug logs or clean agent output for automation and auditing.
  • Use Case: Start a long-running data processing pipeline or a build script in a separate window to avoid blocking your main workflow.

Quick Start

Use the spawn skill to launch a non-AI CLI command in a new terminal window. Example: fork_terminal("npm run build").

Frequently Asked Questions about spawn

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

FAQPage Schema
How do I run CLI commands in a new terminal window instead of blocking my current session?▼

Spawning external processes in new terminals isolates long-running commands from your main workflow. Use the spawn skill to launch CLI tasks—such as build scripts or data pipelines—in a fresh Terminal.app, Windows Terminal, or tmux window across macOS, Windows, and Linux without context switching.

Can I capture logs and output when spawning terminal processes?▼

Yes, spawn supports optional logging and output capture for automation and auditing. Configure the skill to return log file paths, enabling you to review full debug logs or clean agent output after the process completes.

Does spawning work across macOS, Windows, and Linux?▼

Spawn is cross-platform and adheres to the fork_terminal API. It opens new terminals on macOS using Terminal.app, Windows using Windows Terminal, and Linux using tmux, ensuring consistent behavior across operating systems.

What types of tasks should I spawn in a separate terminal?▼

Spawn is ideal for long-running automation tasks: code builds, media processing, data pipelines, and other CLI commands that would block your main session. Keeping these isolated in a new window maintains workflow continuity.

How do I automate launching multiple CLI tasks without manual terminal switching?▼

Spawn enables terminal automation by launching external CLI commands programmatically in fresh windows. This reduces manual context switching and keeps parallel tasks organized across separate terminal instances.