Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.

MITAuto-check passed

Install Setup Ralph

skills CLI
$ npx skills add glittercowboy/taches-cc-resources --skill setup-ralph -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install glittercowboy/taches-cc-resources setup-ralph --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/glittercowboy/taches-cc-resources.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/setup-ralph .claude/skills/setup-ralph && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
setup-ralph
GitHub stars
2k
Token cost
~1.1k tokens
SKILL.md length
502 words
Files
16 (incl. references)
Skills in repo
12
Repo updated
First seen
Licence
MIT

At a glance

Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.

  • Works in 3 steps: Planning Phase: Gap analysis (specs vs… → Building Phase: Picks tasks from plan,… → Observation Phase: You sit on the loop,…
  • SKILL.md covers What is Ralph? and Domain Knowledge
  • Runs Shell scripts from its folder; calls claude

What it does

Setup Ralph is an agent skill from glittercowboy/taches-cc-resources. Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 18 other files, including reference files (for example `README.md`, `references/operational-learnings.md` and `references/project-structure.md`).

The repository describes itself as: A collection of my favorite custom Claude Code resources to make life easier. The licence is MIT.

Example prompts

  • “/setup-ralph”

Requirements

  • A Bash shell

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Planning Phase: Gap analysis (specs vs code) outputs prioritized TODO list—no implementation, no commits
  2. Building Phase: Picks tasks from plan, implements, runs tests (backpressure), commits
  3. Observation Phase: You sit on the loop, not in it—engineer the setup and environment that allows Ralph to succeed

What it can do on your machine

Read from SKILL.md and the folder at commit 1757615. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (Shell), which the agent can run.

    Shell commands in SKILL.md call:

    • claude

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Setup Ralph loads about 1.1k tokens when it runs, and up to ~12k if it reads all its reference files. Until then it costs about 41 tokens; SKILL.md has 502 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~41
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~12k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from glittercowboy/taches-cc-resources at commit 1757615, republished under its MIT licence (© glittercowboy). 502 words, ~1,100 tokens.

Download SKILL.mdSave it as .claude/skills/setup-ralph/SKILL.md (or your agent's skills folder). This skill also uses 15 other files; get the full folder from GitHub.
name
setup-ralph
description
Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.

<essential_principles>

What is Ralph?

Ralph is Geoffrey Huntley's autonomous AI coding methodology that uses iterative loops with task selection, execution, and validation. In its purest form, it's a Bash loop:

bash
while :; do cat PROMPT.md | claude ; done

The loop feeds a prompt file to Claude, the agent completes one task, updates the implementation plan, commits changes, then exits. The loop restarts immediately with fresh context.

Core Philosophy

The Ralph Wiggum Technique is deterministically bad in an undeterministic world. Ralph solves context accumulation by starting each iteration with fresh context—the core insight behind Geoffrey's approach.

Three Phases, Two Prompts, One Loop
  1. Planning Phase: Gap analysis (specs vs code) outputs prioritized TODO list—no implementation, no commits
  2. Building Phase: Picks tasks from plan, implements, runs tests (backpressure), commits
  3. Observation Phase: You sit on the loop, not in it—engineer the setup and environment that allows Ralph to succeed
Key Principles

Your Role: Ralph does all the work, including deciding which planned work to implement next and how to implement it. Your job is to engineer the environment.

Backpressure: Create backpressure via tests, typechecks, lints, builds that reject invalid/unacceptable work.

Observation: Watch, especially early on. Prompts evolve through observed failure patterns.

Context Efficiency: With ~176K usable tokens from 200K window, allocating 40-60% to "smart zone" means tight tasks with one task per loop achieves maximum context utilization.

File I/O as State: The plan file persists between isolated loop executions, serving as deterministic shared state—no sophisticated orchestration needed.

Remote Backup: The loop automatically creates a private GitHub repo and pushes after each commit. This protects against accidental data loss from autonomous operations. Requires gh CLI authenticated. Disable with RALPH_BACKUP=false.

Safety Rules: PROMPT_build.md includes critical safety rules prohibiting dangerous operations like rm -rf on project directories. Tests must run in isolated temp directories. </essential_principles>

<intake>
What would you like to do?
  1. Set up a new Ralph loop - Initialize Ralph structure in a directory
  2. Understand Ralph concepts - Learn about the technique and how it works
  3. Customize existing loop - Modify prompts or configuration
  4. Troubleshoot Ralph - Debug loop issues or improve performance
Show full SKILL.md (160 more words)Show less

Wait for response before proceeding. </intake>

<routing>
| Response | Workflow |
|----------|----------|
| 1, "set up", "setup", "new", "initialize", "create" | `workflows/setup-new-loop.md` |
| 2, "understand", "learn", "concepts", "explain", "how" | `workflows/understand-ralph.md` |
| 3, "customize", "modify", "change", "update", "edit" | `workflows/customize-loop.md` |
| 4, "troubleshoot", "debug", "fix", "problem", "issue" | `workflows/troubleshoot-loop.md` |
| Other | Clarify intent, then select appropriate workflow |

After reading the workflow, follow it exactly. </routing>

<reference_index>

Domain Knowledge

All in references/:

Core Concepts: ralph-fundamentals.md - Three phases, two prompts, one loop Structure: project-structure.md - Required files and directory layout Prompts: prompt-design.md - Planning vs building mode instructions Backpressure: validation-strategy.md - Tests, lints, builds as steering Best Practices: operational-learnings.md - AGENTS.md guidance and evolution </reference_index>

<workflows_index>

WorkflowPurpose
setup-new-loop.mdInitialize Ralph structure in a directory
understand-ralph.mdLearn Ralph concepts and philosophy
customize-loop.mdModify prompts or loop configuration
troubleshoot-loop.mdDebug loop issues and improve performance
</workflows_index>

<success_criteria> Skill is successful when:

  • User understands which workflow they need
  • Appropriate workflow loaded based on intent
  • All required references loaded by workflow
  • User can set up and run Ralph loops independently </success_criteria>

© glittercowboy, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 15 other files (references) in skills/setup-ralph of glittercowboy/taches-cc-resources.

  • SKILL.md
  • README.md
  • references/operational-learnings.md
  • references/project-structure.md
  • references/prompt-design.md
  • references/ralph-fundamentals.md
  • references/validation-strategy.md
  • templates/Dockerfile
  • templates/PROMPT_build.md
  • templates/PROMPT_plan.md
  • templates/loop-docker.sh
  • templates/loop.sh
  • workflows/customize-loop.md
  • workflows/setup-new-loop.md
  • workflows/troubleshoot-loop.md
  • workflows/understand-ralph.md

Open the folder on GitHubat commit 1757615

Compare with similar skills

Setup Ralph next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Setup Ralph compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Setup Ralph this skillglittercowboy/taches-cc-resources2k—~1.1kAutomated safety check: PassMIT
RalphYeachan-Heo/oh-my-claudecode40k—~7.5kAutomated safety check: PassMIT
Configure Channelopenclaw/openclaw392k—~946Automated safety check: PassMIT
ConfigurationBuilderIO/agent-native7.1k—~2.1kAutomated safety check: PassNone
Configure Eccaffaan-m/ECC276k1 repos~2kAutomated safety check: PassMIT
Configure Eccaffaan-m/ECC276k—~1.3kAutomated safety check: PassMIT

Similar skills

  • Ralph

    Yeachan-Heo/oh-my-claudecode

    Self-referential loop until task completion with configurable verification reviewer

    40k GitHub stars~7.5k tokensUpdated yesterday
    Product & Project ManagementAuto-check passed
  • Configure Channel

    openclaw/openclaw

    Configure and prove a chat channel with non-interactive one-liners; secrets only as SecretRefs.

    392k GitHub stars~946 tokensUpdated today
    Auto-check passed
  • Configuration

    BuilderIO/agent-native

    Where a configuration value belongs — app config schema, agent-native.config.ts, or an environment variable — and how the layers resolve.

    7.1k GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Configure Ecc

    affaan-m/ECC

    Run the conversational ECC setup wizard inside the current harness: inventory the install, collect scope (user/project/local) and hook mode (off/minimal/standard/strict) in Claude Code, use Codex's…

    276k GitHub starsUsed in 1 repo~2k tokens
    Auto-check passed
  • Configure Ecc

    affaan-m/ECC

    Claude Code、Codex、Kimi 内で ECC のインストール、更新、再設定を案内し、各ハーネスが実際に備えるプラグイン、スコープ、フック機能を守ります。

    276k GitHub stars~1.3k tokensUpdated 4 days ago
    Auto-check passed
  • Configure Ecc

    affaan-m/ECC

    在 Claude Code、Codex 或 Kimi 内引导 ECC 安装、更新或重新配置,同时严格遵守各家工具真实的插件、范围和 Hook 能力。

    276k GitHub stars~1.1k tokensUpdated 4 days ago
    Auto-check passed

More from glittercowboy/taches-cc-resources

All 12 skills in this repo
  • Create MCP Servers

    glittercowboy/taches-cc-resources

    Create Model Context Protocol (MCP) servers that expose tools, resources, and prompts to Claude.

    2k GitHub stars~1.5k tokensUpdated 6 mo ago
    Auto-check passed
  • The Pirate Bay

    glittercowboy/taches-cc-resources

    Search The Pirate Bay for torrents and extract magnet links via the apibay.org JSON API.

    2k GitHub stars~1.1k tokensUpdated 6 mo ago
    Auto-check passed
  • Create Plans

    glittercowboy/taches-cc-resources

    Create hierarchical project plans optimized for solo agentic development.

    2k GitHub starsUsed in 1 repo~4.4k tokens
    Auto-check: notes
  • Create Agent Skills

    glittercowboy/taches-cc-resources

    Expert guidance for creating, writing, building, and refining Claude Code Skills.

    2k GitHub stars~1.7k tokensUpdated 6 mo ago
    Auto-check passed
  • Create Hooks

    glittercowboy/taches-cc-resources

    Expert guidance for creating, configuring, and using Claude Code hooks.

    2k GitHub stars~2.4k tokensUpdated 6 mo ago
    Auto-check passed
  • Create Meta Prompts

    glittercowboy/taches-cc-resources

    Create optimized prompts for Claude-to-Claude pipelines with research, planning, and execution stages.

    2k GitHub stars~4.8k tokensUpdated 6 mo ago
    Auto-check passed

Questions about Setup Ralph

What does Setup Ralph do?

Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure. Setup Ralph is an agent skill from glittercowboy/taches-cc-resources. Set up and configure Geoffrey Huntley's original Ralph Wiggum autonomous coding loop in any directory with proper structure, prompts, and backpressure.

How do I install Setup Ralph in Claude Code?

Run `npx skills add glittercowboy/taches-cc-resources --skill setup-ralph -a claude-code`. Or copy the skill folder (skills/setup-ralph in glittercowboy/taches-cc-resources) into .claude/skills/setup-ralph in your project. Claude Code loads it when a task matches its description.

How do I install Setup Ralph in Codex?

Run `npx skills add glittercowboy/taches-cc-resources --skill setup-ralph -a codex`. Or copy the skill folder (skills/setup-ralph in glittercowboy/taches-cc-resources) into .agents/skills/setup-ralph in your project. Codex loads it when a task matches its description.

Can I use Setup Ralph in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add glittercowboy/taches-cc-resources --skill setup-ralph -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/setup-ralph, .gemini/skills/setup-ralph, .github/skills/setup-ralph and .opencode/skills/setup-ralph in your project.

What does Setup Ralph need to run?

Going by SKILL.md and its folder, Setup Ralph needs a shell for the scripts in its folder and the command-line tools its instructions call (claude). Our summary lists: A Bash shell.

Does Setup Ralph access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Setup Ralph safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Setup Ralph use?

Setup Ralph is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Setup Ralph use?

About 1.1k tokens (SKILL.md is roughly 4.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 11k tokens, read only when the agent opens those files.

What are the alternatives to Setup Ralph?

Skills that share tags, products or a category with Setup Ralph: Ralph (Yeachan-Heo/oh-my-claudecode, 40k stars), Configure Channel (openclaw/openclaw, 392k stars), Configuration (BuilderIO/agent-native, 7.1k stars) and Configure Ecc (affaan-m/ECC, 276k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Setup Ralph?

glittercowboy (a GitHub user) maintains it in glittercowboy/taches-cc-resources, which has 1,981 GitHub stars. The repository holds 12 skills in this directory. The repository was last updated on April 1, 2026.

Source: glittercowboy/taches-cc-resources on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.