ralph-wiggum

Installation
SKILL.md

Ralph Wiggum: Autonomous Iteration with Context Engineering

Ralph is a technique for autonomous AI development. In its purest form, Ralph is a loop that repeatedly feeds the same prompt to an AI agent, letting it iterate on a task until completion. The key insight is that context is like memory - when you malloc() data into the context window, it cannot be free()'d except by starting fresh.

Core Philosophy

"That's the beauty of Ralph - the technique is deterministically bad in an undeterministic world."

Ralph will make mistakes. That's expected. Each mistake is an opportunity to add a "sign" (guardrail) that prevents that mistake in the future. Like tuning a guitar, you adjust Ralph until it plays the right notes.

The malloc/free Metaphor

  • Context is memory: Everything loaded into the LLM's context window stays there
  • You cannot free() context: The only way to clear context is to start a new conversation
  • One task per context: Mixed concerns lead to autoregressive failure
  • Don't redline: Pushing context to limits degrades performance
  • Gutter detection: Once the bowling ball is in the gutter, start fresh

How This Skill Works

Related skills
Installs
1
GitHub Stars
129
First Seen
Feb 15, 2026