Token导航 LogoToken导航

Agent Skill · 研究检索

ralph-wiggum(拉尔夫·维格姆)

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

ralph-wiggum 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为需要联网;许可证为 MIT,暂无第三方扫描结果,按安装量在研究检索类的 73,675 个 Skill 里排第 69,749。

总安装 216周安装 9GitHub Stars 公开资料未说明下载 72核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT

安装方式

通过对话安装

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

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

命令行安装

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

AgentSkills.tonpx skills
npx skills add v1truv1us/ai-eng-system --skill "ralph-wiggum"

这个 Skill 是做什么的

研究检索类 Skill 主要解决「找资料、核对事实、把来源整理清楚」的问题,通常会让助手先检索再总结。

ralph-wiggum 技能用于发现并安装 AI 代理的相关能力。适用于 Codex、Claude、Cursor、Gemini CLI 等宿主环境。通过 npx 从 v1truv1us/ai-eng-system 仓库添加指定技能。安装前应核实权限范围、维护状态及是否触发敏感操作。

建议参考原始 README 了解具体功能和使用限制。

来源仓库内路径:skills/ralph-wiggum

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add v1truv1us/ai-eng-system --skill "ralph-wiggum";命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    它需要需要联网,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ralph-wiggum 怎么安装?

在终端执行 npx skills add v1truv1us/ai-eng-system --skill "ralph-wiggum"。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ralph-wiggum 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

ralph-wiggum 需要什么权限?

权限级别是需要联网。该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

ralph-wiggum 是免费的吗?

来源标注的许可证是 MIT。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

ralph-wiggum 用的人多吗?

公开数据是累计安装 216 次,近一周安装 9 次,下载 72 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

ralph-wiggum 安全吗?

没有查到第三方扫描结果,安全性无法从公开资料判断,安装前请自行审查源码、依赖和命令行为。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 许可证明确为 MIT,商用和分发边界好判断。

先想清楚的地方

  • 没有第三方扫描结果,安全性只能靠自己读源码判断。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。

不太适合

  • 要求有安全扫描结论才肯安装的团队。
  • 需要厂商级技术支持和 SLA 的生产系统。

研究检索类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
find-skills

寻找技能 · Codex、Claude

31,199,81316,486操作浏览器MIT有提醒
self-improving-agent

自我改进 Agent · OpenClaw

16,464,0023,396接触敏感数据MIT-0通过
soultrace

灵魂追踪 · Codex、Claude

7,588,94412需要联网未明确有提醒
self-improving

自我完善 · OpenClaw

6,829,2841,046需要联网MIT-0通过
microsoft-foundry

微软代工厂 · Codex、Claude

6,614,144764调用外部服务未明确有提醒
ralph-wiggum

拉尔夫·维格姆 · 本页

216—需要联网MIT未收录

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
ralph-wiggum
description
Continuous iteration loop pattern for well-defined tasks with clear completion criteria. Use when getting tests to pass, implementing features with automatic verification, bug fixing with clear success conditions, or running automated development overnight. Provides prompt templates, safety guidelines, and integration patterns for ai-eng-system workflows.
version
1.0.0
tags
[workflow, iteration, automation, continuous, looping]

Ralph Wiggum Continuous Iteration

Critical Importance

Proper use of Ralph Wiggum loops is critical for achieving automated development success. Poorly configured loops waste tokens, run forever without progress, or break your codebase. Well-configured loops enable autonomous development, overnight progress, and frictionless iteration. The loop's power comes from disciplined setup: clear completion criteria, safety caps, and verification mechanisms. Rushing loop setup guarantees cost overruns and broken builds.

Systematic Approach

approach Ralph Wiggum loops systematically. Loop setup requires careful planning: define the task precisely, set verifiable success criteria, establish safety limits, and plan verification steps. Don't let loops run blindly—monitor progress, detect stuck states, and implement cancellation mechanisms. The loop is a tool, not a substitute for clear thinking. Configure it thoughtfully, monitor it actively, and trust it to handle the repetitive work.

The Challenge

The configure a loop that runs autonomously without getting stuck or burning excessive tokens, but if you can:

  • You'll unlock overnight productivity
  • Features will complete while you sleep
  • Test failures will disappear automatically
  • You'll achieve continuous integration without babysitting

The challenge is setting completion criteria that are objective and achievable, while preventing infinite loops or token waste. Can you balance automation with safety?

Loop Confidence Assessment

Before starting a Ralph Wiggum loop, rate your confidence from 0.0 to 1.0:

  • 0.8-1.0: Task perfectly defined, completion criteria objective, safety measures in place, token budget acceptable
  • 0.5-0.8: Task clear but completion criteria somewhat fuzzy, reasonable safety measures, token usage unclear
  • 0.2-0.5: Task definition incomplete, completion criteria subjective, minimal safety measures, high token risk
  • 0.0-0.2: Task ambiguous, no objective success criteria, no safety caps, guaranteed problems

Identify uncertainty areas: Will the loop actually complete? What happens if it gets stuck? How many iterations will it need? What's the maximum token cost?

Methodology

A while-loop pattern that keeps AI agents working on well-defined tasks until reaching a completion signal. Based on the proven technique from Claude Code community, adapted for ai-eng-system workflows.

Core Philosophy

Ralph Wiggum embodies these principles:

  1. Iteration > Perfection - Don't aim for perfect on first try. Let the loop handle refinement.
  2. Failures Are Data - Deterministically bad failures are predictably informative. Feed them back into the next iteration.
  3. Operator Skill Matters - Prompt quality determines success, not model capability. Write clear completion criteria.
  4. Persistence Wins - Let the loop handle retry logic automatically. Walk away and let it work.

When to Use Ralph Wiggum

Ideal Scenarios ✅

Use Ralph Wiggum for well-defined tasks with clear, objective completion criteria:

  • TDD Implementation - Write failing tests, loop until all tests pass
  • Bug Fixing - Iteratively debug and fix until verification succeeds
  • Refactoring - Incremental transformations with test safety
  • Feature Implementation - Tasks with automatic verification (tests, linters, type checkers)
  • Quality Gate Passing - Loop until code review, linting, or security scans pass
  • Overnight/Weekend Automation - Run autonomous development while away
  • Greenfield Projects - Complete features from scratch in one session

When NOT to Use ❌

Avoid Ralph Wiggum for:

  • Tasks requiring human judgment - Design decisions, UX choices, architectural trade-offs
  • Ambiguous tasks - "Improve performance" (how much? what metric?)
  • One-shot operations - Simple changes that don't need iteration
  • Tasks with external dependencies - Needing approvals, manual configuration
  • Critical production systems - Use manual control for safety
  • Long-running loops - When context window limits would apply
  • Complex multi-phase workflows - Use spec-driven workflow with explicit phase transitions instead

Safety Measures

Required Parameters

Always include these when using Ralph Wiggum loops:

  1. Max Iterations Cap - Set 10-50 iterations based on complexity. Never run unlimited.
  2. Completion Promise - Unique exact-match phrase like <promise>COMPLETE</promise> or ✅ ALL_TESTS_PASSING
  3. Progress Monitoring - Track iteration count and show last N outputs for visibility
  4. Cancellation Mechanism - Ability to stop active loop and save iteration history

Cost Management

  • Token Usage Tracking - Monitor cumulative consumption throughout loop
  • Iteration Logging - Save all outputs for post-mortem analysis
  • Stuck Detection - Stop if no progress after 5-10 iterations
  • Context Window Management - Prune irrelevant history between iterations

Integration with ai-eng-system

Ralph Wiggum works as an execution pattern within ai-eng-system workflows:

# Direct agent invocation
@full-stack-developer "Implement authentication using TDD. Keep iterating until all tests pass. Output <promise>DONE</promise>."

# Within /work execution
/ai-eng/work "Implement user registration feature"

# In plan tasks:
tasks:
  - id: registration-feature
    agent: @full-stack-developer
    instruction: "Implement user registration using TDD. Output <promise>COMPLETE</promise> when all tests pass."
    loop:
      enabled: true
      max-iterations: 30
      completion-promise: "COMPLETE"

Prompt Templates

See templates/ralph-wiggum-prompts.md for 5 detailed prompt templates:

  1. TDD Implementation
  2. Bug Fixing
  3. Refactoring
  4. Feature Implementation
  5. Quality Gate Passing

Each template includes requirements, process steps, success criteria, and completion promises.

Best Practices

Prompt Writing

Clear Completion Criteria:

Good:
Build a REST API for todos.
When complete:
- All CRUD endpoints working
- Input validation in place
- Tests passing (coverage > 80%)
- README with API docs
- Output: <promise>COMPLETE</promise>

Bad:
Build a todo API and make it good.

Incremental Goals:

Good:
Phase 1: User authentication (JWT, tests)
Phase 2: Product catalog (list/search, tests)
Phase 3: Shopping cart (add/remove, tests)
Output <promise>COMPLETE</promise> when all phases done.

Bad:
Create a complete e-commerce platform.

Self-Correction Pattern:

Good:
Implement feature X following TDD:
1. Write failing tests
2. Implement feature
3. Run tests
4. If any fail, debug and fix
5. Refactor if needed
6. Repeat until all green
7. Output: <promise>COMPLETE</promise>

Bad:
Write code for feature X.

Integration Patterns

Pattern 1: Single Agent Loop
# Simple iteration with one agent
@full-stack-developer "[TDD template above]"
Pattern 2: Multi-Agent Sequential
# Agent A creates implementation
@full-stack-developer "[Implementation template with COMPLETE promise]"

# Agent B reviews and iterates if needed
@code-reviewer "Review implementation. If issues found, output specific fixes needed. Output <promise>REVIEW_COMPLETE</promise> when code meets standards."

# Agent C adds tests if missing
@test-generator "Add tests for implementation until coverage > 80%. Output <promise>TESTS_COMPLETE</promise>."
Pattern 3: Git Worktree Parallel Loops
# See git-worktree skill for parallel development
git worktree add ../feature-auth -b feature/auth
git worktree add ../feature-api -b feature/api

# Loop 1: Authentication
cd ../feature-auth
@full-stack-developer "[Implementation template]"

# Loop 2: API (parallel execution)
cd ../feature-api
@api-builder-enhanced "[API implementation template]"

Example Workflows

Example 1: Getting Tests to Pass

Scenario: New feature tests are failing

# Use with @test-generator or @full-stack-developer
@full-stack-developer "Get all tests passing in src/auth.

Current Test Failures:
- ✗ auth.test.ts:45 - should validate JWT tokens
- ✗ auth.test.ts:78 - should reject expired tokens

Process:
1. Run failing test
2. Analyze error
3. Fix implementation
4. Re-run test
5. If still failing, analyze again
6. Repeat until all tests pass

Output <promise>ALL_TESTS_PASSING</promise> when done.

Keep iterating until auth.test.ts has all tests passing."

Example 2: Complete Feature Implementation

Scenario: New user registration feature

# Use /ai-eng/work with loop instruction
/ai-eng/work "Implement user registration feature

Requirements:
- Email/password registration
- Password validation (min 8 chars, 1 uppercase, 1 number)
- Email verification token sent via email
- Password reset flow

Process:
[Use Template 4 above]

Integration with ai-eng-system:
- Use existing project patterns from CLAUDE.md
- Follow spec-driven workflow for planning
- Run /ai-eng/review after completion

Output <promise>COMPLETE</promise> when feature is ready."

Example 3: Overnight Automation

Scenario: Run autonomous development while sleeping

# Set up with max-iterations for safety
@full-stack-developer "Implement complete CRUD API for products.

[Full template with detailed requirements]

Keep iterating until complete. This is an overnight automated run.

Safety Parameters:
- Max iterations: 50
- Checkpoint every 10 iterations
- Save progress to .checkpoint.json

Output <promise>OVERNIGHT_COMPLETE</promise> when done."

Monitoring and Debugging

Checking Loop Progress

Monitor active loops by tracking:

  • Iteration count - How many iterations have run?
  • Recent outputs - What happened in the last 3-5 iterations?
  • Stuck patterns - Is the agent repeating the same approach?
  • Convergence - Are results improving or cycling?

Stuck Loop Detection

Signs of stuck loops: Same tests failing after 5+ iterations, repeated outputs, error cycling

Rescue strategy:

If stuck after 5 iterations without progress:
1. Document what's not working
2. List all attempted approaches
3. Propose a different strategy
4. Output <promise>STUCK_REPORT</promise> with details

Anti-Patterns to Avoid

  • Unlimited loops - Always set max-iterations cap
  • Vague completion criteria - Must be objectively verifiable
  • Ignoring context window - Long loops can exceed token limits
  • Missing test safety - Without tests, loops can break functionality
  • No progress visibility - Don't run blind - monitor iterations
  • Overly complex single loop - Break into multiple smaller loops
  • Skipping verification - Always run tests/checks after each iteration
  • Ignoring cost - Token usage accumulates quickly

Quality Checklist

Before starting a Ralph Wiggum loop:

  • [ ] Task has clear, objective success criteria
  • [ ] Max-iterations cap is set (recommended: 10-50)
  • [ ] Completion promise is unique and verifiable
  • [ ] Tests or verification mechanism exists
  • [ ] Task is well-defined, not requiring judgment
  • [ ] Safety measures (stuck detection, cancellation) in place
  • [ ] Token usage is acceptable for estimated iterations
  • [ ] Appropriate agent is chosen for the task

Integration with Spec-Driven Workflow

Ralph Wiggum enhances the /ai-eng/work phase:

/ai-eng/research "authentication patterns"
/ai-eng/specify "user authentication"
/ai-eng/plan --from-spec=specs/auth
/ai-eng/work "specs/auth/plan"  # Use Ralph Wiggum patterns here
/ai-eng/review

In /ai-eng/work, use Ralph Wiggum for:

  • Getting tests to pass
  • Implementing features with TDD
  • Refactoring with test safety
  • Passing quality gates

Research-Based Foundations

  • Ralph Wiggum Pattern - Original technique by Geoffrey Huntley
  • Claude Code Community Results - Y Combinator Hackathon (6 repos overnight), $50k contract ($297 API costs), CURSED Language (3 months)
  • ai-eng-system Integration Research - docs/research/2025-01-05-ralph-wiggum-loop-analysis.md

Follow-Up Actions

After loop completes:

  1. Verify results - Confirm completion criteria met
  2. Run comprehensive tests - Full test suite, integration tests
  3. Code review - Use /ai-eng/review for validation
  4. Document iteration history - Save notable decisions and approaches
  5. Commit changes - Clean commits with descriptive messages
  6. Update documentation - Reflect changes in relevant docs

External References

平台分布

windsurf

30.33%
按下载量换算22

OpenCode

22.19%
按下载量换算16

Codex

17.65%
按下载量换算13

Claude Code

13%
按下载量换算9

Antigravity

8.55%
按下载量换算6

Gemini CLI

3.17%
按下载量换算2

安全审计

暂无安全审计结果可展示。

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills