skills/modelscope.cn/ralph-loop-integration

ralph-loop-integration

SKILL.md

Ralph-Loop Integration for Cognitive Reasoning

Purpose: Integrate ralph-loop's persistent iteration mechanism with cognitive reasoning patterns. Ralph provides session persistence through Stop hooks and completion promises, enabling iterative refinement of reasoning until confidence thresholds are genuinely met.

Core Concept: Ralph-Loop Mechanics

What Ralph Does

Ralph is a Claude Code plugin that provides:

  1. Stop Hook Blocking: Intercepts session exit and re-feeds the prompt
  2. Completion Promise Gating: Exit only when <promise> tag evaluates to genuinely true
  3. State Persistence: Maintains iteration context in .claude/ralph-loop.local.md
  4. Anti-Gaming Protection: Promise must be genuinely satisfied, not just claimed
Installs
1
First Seen
Apr 19, 2026