[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6R7E66YP1A7X3B2XTQ54JSE":3,"skill-same:01M6R7E66YP1A7X3B2XTQ54JSE":91},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":39,"linkOnly":40,"markdownContent":41,"markdownBody":42,"frontMatter":43,"refName":54,"commitSha":55,"skillDirectory":56,"forksCount":57,"repositoryHtmlUrl":58,"repositoryHomepageUrl":6,"ownerHtmlUrl":59,"ownerBlogUrl":60,"ownerDescription":61,"updatedAt":62,"install":63,"resources":76},"01M6R7E66YP1A7X3B2XTQ54JSE","harness-ralph-loop",null,"Runs iterate-until-pass loops with ralph-worker agents in a worktree. Use when running [ralph]-marked tasks or looping until verify passes.","tim-hub\u002Fpowerball-harness","tim-hub","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F2884320?v=4","01M6R7B70M93Y25SH3DV1B4Q26","Tim","01M6R7B74YQWC556YVC0FRVS3T",35,"MIT","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fharness-ralph-loop\u002FSKILL.md",[],[19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38],"harness","harness ralph loop","ralph loop","ralph","loop","use","Bash","task","worker","tests","false","id","ITER","loops","with","mode","iterate","when","running","tasks","2026-11-10 10:12:30",false,"---\nname: harness-ralph-loop\ndescription: \"Runs iterate-until-pass loops with ralph-worker agents in a worktree. Use when running [ralph]-marked tasks or looping until verify passes.\"\nwhen_to_use: \"ralph task, loop until pass, iterate until tests pass, ralph mode, run ralph loop, [ralph] task\"\nallowed-tools: [\"Read\", \"Write\", \"Edit\", \"Bash\", \"Task\", \"Skill\"]\nargument-hint: \"[task-id|help|--max-iter N|--verify CMD]\"\nmodel: sonnet\neffort: high\nuser-invocable: false\n---\n\n# Harness Ralph Loop\n\nIterative-loop orchestrator for `[ralph]`-marked Plans.md tasks.\nSpawns a fresh `harness:ralph-worker` subagent per attempt inside a single persistent worktree,\nruns the Verify command authoritatively, and loops until both the `\u003Cpromise>` text tag and verify exit 0 agree.\n\n## Quick Reference\n\n| Subcommand \u002F Argument | Behavior |\n|---|---|\n| `help` | Print usage, philosophy, and link to prompt-best-practices.md |\n| `\u003Ctask-id>` | Run the loop for a Plans.md task that has `[ralph]` marker |\n| `--max-iter N` | Override MaxIter (default: 10) |\n| `--verify CMD` | Override the Verify command from the task |\n\n## Execution Flow\n\nSee [`references\u002Floop-flow.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Floop-flow.md) for the complete orchestrator pseudocode.\n\nSummary: 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 `\u003Cpromise>…\u003C\u002Fpromise>`, 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).\n\n## Help Subcommand\n\nRunning `harness-ralph-loop help` prints the following:\n\n1. **Overview** — harness-ralph-loop is an iterative-loop orchestrator that spawns a fresh\n   `ralph-worker` subagent per attempt inside a single persistent worktree, runs the Verify\n   command authoritatively, and loops until both the `\u003Cpromise>` text tag and verify exit 0 agree.\n\n2. **Philosophy bullets:**\n   - **Iteration > Perfection** — let the loop refine; don't aim for perfect on the first try\n   - **Failures Are Data** — deterministically bad means tunable; each failure leaves context\n   - **Operator Skill Matters** — prompt quality is the primary lever, not model strength\n   - **Persistence Wins** — keep trying; the loop handles retry logic automatically\n\n3. **Prompt guidance pointer:**\n   For full prompt-writing guidance see [`prompt-best-practices.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fprompt-best-practices.md)\n\n4. **Task-pattern fit pointer:**\n   For task-pattern fit see [`when-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md)\n\n## When to Use Ralph\n\nSee [`references\u002Fwhen-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md) for guidance on which tasks are Ralph-suitable and which are not.\n\n## Reference Files\n\n| File | Purpose |\n|------|---------|\n| [`references\u002Floop-flow.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Floop-flow.md) | Full orchestrator pseudocode, prompt template, decision matrix, terminal-state handling |\n| [`references\u002Fwhen-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md) | When to use Ralph (task patterns, DoD quality checks) |\n| [`references\u002Fprompt-best-practices.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fprompt-best-practices.md) | Prompt writing best practices (A1–A4), philosophy bullets, learn-more links |\n\n## Related Skills and Agents\n\n- `harness-plan` — Emits `[ralph]` marker + `Verify:` line for suitable tasks\n- `harness-work` — Detects `[ralph]` marker and routes to this skill\n- `harness:ralph-worker` — The per-iteration worker agent this skill dispatches\n","# Harness Ralph Loop\n\nIterative-loop orchestrator for `[ralph]`-marked Plans.md tasks.\nSpawns a fresh `harness:ralph-worker` subagent per attempt inside a single persistent worktree,\nruns the Verify command authoritatively, and loops until both the `\u003Cpromise>` text tag and verify exit 0 agree.\n\n## Quick Reference\n\n| Subcommand \u002F Argument | Behavior |\n|---|---|\n| `help` | Print usage, philosophy, and link to prompt-best-practices.md |\n| `\u003Ctask-id>` | Run the loop for a Plans.md task that has `[ralph]` marker |\n| `--max-iter N` | Override MaxIter (default: 10) |\n| `--verify CMD` | Override the Verify command from the task |\n\n## Execution Flow\n\nSee [`references\u002Floop-flow.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Floop-flow.md) for the complete orchestrator pseudocode.\n\nSummary: 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 `\u003Cpromise>…\u003C\u002Fpromise>`, 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).\n\n## Help Subcommand\n\nRunning `harness-ralph-loop help` prints the following:\n\n1. **Overview** — harness-ralph-loop is an iterative-loop orchestrator that spawns a fresh\n   `ralph-worker` subagent per attempt inside a single persistent worktree, runs the Verify\n   command authoritatively, and loops until both the `\u003Cpromise>` text tag and verify exit 0 agree.\n\n2. **Philosophy bullets:**\n   - **Iteration > Perfection** — let the loop refine; don't aim for perfect on the first try\n   - **Failures Are Data** — deterministically bad means tunable; each failure leaves context\n   - **Operator Skill Matters** — prompt quality is the primary lever, not model strength\n   - **Persistence Wins** — keep trying; the loop handles retry logic automatically\n\n3. **Prompt guidance pointer:**\n   For full prompt-writing guidance see [`prompt-best-practices.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fprompt-best-practices.md)\n\n4. **Task-pattern fit pointer:**\n   For task-pattern fit see [`when-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md)\n\n## When to Use Ralph\n\nSee [`references\u002Fwhen-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md) for guidance on which tasks are Ralph-suitable and which are not.\n\n## Reference Files\n\n| File | Purpose |\n|------|---------|\n| [`references\u002Floop-flow.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Floop-flow.md) | Full orchestrator pseudocode, prompt template, decision matrix, terminal-state handling |\n| [`references\u002Fwhen-to-ralph.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fwhen-to-ralph.md) | When to use Ralph (task patterns, DoD quality checks) |\n| [`references\u002Fprompt-best-practices.md`](${CLAUDE_SKILL_DIR}\u002Freferences\u002Fprompt-best-practices.md) | Prompt writing best practices (A1–A4), philosophy bullets, learn-more links |\n\n## Related Skills and Agents\n\n- `harness-plan` — Emits `[ralph]` marker + `Verify:` line for suitable tasks\n- `harness-work` — Detects `[ralph]` marker and routes to this skill\n- `harness:ralph-worker` — The per-iteration worker agent this skill dispatches\n",{"name":5,"model":44,"effort":45,"description":7,"when_to_use":46,"allowed-tools":47,"argument-hint":53,"user-invocable":40},"sonnet","high","ralph task, loop until pass, iterate until tests pass, ralph mode, run ralph loop, [ralph] task",[48,49,50,25,51,52],"Read","Write","Edit","Task","Skill","[task-id|help|--max-iter N|--verify CMD]","master","cf086c6a667d37610d30a4236b94d8ab02e4efc5","harness\u002Fskills\u002Fharness-ralph-loop",0,"https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness","https:\u002F\u002Fgithub.com\u002Ftim-hub","https:\u002F\u002Ftim.bai.uno","Building things.","2026-08-05 17:45:08",{"source":8,"skillName":5,"commands":64,"prompt":74,"zipAvailable":75},[65,68,71],{"tool":66,"command":67},"npx","npx skills add tim-hub\u002Fpowerball-harness --skill harness-ralph-loop",{"tool":69,"command":70},"bunx","bunx skills add tim-hub\u002Fpowerball-harness --skill harness-ralph-loop",{"tool":72,"command":73},"pnpm","pnpm dlx skills add tim-hub\u002Fpowerball-harness --skill harness-ralph-loop","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fharness-ralph-loop\u002FSKILL.md",true,[77,83,87],{"path":78,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":81,"sourceHtmlUrl":82},"references\u002Floop-flow.md","REFERENCE","参考文档",11750,"https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fharness-ralph-loop\u002Freferences\u002Floop-flow.md",{"path":84,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":85,"sourceHtmlUrl":86},"references\u002Fprompt-best-practices.md",6788,"https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fharness-ralph-loop\u002Freferences\u002Fprompt-best-practices.md",{"path":88,"resourceType":79,"resourceTypeDesc":80,"sizeBytes":89,"sourceHtmlUrl":90},"references\u002Fwhen-to-ralph.md",5774,"https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Fskills\u002Fharness-ralph-loop\u002Freferences\u002Fwhen-to-ralph.md",[92,104,113,134,153,158],{"skillNo":93,"name":94,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":95,"categories":96,"keywords":97,"publishedAt":39},"01M6R7GH70ABV40CS95W4WWMQZ","escape-skill","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-escape\u002FSKILL.md",[],[98,99,100,101,102,29,103],"escape skill","escape","quoted","path","true","Tools",{"skillNo":105,"name":106,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"publishedAt":39},"01M6R7G8A2BQHYTAR39BY7X3GK","zz-review-empty","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Ftests\u002Ffixtures\u002Fskills\u002Fzz-review-empty\u002FSKILL.md",[],[110,111,112,102,29],"review","zz review empty","empty",{"skillNo":114,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":117,"categories":118,"keywords":119,"publishedAt":39},"01M6R7G3XH6C43JKP2RX1SZW6V","harness-schedule-run","Use when running Plans.md tasks on a scheduled cadence (fresh context per wake-up, sprint-contract flow, plateau detection, flock guard). Do NOT load for: single-task work (harness-work), planning, review, release.","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Ftemplates\u002Fopencode\u002Fskills\u002Fharness-schedule-run\u002FSKILL.md",[],[120,121,19,122,110,38,123,124,125,126,36,127,25,128,129,130,131,27,132,133],"run","harness schedule run","schedule","ci","MCP","mem","wake","sprint-contract","scheduled","cadence","sprint","fresh","up","work",{"skillNo":135,"name":136,"nameZh":6,"description":137,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":138,"categories":139,"keywords":140,"publishedAt":39},"01M6R7FY3ZVYDDKXBT3D7QSFFK","harness-work","Use when implementing, executing, or running Plans.md tasks — single task, parallel workers, or full team\u002Fbreezing run. Accepts specific task numbers or ranges. Do NOT load for: planning, review, release, or setup.","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Ftemplates\u002Fcodex-skills\u002Fharness-work\u002FSKILL.md",[],[141,19,133,142,36,143,34,144,145,146,147,148,149,25,150,120,38,151,110,152],"harness work","full","implementing","number","breezing","auto","edit","write","team","release","commit","read",{"skillNo":154,"name":115,"nameZh":6,"description":116,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":155,"categories":156,"keywords":157,"publishedAt":39},"01M6R7FGP3R612506A5GKMBF5C","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Ftemplates\u002Fcodex-skills\u002Fharness-schedule-run\u002FSKILL.md",[],[121,19,120,122,110,124,38,128,36,127,126,129,130,131,27,125,132,133,25,123],{"skillNo":159,"name":145,"nameZh":6,"description":160,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":161,"categories":162,"keywords":163,"publishedAt":39},"01M6R7FCDN9AS7RSQFGZWHTF7F","Use when running the full team\u002Fbreezing flow end-to-end — all tasks with parallel workers. Do NOT load for: single-task implementation, planning, review, release, or setup.","https:\u002F\u002Fgithub.com\u002Ftim-hub\u002Fpowerball-harness\u002Fblob\u002Fmaster\u002Fharness\u002Ftemplates\u002Fcodex-skills\u002Fbreezing\u002FSKILL.md",[],[145,147,37,36,164,34,165,166,142,146,148,152,167,25,149,168,150,38,151,110],"single-task","websearch","end","parallel","flow"]