ralph-wiggum-codex

ralph-wiggum-codex is a skill for Codex from theflixerbox77/ralph-wiggum-codex. It costs 42 tokens per session (1,479 once invoked), scanned A, a copy of ralph-wiggum-codex, MIT.

A long-running workflow for coding tasks based on a clear objective, acceptance criteria, resumable state, and separate work and review phases. It is designed for tasks too large or uncertain for one short session.

In plain words
What is it for?
Use it for substantial coding tasks that need autonomous progress, checkpoints, review, resumability, and clear completion conditions.
Why use it?
It helps an agent stay focused over extended work, revisit the result with fresh context, and handle genuine blockers explicitly.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions Codex; $skill-name invocation.

Good fit Use it for substantial coding tasks that need autonomous progress, checkpoints, review, resumability, and clear completion conditions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add theflixerbox77/ralph-wiggum-codex --skill ralph-wiggum-codex
Clone the repo
git clone --depth 1 https://github.com/theflixerbox77/ralph-wiggum-codex

Made for: Codex.

Wrote 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.

agentmods badge for ralph-wiggum-codex

README.md
[![agentmods](https://agentmods.dev/badge/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex/github.svg)](https://agentmods.dev/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex)
Your own site
<a href="https://agentmods.dev/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex"><img src="https://agentmods.dev/badge/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ralph-wiggum-codex

Your own site · 80×15
<a href="https://agentmods.dev/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex"><img src="https://agentmods.dev/badge/skills/theflixerbox77/ralph-wiggum-codex/ralph-wiggum-codex.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 42 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,479 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00042 $0.01479
Opus 5 $0.00021 $0.00740
Sonnet 5 $0.00008 $0.00296
Haiku 4.5 $0.00004 $0.00148

Measured 12d ago against content hash 0f6db1f07e25, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

ralph-wiggum-codex scanned grade A with 0 findings 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 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/ralph-loop-codex.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

Origin

This is a copy

100% identical to ralph-wiggum-codex — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

skills/ralph-wiggum-codex/SKILL.md · 168 lines

How it starts

The opening of the file, as written. The whole thing — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Ralph Wiggum For Codex

Codex-native Ralph loop for long-running autonomous task completion.

This skill is designed to be invoked as $ralph-wiggum-codex. The shell runner is support infrastructure for the skill, not the product story.

When To Use

Use this skill when:

  • The task is too large or uncertain for a single turn.
  • You want the agent centered on the user request and acceptance criteria, not just test output.
  • You want a mandatory work phase followed by a fresh-context review phase.
  • You need resumable state, explicit blocked handling, and long-run drift control.

Do not use this skill when:

  • The request is a quick one-shot edit or explanation.
  • The user wants manual turn-by-turn control.
  • The task is mostly a prompt rewrite, not execution. Use $ralph-prompt-generator first in that case.

Optional Prompt Generator

When the request is underspecified, invoke $ralph-prompt-generator first to turn it into a Ralph-ready prompt file.

Use the companion first when:

  • The objective is fuzzy.
  • Acceptance criteria are missing.
  • Source-of-truth artifacts are unclear.
  • You want review checkpoints before starting the long run.

Companion handoff pattern:

  1. Run $ralph-prompt-generator with the raw request.
  2. Review the saved planning artifacts after Steps 1-2.
  3. Review the saved critique after Step 4.
  4. Use the final prompt saved at docs/prompt-improver-spec/final-prompts/<prompt-name>.md.
  5. Run the short Ralph-ready invocation snippet it returns at the end.

Skill-First Operating Contract

When this skill is invoked, execute this flow:

  1. Collect or infer:
  • cwd
  • objective text
  • acceptance criteria
  • optional source-of-truth artifacts
  • optional verification commands
  • progress scopes (--progress-scope) for anti-no-op protection
  • runtime caps when the run needs them
  1. Materialize repo-backed state under <cwd>/.codex/ralph-loop/:
  • objective.md
  • acceptance-criteria.md
  • feedback.md
  • work-summary.md
  • review-feedback.md
  • review-result.txt

Read the full file on GitHub · 168 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 12d ago First seen · 168 lines · 42 tokens per session scan A 0f6db1f07e25

Subscribe to this mod's changes

ralph-wiggum-codex is a skill published in the GitHub repository theflixerbox77/ralph-wiggum-codex (5 stars, last pushed today), licensed MIT. It adds 42 tokens to every session and 1,479 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to ralph-wiggum-codex, differing in 0 lines, and is treated as a copy.