← Back to list

flow-next-ralph-init
by raydocs
⭐ 0🍴 0📅 Jan 24, 2026
SKILL.md
name: flow-next-ralph-init description: Scaffold repo-local Ralph autonomous harness under scripts/ralph/. Use when user runs /flow-next:ralph-init.
Ralph init
Scaffold repo-local Ralph harness. Opt-in only.
Rules
- Only create
scripts/ralph/in the current repo. - If
scripts/ralph/already exists, stop and ask the user to remove it first. - Copy templates from
templates/intoscripts/ralph/. - Copy
flowctlandflowctl.pyfrom${CLAUDE_PLUGIN_ROOT}/scripts/intoscripts/ralph/. - Set executable bit on
scripts/ralph/ralph.sh,scripts/ralph/ralph_once.sh, andscripts/ralph/flowctl.
Workflow
- Resolve repo root:
git rev-parse --show-toplevel - Check
scripts/ralph/does not exist. - Detect available review backends:
HAVE_RP=$(which rp-cli >/dev/null 2>&1 && echo 1 || echo 0) HAVE_CODEX=$(which codex >/dev/null 2>&1 && echo 1 || echo 0) - Determine review backend:
- If BOTH available, ask user (do NOT use AskUserQuestion tool):
Wait for response. Default if empty/ambiguous:Both RepoPrompt and Codex available. Which review backend? a) RepoPrompt (macOS, visual builder) b) Codex CLI (cross-platform, GPT 5.2 High) (Reply: "a", "rp", "b", "codex", or just tell me)rp - If only rp-cli available: use
rp - If only codex available: use
codex - If neither available: use
none
- If BOTH available, ask user (do NOT use AskUserQuestion tool):
- Write
scripts/ralph/config.envwith:PLAN_REVIEW=<chosen>andWORK_REVIEW=<chosen>- replace
{{PLAN_REVIEW}}and{{WORK_REVIEW}}placeholders in the template
- Copy templates and flowctl files.
- Print next steps (run from terminal, NOT inside Claude Code):
- Edit
scripts/ralph/config.envto customize settings ./scripts/ralph/ralph_once.sh(one iteration, observe)./scripts/ralph/ralph.sh(full loop, AFK)- Uninstall:
rm -rf scripts/ralph/
- Edit
Score
Total Score
50/100
Based on repository quality metrics
✓SKILL.md
SKILL.mdファイルが含まれている
+20
○LICENSE
ライセンスが設定されている
0/10
○説明文
100文字以上の説明がある
0/10
○人気
GitHub Stars 100以上
0/15
○最近の活動
3ヶ月以内に更新がある
0/10
○フォーク
10回以上フォークされている
0/5
✓Issue管理
オープンIssueが50未満
+5
✓言語
プログラミング言語が設定されている
+5
○タグ
1つ以上のタグが設定されている
0/5
Reviews
💬
Reviews coming soon