Token导航 LogoToken导航

Agent Skill · 研究检索

ralph-prompt-builder(拉尔夫提示生成器)

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

ralph-prompt-builder 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为接触敏感数据;许可证为 MIT,第三方扫描已通过,按安装量在研究检索类的 73,675 个 Skill 里排第 56,981。

总安装 442周安装 19GitHub Stars 9下载 155核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/adaptationio/skrillz --skill ralph-prompt-builder

这个 Skill 是做什么的

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

用于辅助提示词、系统指令和工作流模板的整理。适合规范任务边界、统一输出格式和优化可复用性。使用时需保留真实业务约束,不要把示例当硬规则。涉及自动执行时应明确确认步骤和权限边界。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

ralph-prompt-builder 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

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

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/adaptationio/skrillz --skill ralph-prompt-buil…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要接触敏感数据,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ralph-prompt-builder 怎么安装?

在终端执行 npx skills add https://github.com/adaptationio/skrillz --skill ralph-prompt-builder。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

ralph-prompt-builder 支持哪些 AI 工具?

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

ralph-prompt-builder 需要什么权限?

权限级别是接触敏感数据。该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

ralph-prompt-builder 是免费的吗?

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

ralph-prompt-builder 用的人多吗?

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

ralph-prompt-builder 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 3 个目录同时收录,说明这个 Skill 流传比较广。
  • 许可证明确为 MIT,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 需要接触敏感数据,装到常用环境前要先评估影响面。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理研究检索类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 环境里有大量密钥、凭证,不方便给第三方 Skill 读取的人。
  • 需要厂商级技术支持和 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-prompt-builder

拉尔夫提示生成器 · 本页

4429接触敏感数据MIT通过

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

SKILL.md 原文

Ralph Prompt Builder (Master Orchestrator)

Overview

Master skill for generating prompts optimized for the Ralph Wiggum autonomous loop technique. This orchestrator analyzes your task description and routes to the appropriate specialized generator:

Task TypeGeneratorBest For
Single focused taskralph-prompt-single-taskBug fixes, single features, refactoring
Multiple related tasksralph-prompt-multi-taskCRUD, multi-step features, migrations
Complete projectralph-prompt-projectGreenfield apps, libraries, tools
Research/Analysisralph-prompt-researchAudits, planning, investigations

Quick Start

Generate any Ralph prompt:

Use ralph-prompt-builder to create a prompt for: [describe your task]

Example:

Use ralph-prompt-builder to create a prompt for: Implementing user authentication with JWT for our Express API

The skill will:

  1. Classify your task
  2. Route to the appropriate generator
  3. Guide you through required inputs
  4. Output a ready-to-use Ralph prompt

Task Classification

How Tasks Are Classified

IndicatorsClassificationGenerator
Fix, repair, single change, one moduleSingle Taskralph-prompt-single-task
Multiple features, CRUD, several endpointsMulti-Taskralph-prompt-multi-task
Build from scratch, new app, create toolProjectralph-prompt-project
Analyze, audit, compare, plan, investigateResearchralph-prompt-research

Classification Questions

To classify your task, consider:

  1. Is this creating something new from scratch or modifying existing code?

- New from scratch → Project or Multi-Task - Modifying existing → Single Task or Multi-Task

  1. How many distinct deliverables?

- One deliverable → Single Task - 2-5 related deliverables → Multi-Task - Complete application/tool → Project - Analysis document → Research

  1. Does it involve investigation before action?

- Yes, research required → Research - No, implementation focus → Single/Multi/Project

  1. What's the completion criteria?

- Tests pass → Single Task - Multiple features working → Multi-Task - Complete app running → Project - Document produced → Research

Classification Examples

Single Task Examples

  • "Fix the race condition in token refresh"
  • "Add pagination to the users endpoint"
  • "Refactor database queries to use async/await"
  • "Write tests for the auth module"
  • "Optimize the image upload function"

Multi-Task Examples

  • "Implement CRUD for Products resource"
  • "Add login, signup, logout, and password reset"
  • "Set up CI/CD pipeline with lint, test, build, deploy"
  • "Add validation, error handling, and logging to API"
  • "Create user, profile, and settings endpoints"

Project Examples

  • "Build a REST API for a todo list application"
  • "Create a CLI tool for database migrations"
  • "Build a URL shortener service"
  • "Create a markdown documentation generator"
  • "Build an authentication microservice"

Research Examples

  • "Analyze the codebase for security vulnerabilities"
  • "Compare React vs Vue vs Svelte for our needs"
  • "Create a migration plan from MongoDB to PostgreSQL"
  • "Audit dependencies for outdated packages"
  • "Document the current API architecture"

Workflow

Step 1: Describe Your Task

Provide a description including:

  • What needs to be done
  • What technology/context
  • Any specific requirements
  • Desired outcome

Template:

Task: [What you want to accomplish]
Context: [Relevant background - tech stack, existing code, etc.]
Requirements: [Specific requirements or constraints]
Outcome: [What success looks like]

Step 2: Review Classification

The orchestrator will classify your task and explain why:

CLASSIFICATION: [Task Type]
REASONING: [Why this classification]
GENERATOR: ralph-prompt-[type]

Does this classification look correct? If not, specify your preferred type.

Step 3: Provide Generator Inputs

Each generator requires specific inputs:

Single Task:

  • Task description
  • Success criteria (how to verify)
  • Completion promise text

Multi-Task:

  • List of tasks
  • Dependencies between tasks
  • Final completion promise

Project:

  • Project description
  • Tech stack
  • Feature list
  • Completion promise

Research:

  • Research objective
  • Scope (in/out)
  • Deliverable format
  • Completion promise

Step 4: Generate & Review

The appropriate generator creates the prompt. Review and customize:

  1. Verify requirements are complete
  2. Check verification commands are correct
  3. Confirm completion criteria match your needs
  4. Adjust max-iterations recommendation

Step 5: Execute with Ralph

/ralph-wiggum:ralph-loop "[generated prompt]" --completion-promise "[YOUR_PROMISE]" --max-iterations [recommended]

Generator Summaries

ralph-prompt-single-task

Purpose: Focused tasks with clear success criteria

Structure:

  1. Task title and objective
  2. Context
  3. Requirements
  4. Success criteria (checkboxes)
  5. Verification steps with commands
  6. TDD approach
  7. Completion conditions
  8. If stuck guidance

Best practices:

  • Include actual test commands
  • Make criteria binary (pass/fail)
  • Include TDD loop

Recommended iterations: 15-35


ralph-prompt-multi-task

Purpose: Multiple related tasks organized in phases

Structure:

  1. Task inventory table
  2. Phase breakdown (Foundation → Core → Enhancement → Validation)
  3. Per-phase tasks with deliverables
  4. Phase checkpoints
  5. Progress tracking
  6. Final verification

Best practices:

  • Group tasks into logical phases
  • Clear dependencies
  • Document checkpoints

Recommended iterations: 35-100


ralph-prompt-project

Purpose: Complete projects from scratch

Structure:

  1. Project vision and specs
  2. Six phases:

- Phase 0: Setup - Phase 1: Architecture - Phase 2: Core - Phase 3: Features - Phase 4: Testing - Phase 5: Documentation

  1. Per-phase tasks and deliverables
  2. Final verification
  3. Progress tracking

Best practices:

  • Define non-goals explicitly
  • Complete all phases in order
  • Don't skip testing/documentation

Recommended iterations: 60-200


ralph-prompt-research

Purpose: Analysis, audits, planning, investigations

Structure:

  1. Research objective and scope
  2. Five phases:

- Phase 1: Discovery - Phase 2: Analysis - Phase 3: Synthesis - Phase 4: Recommendations - Phase 5: Documentation

  1. Deliverables at each phase
  2. Evidence-based conclusions

Best practices:

  • Define scope boundaries clearly
  • Create artifacts as you go
  • Support conclusions with evidence

Recommended iterations: 30-100

Common Patterns

Choosing a Completion Promise

Good promises are:

  • Specific to the task
  • Verifiable (you can check if it's true)
  • Action-oriented

Examples:

Task TypeGood PromiseWhy
Bug fixAUTH_FIX_COMPLETESpecific to what was fixed
CRUDPRODUCT_CRUD_DONENames the resource
ProjectTODO_API_V1_COMPLETEIdentifies the project
ResearchSECURITY_AUDIT_DELIVEREDReferences deliverable

The Ralph Philosophy

The Ralph Wiggum technique is built on a key insight: failures are deterministic and fixable.

  • Deterministically bad: When prompts fail, they fail in predictable ways
  • Fixable through iteration: Each failure provides data to improve
  • Prompt tuning > tool changing: Fix failures by improving the prompt, not switching approaches

This means: Don't fear failures. They're expected and correctable. The loop will iterate until success.

Setting Max Iterations

Base recommendations by complexity:

ComplexitySingle TaskMulti-TaskProjectResearch
Simple15356030
Medium255010050
Complex357015080
Very Complex-100200100

Adjust based on:

  • Familiarity with codebase (-20%)
  • External dependencies (+30%)
  • Unclear requirements (+50%)
  • Comprehensive testing needed (+25%)

Splitting Large Tasks

If task feels too large, consider splitting:

Project → Multiple Projects:

Instead of: "Build complete e-commerce platform"
Split into:
1. Project: User authentication service
2. Project: Product catalog API
3. Project: Shopping cart service
4. Project: Order processing service

Multi-Task → Separate Multi-Tasks:

Instead of: "Build full admin dashboard"
Split into:
1. Multi-Task: User management (CRUD + roles)
2. Multi-Task: Analytics dashboard
3. Multi-Task: Settings panel

Troubleshooting

Task Won't Complete

Symptoms: Hitting max iterations without completion

Causes and fixes:

  1. Scope too large → Split into smaller tasks
  2. Unclear criteria → Make success criteria more specific
  3. External dependencies → Document or mock dependencies
  4. Infinite tests → Check for flaky tests

Wrong Generator Selected

Fix: Specify the generator explicitly:

Use ralph-prompt-single-task (not multi-task) for: [task]

Prompt Too Vague

Fix: Ensure your input includes:

  • Specific files/modules affected
  • Actual test commands
  • Concrete success criteria
  • Technology context

Integration with Ralph Loop

After generating a prompt:

# Copy the generated prompt to a file or use directly
/ralph-wiggum:ralph-loop "[YOUR_GENERATED_PROMPT]" \
  --completion-promise "YOUR_PROMISE" \
  --max-iterations 50

# Monitor progress
head -10 .claude/ralph-loop.local.md

# Cancel if needed
/ralph-wiggum:cancel-ralph

Best Practices

DO:

  • Start with the right generator for your task type
  • Provide complete context and requirements
  • Include specific verification commands
  • Set appropriate max-iterations for complexity
  • Review generated prompts before running

DON'T:

  • Use vague task descriptions
  • Skip the classification step
  • Ignore the "If Stuck" guidance in generated prompts
  • Set max-iterations too low (iterations are normal)
  • Expect first-try perfection—Ralph embraces iteration

Quick Reference

Task Type Decision Tree

Is this research/analysis/planning?
├─ YES → ralph-prompt-research
└─ NO → Is this building a complete app from scratch?
         ├─ YES → ralph-prompt-project
         └─ NO → Are there multiple related deliverables?
                  ├─ YES → ralph-prompt-multi-task
                  └─ NO → ralph-prompt-single-task

Input Checklist

Before generating, have ready:

  • Clear task description
  • Technology context (language, framework)
  • Success criteria (how to verify done)
  • Completion promise text
  • Any specific requirements

Output Checklist

Before running the prompt:

  • All requirements captured
  • Verification commands are correct
  • Success criteria are binary (pass/fail)
  • TDD/iteration approach included
  • "If Stuck" guidance provided
  • Max iterations set appropriately

Specialized Generators:

  • ralph-prompt-single-task - Single focused implementations
  • ralph-prompt-multi-task - Multiple related tasks
  • ralph-prompt-project - Complete projects
  • ralph-prompt-research - Analysis and planning

Ralph Loop Commands:

  • /ralph-wiggum:ralph-loop - Start a loop
  • /ralph-wiggum:cancel-ralph - Cancel active loop
  • /ralph-wiggum:help - Get help

平台分布

Claude Code

32.21%
按下载量换算50

github-copilot

21.44%
按下载量换算33

neovate

18.16%
按下载量换算28

Antigravity

12.55%
按下载量换算19

kilo

7.36%
按下载量换算11

command-code

3.75%
按下载量换算6

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

接触敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。

继续浏览同类 Skills