single-command-script-chaining

Installation
SKILL.md

Single-Command CLI Chaining Protocol (Compound Execution Flow)

Overview

When setting up a project or verifying a feature, naive agents execute each shell step across separate, sequential conversation turns:

  • Turn 1: run_command("mkdir -p src/components")
  • Turn 2: run_command("touch src/components/Modal.tsx")
  • Turn 3: run_command("npm install lucide-react")
  • Turn 4: run_command("npm test")

Executing 4 separate commands requires 4 complete API roundtrips, re-sends the conversation transcript 4 times, and takes 20+ seconds of interactive latency.

The Single-Command CLI Chaining Protocol combines dependent commands into a single, atomic shell pipeline using Logical Short-Circuit Operators (&&, |), completing the entire sequence in 1 turn.


4-Turn Sequential Invocations vs. 1-Turn Compound Chaining

Installs
1
GitHub Stars
2
First Seen
Oct 24, 2026