ralph
Skill2 starsChanged 11 months agoMITView on GitHub
Autonomous agent loop for completing features. Use when asked to 'use ralph', 'ralph this', or to autonomously implement a feature end-to-end. Creates prd.json with user stories, then executes them one by one until complete.
47 other projects use a version of this, 13 of them edited.
Adopted by
Most recently taken up by
- autohandai/community-skillstheir own version, first seen Nov 29, 2026
- jellydn/my-ai-toolsedited, first seen Nov 29, 2026
- realRoc/skillsedited, first seen Nov 15, 2026
- Yeachan-Heo/oh-my-claudecodetheir own version, first seen Nov 9, 2026
- lhbsaa/apex-unifiededited, first seen Nov 8, 2026
- lza6/claw-code-tingfengtheir own version, first seen Nov 1, 2026
Used with
Projects with it also use ultrawork, cancel and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
zephyrpersonalSkillultrawork
Obsessive task completion mode (Sisyphus Mode) - activates maximum intensity work with todo continuation enforcement
Also in 7 projects that use this
woosikkimSkillcancel
Clear any stale OMC-Slim state
Also in 7 projects that use this
ibahgatSkillralplan
Create a strict, quality-first execution plan with explicit gates and rollback-ready sequencing.
Also in 5 projects that use this
Jurel89Skillultraqa
QA cycling loop — build/lint/test, fix, retry up to 5 cycles
Also in 3 projects that use this
JokerRunSkillcompound-engineering
Compound Engineering workflow for AI-assisted development. Use when planning features, executing work, reviewing code, or codifying learnings. Follows the Plan → Work → Review → Compound loop where each unit of engineering makes subsequent work easier. Triggers on: plan this feature, implement this, review this code, compound learnings, create implementation plan, systematic development.
Also in 3 projects that use this
Jurel89Skillai-slop-cleaner
Clean AI-generated code slop with a regression-safe, deletion-first workflow and optional reviewer-only mode
Also in 3 projects that use this
Other versions47 projects use a version of this.
Word for word · 0
None found.
Edited · 13
- snarktank/ralph★ 22k13% same
- jellydn/my-ai-tools★ 13013% same
- simone-rizzo/ralph-wiggum-claude-code-★ 1613% same
- Bradymck/claude-code-harness★ 213% same
- richardwu/agent-skills★ 213% same
- diego-tobalina/vibe-coding★ 114% same
- morshed272/claude-build-workflow★ 112% same
- realRoc/skills★ 113% same
- Throokie/claude-code-skills★ 113% same
- lhbsaa/apex-unified★ 013% same
3 more not listed
Wrote their own version · 34
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-codex★ 34ksame name
- Q00/ouroboros★ 6.4ksame name
- zereight/gitlab-mcp★ 2.1ksame name
- srid/emanote★ 963same name
- opentabs-dev/opentabs★ 926same name
- first-fluke/fullstack-starter★ 226same name
- team-attention/hoyeon★ 173same name
- kv0906/cc-skills★ 42same name
24 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
5 rules. 0 are common, 5 are distinctive, and 0 are very specific to this project.
0
Common
Most of the 43 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Ask clarifying questions if needed:
- Distinctive: line 69
Add a database column and migration
- Distinctive: line 70
Add a UI component to an existing page
- Distinctive: line 71
Update a server action with new logic
- Distinctive: line 72
Add a filter dropdown to a list
“Common” is measured: kept by at least 6 in 10 of the 43 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Ralph - Autonomous Feature Implementation
Ralph is an autonomous loop that implements features by breaking them into small user stories and completing them one at a time. Each iteration is a fresh agent with clean context. Memory persists via git, progress.txt, and prd.json.
Quick Start
# Run ralph in current project (assumes prd.json exists)
~/skills/ralph/scripts/ralph.sh [max_iterations]Workflow
Step 1: Understand the Feature
Ask clarifying questions if needed:
- What problem does this solve?
- What are the key user actions?
- What's out of scope?
- How do we know it's done?
Step 2: Create prd.json
Generate a prd.json file in the project root:
{
"project": "[Project Name]",
"branchName": "ralph/[feature-name-kebab-case]",
"description": "[Feature description]",
"userStories": [
{
"id": "US-001",
"title": "[Story title]",
"description": "As a [user], I want [feature] so that [benefit]",
"acceptanceCriteria": [
"Criterion 1",
"Criterion 2",
"Typecheck passes"
],
"priority": 1,
"passes": false,
"notes": ""
}
]
}Step 3: Run the Loop
~/skills/ralph/scripts/ralph.sh [max_iterations]Default is 10 iterations.
Critical Rules for User Stories
Size: One Context Window
Each story MUST be completable in ONE iteration. If you can't describe it in 2-3 sentences, it's too big.
Right-sized:
- Add a database column and migration
- Add a UI component to an existing page
- Update a server action with new logic
- Add a filter dropdown to a list
Too big (split these):
- "Build the entire dashboard" → schema, queries, UI components, filters
- "Add authentication" → schema, middleware, login UI, session handling
Order: Dependencies First
- Schema/database changes (migrations)
- Server actions / backend logic
- UI components that use the backend
- Dashboard/summary views
Acceptance Criteria: Verifiable
Good:
- "Add
statuscolumn with default 'pending'" - "Filter dropdown has options: All, Active, Completed"
- "Typecheck passes"
Bad:
- "Works correctly"
- "Good UX"
Always include:
"Typecheck passes"on every story"Verify in browser using dev-browser skill"on UI stories
Example
User says: "use ralph to add task priorities"
You create prd.json:
{
"project": "TaskApp",
"branchName": "ralph/task-priority",
"description": "Add priority levels (high/medium/low) to tasks",
"userStories": [
{
"id": "US-001",
"title": "Add priority field to database",
"description": "As a developer, I need to store task priority.",
"acceptanceCriteria": [
"Add priority column: 'high' | 'medium' | 'low' (default 'medium')",
"Migration runs successfully",
"Typecheck passes"
],
"priority": 1,
"passes": false,
"notes": ""
},
{
"id": "US-002",
"title": "Display priority badge on task cards",
"description": "As a user, I want to see priority at a glance.",
"acceptanceCriteria": [
"Colored badge: red=high, yellow=medium, gray=low",
"Visible without hovering",
"Typecheck passes",
"Verify in browser using dev-browser skill"
],
"priority": 2,
"passes": false,
"notes": ""
}
]
}Then say:
prd.json created with 2 user stories. Run
~/skills/ralph/scripts/ralph.shto start autonomous execution.
How Ralph Executes
Each iteration, a fresh agent:
- Reads
prd.jsonandprogress.txt - Picks highest priority story where
passes: false - Implements it
- Runs quality checks (typecheck, lint, test)
- Commits if passing
- Updates
prd.jsonto markpasses: true - Appends learnings to
progress.txt - Exits
Loop continues until all stories pass or max iterations hit.
Files Reference
| File | Purpose |
prd.json | User stories with pass/fail status |
progress.txt | Append-only learnings for future iterations |
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

