Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add TechDufus/oh-my-claude/plugin install oh-my-claudeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/techdufus/oh-my-claude/ralph-loop-init)<a href="https://agentmods.dev/skills/techdufus/oh-my-claude/ralph-loop-init"><img src="https://agentmods.dev/badge/skills/techdufus/oh-my-claude/ralph-loop-init.svg" alt="Measured on agentmods" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00064 | $0.04696 |
| Opus 5 | $0.00032 | $0.02348 |
| Sonnet 5 | $0.00013 | $0.00939 |
| Haiku 4.5 | $0.00006 | $0.00470 |
Grade A, and why
ralph-loop-init scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Runs shell commandslowCapability
Expected in a hook, worth knowing in a rule or an instructions file.
result = subprocess.run([ How it starts
The opening of the file, as written. The whole thing — 764 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Loop Init Skill
Transform approved plans into executable ralph loop infrastructure.
What is Ralph Loop?
Ralph Loop is an autonomous execution system that runs Claude (or compatible tools) in a loop to complete multi-step implementation work. It transforms a PRD into:
- prd.json - Machine-readable stories with progress tracking
- loop.py - Python UV script that orchestrates iterations with rich output
- CLAUDE.md - Per-iteration instructions for the AI
- progress.txt - Human-readable execution log
- guardrails.md - Quality gates and constraints
Each iteration: read one story, implement it, run quality gates, commit, update progress, exit. The loop script handles the next iteration.
When This Skill Activates
| Category | Trigger Phrases |
|---|---|
| Initialize | /ralph-loop-init <plan-path>, /ralph-init <plan-path> |
| Setup | setup ralph loop, generate ralph loop |
| From plan | create ralph loop from .claude/plans/... |
Workflow
Phase 1: Plan Selection
Identify the approved plan to transform.
If path provided:
/ralph-loop-init .claude/plans/user-authentication.md
Read the plan at the specified path.
If no path provided:
/ralph-loop-init
List available plans in .claude/plans/ (excluding drafts/) and ask user to select one.
Validation:
- Plan file must exist
- Plan must have "## Implementation Steps" section
- Plan should be in
.claude/plans/(not drafts/)
Phase 2: Pre-flight Check
Before generating files, check for existing ralph loop infrastructure.
if [ -d ".ralph" ]; then
# Existing ralph loop detected
fi
If .ralph/ exists:
Present options to user:
Existing ralph loop detected at .ralph/
Options:
1. "overwrite" - Delete existing .ralph/ and create fresh
2. "resume" - Keep existing, show current progress
3. "cancel" - Abort initialization
Which would you like?
Handle response:
| User Says | Action |
|---|---|
| "overwrite", "fresh", "start over" | Delete .ralph/, proceed with generation |
| "resume", "continue", "keep" | Show progress from existing prd.json, do not regenerate |
| "cancel", "abort", "stop" | Exit skill |
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 6d ago First seen · 764 lines · 64 tokens per session scan A 6408b7255b78
ralph-loop-init is a skill published in the GitHub repository TechDufus/oh-my-claude (176 stars, last pushed 1mo ago), licensed MIT. It adds 64 tokens to every session and 4,696 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
taiyi-ui-design
TaiyiForge 第 4 阶段 — UI/UX 契约,产出 UI-DESIGN.md。四端通用。.
flow-next-tracker-sync
Project a flow-next spec to a tracker issue (Linear, GitHub, GitLab, Jira) and reconcile two-way. Use when asked to sync to a tracker. NOT plan-sync.
taiyi-evolve
TaiyiForge 辅助 — 实现后架构与文档同步(architecture-sync)。OpenCode / Claude / Codex / Cursor 通用。.
flow-next-resolve-pr
Resolve PR review feedback. Fetches unresolved threads, triages, fixes, replies and resolves via GraphQL. Use when asked to address review comments.
taiyi-diagram-c4
TaiyiForge 辅助 — 从代码反推 C4 架构文档(Observed/Inferred 分层 · Mermaid 真源)。OpenCode / Claude / Codex / Cursor 通用。.
writing-style
Use for technical communication - GitHub/GitLab tickets, PR/MR descriptions, issue comments, code review comments, commit messages. Direct, brief style with no AI-speak. NOT for README.md, public docs, or blog posts.