Token导航 LogoToken导航TokenDH.com
研究检索操作浏览器github未标认证来源可访问许可证需确认审计提醒

super-ralph-wiggum超级拉尔夫·维格姆

Agent Skill

super-ralph-wiggum 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

783

周安装

32

GitHub Stars

22

下载量

253
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:super-ralph-wiggum(超级拉尔夫·维格姆)
来源仓库:https://github.com/tdimino/claude-code-minoan
仓库路径:skills/super-ralph-wiggum
安装命令:
npx skills add https://github.com/tdimino/claude-code-minoan --skill super-ralph-wiggum
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/tdimino/claude-code-minoan --skill super-ralph-wiggum

简介

super-ralph-wiggum 提供信息查找、检索与筛选功能,适用于关键词驱动的内容匹配。

  • 可用于 Codex、Claude、Cursor、Gemini CLI 等平台的研究与资料收集场景。
  • 通过 npx skills add 从 GitHub 安装,具体能力以项目文档为准。
  • 使用前应确认其是否具备联网、命令执行或文件访问权限。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

Super Ralph Wiggum

Autonomous iteration loops for Claude Code. Run the same prompt repeatedly until task completion, with context persisting through files and git history.

The Ralph Philosophy

The agent chooses the task, not you.

You define the end state. Ralph figures out how to get there.

With multi-phase plans, a human writes a new prompt at the start of each phase. With Ralph, the agent picks what to work on next from your PRD. You describe the destination. Ralph navigates.

The 11 Tips (Quick Reference)

Based on AI Hero's definitive guide:

#TipKey Insight
1Ralph Is A LoopSame prompt, multiple iterations
2Start HITL, Then AFKLearn → Trust → Let go
3Define The ScopeExplicit stop conditions prevent infinite loops
4Track Progressprogress.txt bridges context windows
5Use Feedback LoopsTypes, tests, linting as guardrails
6Take Small StepsOne logical change per commit
7Prioritize Risky TasksArchitecture first, quick wins last
8Define Software QualityTell Ralph what kind of repo this is
9Use Docker SandboxesEssential for AFK safety
10Pay To PlayHITL still valuable without AFK
11Make It Your OwnAlternative loop types, task sources

See @references/tips-and-tricks.md for detailed guidance on each tip.

Quick Start

To start a Ralph loop with a template:

Run the super-ralph-wiggum skill with the test-coverage template, max 20 iterations

To start with a PRD file:

Run super-ralph-wiggum with feature-prd template using ./prd.json

Available Templates

TemplateUse CaseDefault Iterations
test-coverageImprove test coverage to target %30
feature-prdImplement features from PRD file20
lint-fixFix all lint errors incrementally30
docs-generationGenerate documentation for modules25
dataset-generationGenerate training data samples50
migrationMigrate to new framework/version40
entropy-loopReverse software entropy (dead code, smells)30
duplication-loopEliminate duplicate code25

Invocation Patterns

Template Mode (Recommended)

Use a pre-built template for common tasks:

Use super-ralph-wiggum with [template-name] template
Options: --max-iterations N, --browser (for UI verification)

PRD Mode

For structured feature development with task tracking:

Use super-ralph-wiggum with feature-prd template
PRD file: ./prd.json

The PRD file tracks features with passes: true/false. Loop completes when all features pass.

HITL Mode (Single Iteration)

For interactive learning and pair programming:

Use super-ralph-wiggum with --once flag to [task description]

Runs ONE iteration without looping. Great for learning how Ralph works.

Custom Prompt

For tasks not covered by templates:

Use super-ralph-wiggum with custom prompt:
[Your detailed task description with completion criteria]
Completion: Output <promise>COMPLETE</promise> when done
Max iterations: 15

The Two Modes: HITL vs AFK

ModeHow It WorksBest For
HITL (human-in-the-loop)Run once, watch, interveneLearning, prompt refinement, risky tasks
AFK (away from keyboard)Run in a loop with max iterationsBulk work, low-risk tasks, overnight runs

The progression is simple:

  1. Start with HITL to learn and refine
  2. Go AFK once you trust your prompt
  3. Review the commits when you return

For AFK, always cap iterations:

  • Small tasks: 5-10 iterations
  • Medium tasks: 15-30 iterations
  • Large features: 30-50 iterations

Explicitly Define Software Quality

Ralph doesn't know if this is a throwaway prototype or production code. Tell it.

Repo TypeWhat To SayExpected Behavior
Prototype"Speed over perfection. Skip edge cases."Takes shortcuts
Production"Must be maintainable. Follow best practices."Adds tests, docs
Library"Public API. Backward compatibility matters."Careful about breaking changes

Code Quality Prompt

If the loop should maintain high code quality, specify it factually:

Maintain existing code conventions and quality standards. Each change should leave test coverage equal to or better than before. Prefer incremental improvements over large rewrites.

Avoid motivational framing ("fight entropy", "be thorough")—Claude 4.6 already tends toward thoroughness and these amplify it into over-planning. Factual quality criteria are more effective.

The Repo Wins

Your instructions compete with your codebase. When Ralph explores your repo, it sees two sources of truth: what you told it to do and what you actually did.

If you write "never use any types" but Ralph sees any throughout your existing code, it will follow the codebase, not your instructions.

Claude learns patterns from the existing codebase. If the codebase uses any types throughout, the loop will follow that pattern regardless of instructions. Clean up the specific patterns you care about before running the loop.

Task Prioritization Order

When choosing the next task, Ralph should prioritize:

  1. Architectural decisions and core abstractions
  2. Integration points between modules
  3. Unknown unknowns and spike work
  4. Standard features and implementation
  5. Polish, cleanup, and quick wins

Fail fast on risky work. Save easy wins for later.

Use HITL Ralph for early architectural decisions—the code from these tasks stays forever. Save AFK Ralph for when the foundation is solid.

Execution Modes

1. In-Session Mode (Default)

Loop runs inside your current Claude Code session using stop hooks:

Use super-ralph-wiggum with test-coverage template, max 20 iterations
  • Stop hook intercepts exit attempts
  • Same prompt fed back each iteration
  • Context persists through files and git
  • Best for interactive/monitored work

2. Dockerized Mode (External)

Loop runs externally via bash script with Docker sandbox:

# Generate external script
./scripts/setup-ralph-loop.sh --template test-coverage --docker > run-ralph.sh
chmod +x run-ralph.sh

# Run in background
./run-ralph.sh 20 &
  • Each iteration is a fresh Claude Code instance
  • Docker isolation for safety
  • Best for overnight/AFK runs
  • Memory persists only via files

Essential for AFK safety: Docker sandboxes let Ralph edit project files and commit—but can't touch your home directory, SSH keys, or system files.

How It Works

  1. Setup: Creates state file at .claude/ralph-loop.local.md
  2. Progress: Auto-creates progress.txt in project root
  3. Loop: Stop hook intercepts exit, feeds same prompt back
  4. Completion: Detects <promise>COMPLETE</promise> or PRD all-pass
  5. Learning: Patterns accumulate in progress.txt across iterations

Key Options

OptionDescriptionDefault
--template <name>Use pre-built template(required or custom prompt)
--prd <file>PRD file for task trackingnone
--max-iterations <n>Iteration limitvaries by template
--completion-promise <text>Custom completion phraseCOMPLETE
--progress <file>Progress file location./progress.txt
--browserEnable browser testing promptsfalse
--onceSingle iteration (HITL mode)false

Best Practices

1. Small Stories

Tasks must fit in one context window. Break large features into atomic stories.

2. Verification First

Always run typecheck + tests before committing. Templates enforce this.

3. Cap Iterations

For AFK (unattended) Ralph, always set --max-iterations. Infinite loops are dangerous with stochastic systems.

4. Clear Completion Criteria

Vague tasks risk infinite loops. Be explicit about when to stop.

5. Use Progress File

Previous iteration learnings persist in progress.txt. Templates auto-inject this.

6. One Change Per Commit

Keep changes small and focused. Prefer multiple small commits over one large commit.

7. Structure State Appropriately

Use JSON for structured progress data (coverage percentages, feature pass/fail, migration counts). Use freeform text in progress.txt for observations and session learnings. Use git commits as checkpoints between iterations so each new context window can discover state from the filesystem.

References

For detailed guidance, read the reference files:

  • @references/tips-and-tricks.md - The 11 Tips expanded with AI Hero insights
  • @references/prompt-patterns.md - 10 patterns for convergent prompts
  • @references/prd-schema.md - PRD file structure and usage
  • @references/cost-estimation.md - API cost guidelines
  • @references/browser-testing.md - Dev-browser integration

Template Details

test-coverage

Improves test coverage by:

  1. Running coverage to find gaps
  2. Identifying most important untested user-facing behavior
  3. Writing ONE meaningful test per iteration
  4. Using /* v8 ignore */ for non-essential code
  5. Committing after each successful test

Read full template: @templates/test-coverage.md

feature-prd

Implements features from a PRD file by:

  1. Reading prd.json for highest-priority incomplete feature
  2. Checking dependencies are satisfied
  3. Implementing ONE feature per iteration
  4. Running verification (typecheck + tests)
  5. Updating AGENTS.md with patterns discovered
  6. Marking feature as passes: true

Read full template: @templates/feature-prd.md

lint-fix

Fixes lint errors by:

  1. Running linter to get error list
  2. Picking file with most errors
  3. Fixing ALL errors in that file
  4. Verifying fixes don't break tests
  5. Committing and moving to next file

Read full template: @templates/lint-fix.md

entropy-loop

Reverses software entropy by:

  1. Scanning for code smells (unused exports, dead code, TODOs)
  2. Fixing ONE issue per iteration
  3. Running verification
  4. Documenting changes in progress.txt

Read full template: @templates/entropy-loop.md

duplication-loop

Eliminates duplicate code by:

  1. Running jscpd to find duplicates
  2. Identifying ONE duplication group
  3. Extracting shared code into utility/helper
  4. Updating all call sites
  5. Verifying with tests

Read full template: @templates/duplication-loop.md

docs-generation

Generates documentation by:

  1. Identifying undocumented public functions
  2. Writing ONE doc per iteration
  3. Verifying examples compile/run
  4. Including JSDoc and README updates

Read full template: @templates/docs-generation.md

dataset-generation

Generates training data by:

  1. Creating samples meeting quality criteria
  2. Validating quality per iteration
  3. Tracking count in progress.txt
  4. Stopping at target count

Read full template: @templates/dataset-generation.md

migration

Migrates codebase by:

  1. Reading migration plan from file
  2. Migrating ONE module per iteration
  3. Ensuring tests pass after each
  4. Tracking migrated vs remaining

Read full template: @templates/migration.md

Canceling a Loop

To stop an active Ralph loop, delete the state file:

rm .claude/ralph-loop.local.md

Or wait for max iterations to be reached.

Attribution

Based on the Ralph Wiggum technique by Geoffrey Huntley. Enhanced with learnings from Ryan Carson, Matt Pocock, and AI Hero.

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.51%
按下载量换算90

Claude

30.02%
按下载量换算76

Cursor

20.07%
按下载量换算51

Gemini CLI

10.51%
按下载量换算27

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

操作浏览器

该 Skill 可能涉及浏览器控制能力,使用时可能读取或操作网页内容,需要在受控环境中确认权限边界。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills