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.
npx skills add MattMagg/ralph-wiggum-codex --skill ralph-prompt-generatorgit clone --depth 1 https://github.com/MattMagg/ralph-wiggum-codexWrote 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/mattmagg/ralph-wiggum-codex/ralph-prompt-generator)<a href="https://agentmods.dev/skills/mattmagg/ralph-wiggum-codex/ralph-prompt-generator"><img src="https://agentmods.dev/badge/skills/mattmagg/ralph-wiggum-codex/ralph-prompt-generator/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.
<a href="https://agentmods.dev/skills/mattmagg/ralph-wiggum-codex/ralph-prompt-generator"><img src="https://agentmods.dev/badge/skills/mattmagg/ralph-wiggum-codex/ralph-prompt-generator.svg" alt="Reviewed on agentmods" width="80" 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.00044 | $0.01696 |
| Opus 5 | $0.00022 | $0.00848 |
| Sonnet 5 | $0.00009 | $0.00339 |
| Haiku 4.5 | $0.00004 | $0.00170 |
Grade A, and why
ralph-prompt-generator 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 10d 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.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- ralph-prompt-generator — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 199 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Ralph Prompt Generator
Companion skill for $ralph-wiggum-codex.
This skill does not exist to synthesize flags first. Its primary job is to improve the prompt itself through a staged prompt-improvement workflow, then finish with a small Ralph-specific handoff.
Core Rule
Clarify, do not prescribe.
The receiving agent is equally capable. Improve the briefing, preserve the user's boundaries, and avoid doing the downstream agent's job.
When To Use
Use this skill when:
- The source prompt is ambiguous, bloated, or structurally weak.
- The user wants a reusable prompt for
$ralph-wiggum-codex. - The task needs critique and revision, not just runner flag suggestions.
- The user wants saved planning, draft, and final prompt files in the repo.
Do not use this skill when:
- The user already has a production-ready Ralph prompt.
- The user wants
$ralph-wiggum-codexexecuted immediately with no prompt rewrite. - The only missing detail is a minor flag choice that can be handled inline.
Inputs
Primary input:
<user_prompt>
Optional supporting context:
<examples><feedback>
Treat <examples> as demonstrations, not new requirements. Treat <feedback> as revision guidance, not permission to weaken the original constraints.
Repo-Backed Workspace
Use this workspace for all saved outputs:
docs/prompt-improver-spec/artifacts/implementation_plan.mddocs/prompt-improver-spec/artifacts/task.mddocs/prompt-improver-spec/artifacts/walkthrough.mddocs/prompt-improver-spec/final-prompts/<prompt-name>-draft.mddocs/prompt-improver-spec/final-prompts/<prompt-name>.md
Determine <prompt-name> during planning using a descriptive kebab-case filename. Reuse the saved files on resume instead of redoing earlier analysis from scratch.
Delete the draft file after creating the final prompt.
Required Workflow
Follow the staged workflow defined in references/prompt-improver-workflow-codex.md.
Phase A
Planning only. Complete Steps 1-2.
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.
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.
- 10d ago First seen · 199 lines · 44 tokens per session scan A 69dd68d1ffce
ralph-prompt-generator is a skill published in the GitHub repository MattMagg/ralph-wiggum-codex (10 stars, last pushed 6mo ago), licensed MIT. It adds 44 tokens to every session and 1,696 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
opik-optimizer
Optimize LLM prompts, tools, and agents in Opik using standardized optimizer workflows (prompt optimization, tool optimization, and parameter tuning), dataset/metric wiring, and result interpretation.
proxy-local-ai-subscriptions
A guide for exposing your local Codex, ChatGPT Codex, or Claude Code subscription through a protected local OpenAI-compatible endpoint, then connecting it to NextClaw as a custom provider.
regex-vs-llm-structured-text
A cost-optimization framework for choosing the right tool (Regex vs. LLM) for structured text parsing.
implementing-llm-guardrails-for-security
Implements input and output validation guardrails for LLM-powered applications to prevent prompt injection, data leakage, toxic content generation, and hallucinated outputs. Builds a security validation pipeline using NVIDIA NeMo Guardrails Colang definitions, custom Python validators for PII detection and content…
prompting
Guide for writing effective system prompts for LLM agents. Use when creating or editing system prompts for applications, agent configurations, or development tools.
few-shot-examples
Curated few-shot examples for construction AI tasks: classification, extraction, analysis. Domain-specific examples for improved LLM performance.