.agents/skills/ralph/SKILL.md
Autonomous multi-iteration feature implementation using handoff loops. Use when asked to "run ralph", "execute autonomously", "implement this plan autonomously", or for hands-free feature development from structured plans.
npx skillsauth add colmarius/mobcrew ralphInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Orchestrates autonomous code generation through repeated iterations using fresh agent instances until all tasks are complete.
When invoking ralph, provide:
Ralph creates a companion progress file alongside the plan:
.agents/plans/in-progress/
├── my-feature.md # The plan
└── my-feature.progress.md # Progress log (auto-created)
In plan files, tasks use checkbox status with optional annotations:
| Marker | Meaning |
|--------|---------|
| - [ ] | Not started |
| - [x] | Completed |
| - [ ] (blocked) | Blocked, needs intervention |
| - [ ] (manual-verify) | Requires manual verification |
The loop exits when ANY of these occur:
[x](blocked)When handing off to fresh iteration, include:
Continue ralph execution for: [plan file path]
Current task: [Task ID and title]
Tasks completed this session: [N of max_tasks]
Last progress: [Most recent progress entry summary]
Next action: [Specific next step]
Load the ralph skill and continue execution.
When max tasks is reached (before all tasks complete):
Resume command:
Continue ralph from Task X on [plan file path]
Before running the loop, ensure the plan has proper structure.
Required task format:
- [ ] **Task N: Short descriptive title**
- Scope: `path/to/affected/files` or package name
- Depends on: Task M (or "none")
- Acceptance:
- Specific criterion 1
- Specific criterion 2
- Notes: Optional implementation hints
Task sizing rule: If you can't describe the task in 2-3 sentences, it's too big. Split it.
Dependency ordering: Schema → Service → API → UI → Tests
Each iteration follows this workflow:
Depends on tasks are complete.progress.md[x]Git discipline:
Amp-Thread-ID and Co-authored-by: Amp <[email protected]>feat: [Task ID] - [Task Title]Run verification commands appropriate for the project. Check AGENTS.md for project-specific commands.
| Situation | Action | |-----------|--------| | Every task | Run typecheck/build command | | After code changes | Run linter | | Logic changes | Run tests | | Pre-commit | Run full CI check |
Examples by language:
# TypeScript/Node
npm run check && npm run lint && npm test
# Rust
cargo check && cargo clippy && cargo test
# Go
go build ./... && go test ./...
# Python
mypy . && ruff check . && pytest
ScopeWhen a task cannot proceed:
(blocked) annotation to the task checkboxExample blocked task:
- [ ] (blocked) **Task 5: Integrate payment API**
- Scope: `cloud/functions/payments`
- Depends on: Task 4
- Acceptance: Payment webhook handler works
- Notes: Blocked - need API credentials from finance team
Tasks marked (manual-verify) require human interaction:
ScopeRun ralph on .agents/plans/tech-debt/in-progress/my-feature.md
Continue ralph from Task 5 on .agents/plans/tech-debt/in-progress/my-feature.md
Show ralph progress for .agents/plans/tech-debt/in-progress/my-feature.md
Ralph works with plans in the standard directory structure:
.agents/plans/in-progress/tools
Instructions for using tmux to spawn multiple processes, inspect them, and capture their output. Use when running servers, long-running tasks, or background processes.
development
Deep research on technical topics, libraries, APIs, or concepts. Use when asked to research, investigate, explore deeply, or gather comprehensive information on a topic. Saves learnings to .agents/research/.
data-ai
Analyze project and fill in PROJECT.md. Use when adapting dot-agents to a new project, after initial installation.
development
Maintainer-only workflow for handling GitHub Secret Scanning alerts on OpenClaw. Use when Codex needs to triage, redact, clean up, and resolve secret leakage found in issue comments, issue bodies, PR comments, or other GitHub content.