一键导入
ralph-loop
Execute one Ralph development loop iteration. Reads fix_plan.md, implements the first unchecked task, verifies, and commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Execute one Ralph development loop iteration. Reads fix_plan.md, implements the first unchecked task, verifies, and commits.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Ralph's per-loop execution contract — one task from fix_plan.md, the RALPH_STATUS exit block, epic-boundary QA deferral, and the dual-condition EXIT_SIGNAL gate. Invoke at the start of every Ralph loop so the response follows the contract the harness depends on.
Eval-first principles and cost-aware model routing for the Ralph loop. This skill should be used before committing budget to a MEDIUM+ task or when choosing a sub-agent: articulate the behavior to verify first, then route by task type (docs/tools → Haiku, code → Sonnet, arch → Opus, with an Opus escalation after repeated QA failures). Integrates with lib/complexity.sh and the optional sdk/ralph_sdk/cost.py::select_model.
Token-hygiene pass for the Ralph loop. This skill should be used before reading another large file or near the end of a Continue-As-New window: it drops stale file reads, prefers targeted Grep over full-file Read, and consolidates repeated file-scan patterns to stop the drift where each iteration re-reads the same file and burns prompt cache. Works with the SDK ContextManager (sdk/ralph_sdk/context.py) and the Continue-As-New trigger.
Run, monitor, and continuously improve Ralph (autonomous dev loop for Claude Code) against a Linear backlog. This skill should be used when the user says "run ralph", "start ralph", "ralph campaign", "monitor ralph", "restart ralph", "ralph against TAP-### / ENG-### / <ISSUE-ID>", or wants Ralph to chew through filed epics autonomously with the orchestrator filing follow-up Linear issues for the friction patterns it observes. Encodes proven startup, monitor-filter, kill-safety, and subagent-delegation patterns. Keeps the orchestrator's context window tiny by delegating Linear writes, commit verification, and bulk log analysis to subagents.
Research-before-coding workflow for the Ralph loop. This skill should be used before writing a new utility, helper, or abstraction: it searches the repo, installed libraries, and public registries for an existing solution first, delegating deep search to the ralph-explorer sub-agent (Haiku). Use it whenever the next task — a fix_plan item or a Linear issue — says "add/implement/build/wrap/integrate" something that sounds generic.
Pre-commit / epic-boundary quality pass for the Ralph loop. This skill should be used at an epic boundary to prune dead code, duplicated logic, unused imports, redundant comments, and speculative error handling introduced during the loop's Green phase. It removes, never adds — the diff should end smaller than it started.
| name | ralph-loop |
| description | Execute one Ralph development loop iteration. Reads fix_plan.md, implements the first unchecked task, verifies, and commits. |
From the repo root you can summarize progress:
RALPH_DIR=".ralph"
total=$(grep -c "^\- \[" "$RALPH_DIR/fix_plan.md" 2>/dev/null || echo 0)
done=$(grep -c "^\- \[x\]" "$RALPH_DIR/fix_plan.md" 2>/dev/null || echo 0)
echo "Tasks: $done/$total complete, $((total - done)) remaining"
.ralph/fix_plan.md — find the FIRST unchecked - [ ] item.
If the user provided a task override in their message, use that instead.- [ ] to - [x].- [ ] in its ## section (epic boundary).At the end of your response, include:
---RALPH_STATUS--- STATUS: IN_PROGRESS | COMPLETE | BLOCKED TASKS_COMPLETED_THIS_LOOP: FILES_MODIFIED: TESTS_STATUS: PASSING | FAILING | DEFERRED | NOT_RUN WORK_TYPE: IMPLEMENTATION | TESTING | DOCUMENTATION | REFACTORING EXIT_SIGNAL: false | true RECOMMENDATION: ---END_RALPH_STATUS---