Ralph Loop Writer
Skill by walkamolee
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/walkamolee/ralph-loop-writername: ralph description: "Generate Claude Code, Gemini CLI, or Grok CLI automation loop commands. Asks questions about your requirements and outputs a ready-to-run command for PowerShell, Windows CMD, or Bash/Linux." allowed-tools:
- AskUserQuestion
- Write
- Read
Ralph Command Generator
Generate optimized loop commands for automating Claude Code, Gemini CLI, or Grok CLI with PROMPT.md.
Step 1: Choose AI Tool
Use AskUserQuestion:
- Question: "Which AI CLI tool do you want to use?"
- Header: "AI Tool"
- Options:
- "Claude Code (Recommended)" - "Claude AI assistant CLI"
- "Gemini CLI" - "Google Gemini AI assistant"
- "Grok CLI" - "xAI Grok AI assistant with agentic coding"
Store the choice for later.
Step 2: Choose Model
Use AskUserQuestion based on AI tool choice:
If Claude Code selected:
- Question: "Which Claude model do you want to use?"
- Header: "Model"
- Options:
- "Default (Recommended)" - "Use default model (currently Sonnet 4.5)"
- "Haiku" - "Fastest and most cost-effective"
- "Sonnet" - "Balanced performance and cost"
- "Opus" - "Most capable, higher cost"
If Gemini CLI selected:
- Question: "Which Gemini model do you want to use?"
- Header: "Model"
- Options:
- "Default (Recommended)" - "Use default model"
- "gemini-3-flash" - "Latest Gemini 3, fastest and most cost-effective"
- "gemini-3-pro" - "Latest Gemini 3, most capable for complex tasks"
- "gemini-2.5-flash" - "Stable production model, fast"
- "gemini-2.5-pro" - "Stable production model, more capable"
If Grok CLI selected:
- Question: "Which Grok model do you want to use?"
- Header: "Model"
- Options:
- "Default (Recommended)" - "Use grok-code-fast-1, optimized for fast code generation and agentic loops"
- "grok-4-latest" - "Latest Grok 4, most capable for complex reasoning"
- "grok-beta" - "Preview of upcoming features"
Store the choice for later.
Step 3: Choose Operating System
Use AskUserQuestion:
- Question: "Which shell environment are you using?"
- Header: "Shell"
- Options:
- "PowerShell (Recommended)" - "Windows PowerShell"
- "Windows CMD" - "Command Prompt (cmd.exe)"
- "Bash/Linux" - "Linux, Mac, or WSL"
Store the choice for later.
Step 4: Choose Complexity Level
Use AskUserQuestion:
- Question: "What level of control do you need?"
- Header: "Complexity"
- Options:
- "Simple (Recommended)" - "Basic loop with minimal options"
- "Intermediate" - "Combine 2 control mechanisms"
- "Advanced" - "Full control with multiple safeguards"
Step 5: Choose Loop Type (Based on Complexity)
If Simple:
Use AskUserQuestion:
- Question: "What type of loop?"
- Header: "Loop Type"
- Options:
- "Fixed count (Recommended)" - "Run exactly N times"
- "Infinite with delay" - "Run forever with pauses"
- "Stop file trigger" - "Run until STOP.txt exists"
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-walkamolee-ralph-loop-writer": {
"enabled": true,
"auto_update": true
}
}
}