richtabor/agent-skills/ralph-github-start-loop
Claude Code and agent skill by richtabor/agent-skills
- community
Checking that the SKILL.md file is still in the repository.
Runs autonomous loop fetching stories from GitHub Issues. Implements and closes issues as done. Triggers on "loop through my PRDs", "work on my issues", "start the autonomous loop", "implement my PRDs", or requests to work through GitHub issues autonomously.
Install
npx vskill@latest install richtabor/agent-skills/ralph-github-start-loopSKILL.md
Loop GitHub Issues
Run the autonomous loop to execute features from GitHub Issues.
Usage
When running non-interactively (background mode), --all is auto-enabled.
Prerequisites
ghCLI authenticated- PRD issues created via
/ralph-github-create-issues(reads from.claude/plans/orprds/)
Note: Assume gh extensions are installed. Do NOT try to install them.
Process
- Check prerequisites (
gh auth status) - Run the script directly - it handles PRD selection and filtering:
Use run_in_background: true to prevent timeout.
Monitoring progress:
- Local status:
cat /tmp/ralph-status-{repo}-{prd-number}.txt - GitHub: Comments are posted to the PRD issue as stories complete
Important: Don't list PRDs separately before running - the script shows available PRDs (excluding those with open PRs) and handles selection.
What It Does
- Lists open PRD issues (identified by
prdlabel) that don't already have open PRs - Prompts user to select which PRD(s) to work on (or auto-selects in background mode)
- For each selected PRD:
- Assigns issue to current user (shows as in progress)
- Creates git worktree at
../{repo}-{feature}/ - For each iteration:
- Passes all open sub-issues to the agent
- Agent picks the logical next story based on dependencies
- Implements the story
- Commits:
feat: Story Title (closes #XXX) - Closes sub-issue with link to commit
- When all sub-issues closed, creates PR (parent PRD closes on merge)
- Cleans up worktree
Differences from /ralph
| Aspect | /ralph (JSON) | /loop-github-issues (GitHub) | |
|---|---|---|---|
| Story source | prds/*.json | GitHub Issues | |
| Status tracking | passes: true/false | Issue open/closed | |
| Dependencies | dependsOn array | Native GitHub blocking | |
| Completion | Update JSON | Close issue | |
| PRD done | All stories pass | All sub-issues closed |
Dependencies
Ralph-issues checks GitHub's native blocking relationships. PRDs with open blocking issues are skipped.
The script queries the blockedBy field via GraphQL to determine if a PRD is ready to start.
Issue Conventions
Finding PRD Issues
Finding Story Sub-Issues
Uses the gh-sub-issue extension:
Closing Issues
On story completion:
Parent PRD issues close automatically when the PR is merged (via Closes #XX in PR body).
Branch Naming
Uses conventional prefixes parsed from the PRD issue body:
feature/<name>for enhancementsbugfix/<name>for bug fixes
Notes
- Run multiple Ralph instances in parallel on independent PRDs (separate terminals)
- Each works in its own worktree, no conflicts
- Commits include
closes #XXXto auto-close issues on merge
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/ralph-github-start-loop/SKILL.md
Popularity
- Repository stars
- 51
- Repository forks
- 8
- 7-day trend score
- 20
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 16 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/richtabor/agent-skills/ralph-github-start-loop)