askill
ralph-json-start-loop

ralph-json-start-loopSafety 90Repository

Runs the Ralph autonomous loop. Executes stories from prds/*.json using git worktrees.

48 stars
1.2k downloads
Updated 2/9/2026

Package Files

Loading files...
SKILL.md

Ralph

Run the autonomous loop to execute features from prds/ directory.

Usage

/ralph              # Run next available project (respects dependencies)
/ralph 25           # Run with 25 iterations
/ralph auth-flow    # Run specific project

Process

Run the loop script in background mode:

~/.claude/skills/ralph/ralph.sh [iterations] [project-name]

Use run_in_background: true to prevent timeout. After starting, tell the user to check progress with tail -f <worktree>/.ralph-progress.txt.

What It Does

  1. Shows dependency graph, finds next available project
  2. Creates git worktree at ../{repo}-{feature}/
  3. For each iteration:
    • Picks first story where passes: false
    • Implements it, runs quality checks
    • Commits: feat: [id] - [title]
    • Updates JSON, syncs back to main repo
  4. When all stories pass, outputs <promise>COMPLETE</promise>

Dependencies

Ralph reads dependsOn from each PRD and enforces ordering:

{
  "projectName": "Dashboard",
  "dependsOn": ["auth-flow", "user-profile"]
}

Projects with incomplete dependencies are blocked. Ralph picks the first ready project alphabetically.

Prerequisites

  1. At least one .json PRD file in .claude/plans/, plans/, or prds/
  2. Use plan mode to create a plan, then run /ralph-json-create-issues to convert it

Notes

  • Run multiple Ralphs in parallel on independent projects (separate terminals)
  • Each works in its own worktree, no conflicts

Install

Download ZIP
Requires askill CLI v1.0+

AI Quality Score

72/100Analyzed 2/25/2026

Well-structured technical skill for running Ralph autonomous loop with clear process steps, usage examples, and dependency management. Provides actionable commands and detailed workflow. Somewhat specialized/niche but covers completeness well with usage, process, dependencies, and prerequisites sections. Reusability limited by specific tool (Ralph) and custom script path. No safety concerns.

90
82
45
75
80

Metadata

Licenseunknown
Version-
Updated2/9/2026
Publisherrichtabor

Tags

llmsecurity