shell-command

Installation
SKILL.md

Shell Non-Interactive Strategy (Global)

Context: OpenCode's shell environment is strictly non-interactive. It lacks a TTY/PTY, meaning any command that waits for user input, confirmation, or launches a UI (editor/pager) will hang indefinitely and timeout.

Goal: Achieve parity with Claude Code's shell capabilities through internalized knowledge of non-interactive flags and environment variables.

Cognitive & Behavioral Standards

To match the high-agency, autonomous capabilities of advanced models (like Claude Sonnet), this strategy enforces strict cognitive patterns. These are not just shell tips; they are behavioral requirements for success in this environment.

Goal: Eliminate "human-in-the-loop" dependency during task execution.

Key Behaviors:

  1. Process Continuity (Turn-Taking):

    • Rule: Never stop after a tool output to "wait for instructions" unless the task is complete.
    • Why: The environment is non-interactive. You must drive the workflow.
    • Mechanism: Commands expecting input MUST use timeouts or explicit "yes" pipes.
  2. Explicit Action Framing (Positive Constraints):

Related skills
Installs
1
Repository
iyaki/ralph
First Seen
Apr 17, 2026