shell-command
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:
-
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.
-
Explicit Action Framing (Positive Constraints):
More from iyaki/ralph
spec-creator
Generate comprehensive technical specifications for usage with Ralph.
10code-search
Use when you need to locate definitions of classes, functions, constants, types, or symbols in the application code. Before searching individual files, run Repomix with stdout output to capture a snapshot and base the search on that content.
1skill-creator
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
1agent-spec-creation
Create or update agent integration specs before implementation. Use this whenever a request is about defining how a new or existing agent should behave in Ralph.
1test-driven-development
Use when implementing any feature or bugfix, before writing implementation code
1agent-implementation
Implement or update support for an underlying agent CLI in Ralph after specs are defined, including factory wiring and tests.
1