본문으로 건너뛰기
cccskills
무료GitHub에 공개

harness-ralph-loop

Runs iterate-until-pass loops with ralph-worker agents in a worktree. Use when running [ralph]-marked tasks or looping until verify passes.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(4)

  • SKILL.md4.0 KB
  • references/loop-flow.md11.5 KB
  • references/prompt-best-practices.md6.6 KB
  • references/when-to-ralph.md5.6 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Harness Ralph Loop

Iterative-loop orchestrator for [ralph]-marked Plans.md tasks. Spawns a fresh harness:ralph-worker subagent per attempt inside a single persistent worktree, runs the Verify command authoritatively, and loops until both the <promise> text tag and verify exit 0 agree.

Quick Reference

Subcommand / ArgumentBehavior
helpPrint usage, philosophy, and link to prompt-best-practices.md
<task-id>Run the loop for a Plans.md task that has [ralph] marker
--max-iter NOverride MaxIter (default: 10)
--verify CMDOverride the Verify command from the task

Execution Flow

See references/loop-flow.md for the complete orchestrator pseudocode.

Summary: On iteration 0 the orchestrator spawns a ralph-worker with isolation="worktree" to create the persistent worktree, capturing RALPH_WORKTREE from result.worktreePath. For iterations 1..N it fetches the EnterWorktree deferred-tool schema via ToolSearch, calls EnterWorktree(path=RALPH_WORKTREE), then spawns the next worker without the isolation param. After each iteration the orchestrator runs the Verify command itself (anti-tamper), compares the exit code against ralph-worker-report.v1.verify.exit_code, scans the final assistant message for <promise>…</promise>, and diffs the worktree to detect stuck iterations. The loop terminates on success or on any of the three hard-stop failure modes (FT-RALPH-01 STUCK, FT-RALPH-02 VERIFY-MISMATCH, FT-RALPH-03 MAX-ITER).

Help Subcommand

Running harness-ralph-loop help prints the following:

  1. Overview — harness-ralph-loop is an iterative-loop orchestrator that spawns a fresh ralph-worker subagent per attempt inside a single persistent worktree, runs the Verify command authoritatively, and loops until both the <promise> text tag and verify exit 0 agree.

  2. Philosophy bullets:

    • Iteration > Perfection — let the loop refine; don't aim for perfect on the first try
    • Failures Are Data — deterministically bad means tunable; each failure leaves context
    • Operator Skill Matters — prompt quality is the primary lever, not model strength
    • Persistence Wins — keep trying; the loop handles retry logic automatically
  3. Prompt guidance pointer: For full prompt-writing guidance see prompt-best-practices.md

  4. Task-pattern fit pointer: For task-pattern fit see when-to-ralph.md

When to Use Ralph

See references/when-to-ralph.md for guidance on which tasks are Ralph-suitable and which are not.

Reference Files

FilePurpose
references/loop-flow.mdFull orchestrator pseudocode, prompt template, decision matrix, terminal-state handling
references/when-to-ralph.mdWhen to use Ralph (task patterns, DoD quality checks)
references/prompt-best-practices.mdPrompt writing best practices (A1–A4), philosophy bullets, learn-more links

Related Skills and Agents

  • harness-plan — Emits [ralph] marker + Verify: line for suitable tasks
  • harness-work — Detects [ralph] marker and routes to this skill
  • harness:ralph-worker — The per-iteration worker agent this skill dispatches

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

allow1

무료

Use when generating, vectorizing, or converting images to SVG — logos, icons, illustrations, or 'allow1'/'quiver' references.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

breezing

무료

Use when running the full team/breezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Reviews PRs that modify the Feature Table in CLAUDE.md. Use when a PR adds CC version rows or modifies docs/CLAUDE-feature-table.md.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Use when researching Claude Code or Codex upstream releases, selecting adaptations, or preparing Harness upgrades. Local-only; not for distribution.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Creates a single project slide or one-page visual summary for a repo. Use when generating a project intro image or promotional slide.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

Generates product demo videos and release walkthroughs via Remotion. Use when creating video documentation or animated demos.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

tim-hub/powerball-harness352026년 8월 5일 업데이트

tim-hub의 스킬 모두 보기

이 스킬의 문제 신고