スキル一覧に戻る
raydocs

flow-next-ralph-init

by raydocs

0🍴 0📅 2026年1月24日
GitHubで見るManusで実行

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/ into scripts/ralph/.
  • Copy flowctl and flowctl.py from ${CLAUDE_PLUGIN_ROOT}/scripts/ into scripts/ralph/.
  • Set executable bit on scripts/ralph/ralph.sh, scripts/ralph/ralph_once.sh, and scripts/ralph/flowctl.

Workflow

  1. Resolve repo root: git rev-parse --show-toplevel
  2. Check scripts/ralph/ does not exist.
  3. 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)
    
  4. Determine review backend:
    • If BOTH available, ask user (do NOT use AskUserQuestion tool):
      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)
      
      Wait for response. Default if empty/ambiguous: rp
    • If only rp-cli available: use rp
    • If only codex available: use codex
    • If neither available: use none
  5. Write scripts/ralph/config.env with:
    • PLAN_REVIEW=<chosen> and WORK_REVIEW=<chosen>
    • replace {{PLAN_REVIEW}} and {{WORK_REVIEW}} placeholders in the template
  6. Copy templates and flowctl files.
  7. Print next steps (run from terminal, NOT inside Claude Code):
    • Edit scripts/ralph/config.env to customize settings
    • ./scripts/ralph/ralph_once.sh (one iteration, observe)
    • ./scripts/ralph/ralph.sh (full loop, AFK)
    • Uninstall: rm -rf scripts/ralph/

スコア

総合スコア

50/100

リポジトリの品質指標に基づく評価

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

レビュー

💬

レビュー機能は近日公開予定です