Token导航 LogoToken导航

Agent Skill · 研究检索

ralph(Ralph 助手)

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

ralph 是研究检索类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为调用外部服务;许可证信息还不明确,第三方扫描有提醒项,按安装量在研究检索类的 73,675 个 Skill 里排第 72,083。

总安装 190周安装 8GitHub Stars 1下载 67核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:ralph(Ralph 助手)
来源仓库:https://github.com/akillness/oh-my-unity3d
仓库路径:skills/ralph
安装命令:
npx skills add https://github.com/akillness/oh-my-unity3d --skill ralph
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/akillness/oh-my-unity3d --skill ralph

这个 Skill 是做什么的

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

ralph 采用规格优先开发模式,通过苏格拉底式提问澄清需求模糊性,确保输入质量。适用于长期任务规划与隐藏假设暴露,尤其适合复杂系统开发前期阶段。生成不可变 YAML 种子规范作为后续开发基准,保障迭代一致性。使用前需设定明确的完成标准与验证机制,防止无限循环。建议结合项目复杂度选择是否启用全自动迭代模式。

来源仓库内路径:skills/ralph

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它需要调用外部服务,先在测试目录或测试账号里跑,确认没问题再放到正式项目。

常见问题

6 条

ralph 怎么安装?

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

ralph 支持哪些 AI 工具?

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

ralph 需要什么权限?

权限级别是调用外部服务。该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

ralph 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

ralph 用的人多吗?

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

ralph 安全吗?

第三方扫描有提醒项,说明存在需要人工确认的行为。安装前请打开源码看清它读了什么、联网到哪里。

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

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方扫描存在提醒项或未通过项,需要人工逐条确认。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 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

Ralph 助手 · 本页

1901调用外部服务未明确有提醒

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

SKILL.md 原文

ralph (Ouroboros) — Specification-First AI Development

Stop prompting. Start specifying. *"The beginning is the end, and the end is the beginning."* The serpent doesn't repeat — it evolves. *Most AI coding fails at the input, not the output. Ouroboros fixes the human, not the machine.*

When to use this skill

  • Before writing any code — expose hidden assumptions with Socratic interviewing (Ambiguity ≤ 0.2 required)
  • Vague requirements — crystallize into an immutable YAML seed spec before touching the keyboard
  • Long-running tasks needing autonomous iteration until verified completion
  • Guaranteed completion tasks — Ralph loop persists across session boundaries until verification passes
  • When stuck — Nine Minds lateral thinking personas break through stagnation
  • Drift detection — measure deviation from original seed and course-correct before it's too late
  • Ontology convergence — evolutionary loop runs until consecutive generations are ≥ 0.95 similar

Quick Start

ooo interview "design a Unity quest system with testable save-state behavior"
ooo seed
ooo ralph "implement the accepted Unity quest system and verify playmode tests"

Instructions

  1. Use ooo interview first when the Unity task is vague or spans gameplay, tooling, and verification.
  2. Freeze the clarified contract with ooo seed before long-running execution.
  3. Run ooo ralph only after acceptance criteria and verification targets are explicit.

Examples

ooo interview "add a Unity inventory system without breaking save compatibility"
ooo ralph "fix all failing editmode tests in the combat package"

Core Architecture: The Ouroboros Loop

    Interview → Seed → Execute → Evaluate
        ↑                           ↓
        └──── Evolutionary Loop ────┘

Each cycle evolves, not repeats. Evaluation output feeds back as input for the next generation until the system converges.

Double Diamond

    ◇ Wonder          ◇ Design
   ╱  (diverge)      ╱  (diverge)
  ╱    explore      ╱    create
 ╱                 ╱
◆ ──────────── ◆ ──────────── ◆
 ╲                 ╲
  ╲    define       ╲    deliver
   ╲  (converge)     ╲  (converge)
    ◇ Ontology        ◇ Evaluation

First diamond (Socratic): diverge into questions → converge into ontological clarity. Second diamond (Pragmatic): diverge into design options → converge into verified delivery.

You cannot design what you haven't understood. The first diamond is a prerequisite for the second.


Commands

CommandTriggersWhat It Does
ooo interviewooo interview, interview me, clarify requirements, socratic questioningSocratic questioning until Ambiguity ≤ 0.2
ooo seedooo seed, crystallize, generate seed, freeze requirementsCrystallize into immutable YAML spec
ooo runooo run, execute seed, ouroboros runExecute via Double Diamond
ooo evaluateooo evaluate, 3-stage check, evaluate this3-stage gate: Mechanical → Semantic → Consensus
ooo evolveooo evolve, evolutionary loop, iterate until convergedEvolutionary loop until Similarity ≥ 0.95
ooo unstuckooo unstuck, I'm stuck, think sideways, lateral thinkingNine Minds lateral thinking personas
ooo statusooo status, am I drifting?, drift checkDrift detection + session tracking
ooo ralphooo ralph, ralph-ooo, don't stop, must complete, keep goingPersistent loop until verified
ooo setupooo setupRegister MCP server (one-time)
ooo cancel/ouroboros:cancel, /ralph-ooo:cancelSave checkpoint and exit

Phase 1: Interview — From Wonder to Ontology

*Wonder → "How should I live?" → "What IS 'live'?" → Ontology* — Socrates

The Socratic Interviewer asks questions until Ambiguity ≤ 0.2. This is the gate between vague desire and executable spec.

ooo interview "I want to build a task management CLI"

Ambiguity Formula

Ambiguity = 1 − Σ(clarityᵢ × weightᵢ)

Greenfield: Goal(40%) + Constraint(30%) + Success(30%)
Brownfield: Goal(35%) + Constraint(25%) + Success(25%) + Context(15%)

Threshold: Ambiguity ≤ 0.2 → ready for Seed

Example scoring:

Goal:       0.9 × 0.4 = 0.36   # "Build a CLI task manager" — clear
Constraint: 0.8 × 0.3 = 0.24   # "Python 3.14+, SQLite only" — defined
Success:    0.7 × 0.3 = 0.21   # "Tasks create/list/complete" — measurable
                      ──────
Clarity             = 0.81
Ambiguity = 1 − 0.81 = 0.19 ≤ 0.2 → ✓ Ready for Seed

Why 0.2? At 80% weighted clarity, remaining unknowns are small enough for code-level decisions to resolve. Above that threshold, you're still guessing at architecture.


Phase 2: Seed — Immutable Specification

ooo seed

Generates YAML spec locked from interview answers:

goal: Build a CLI task management tool
constraints:
  - Python 3.14+
  - No external database
  - SQLite for persistence
acceptance_criteria:
  - Tasks can be created with title and priority
  - Tasks can be listed with status filter
  - Tasks can be marked complete
ontology_schema:
  name: TaskManager
  fields:
    - name: tasks
      type: array
    - name: title
      type: string
    - name: priority
      type: enum[low, medium, high]
    - name: status
      type: enum[open, done]

The seed is immutable. Once generated, it is the ground truth. Drift is measured against it.


Phase 3: Execute — Double Diamond Run

ooo run seed.yaml
ooo run   # uses seed from conversation context

Executes the four phases:

  1. Discover — research existing patterns, constraints, precedents
  2. Define — ontological clarity, edge cases, decision boundaries
  3. Design — architecture, component breakdown, interface contracts
  4. Deliver — implementation, tests, documentation

Phase 4: Evaluate — 3-Stage Verification Gate

ooo evaluate <session_id>
StageCostWhat It Checks
MechanicalFreeLint, build, tests, coverage, type checks
SemanticStandardAC compliance, goal alignment, drift score
ConsensusFrontier (optional)Multi-model vote, majority ratio

Drift Thresholds

ScoreStatusAction
0.0 – 0.15ExcellentOn track
0.15 – 0.30AcceptableMonitor closely
0.30+ExceededCourse correction required

Drift = weighted deviation from seed across three axes: Goal(50%) + Constraint(30%) + Ontology(20%).


Phase 5: Evolve — Ontological Convergence

ooo evolve "build a task management CLI"
ooo evolve "topic" --no-execute   # ontology-only fast mode

Flow

Gen 1: Interview → Seed(O₁) → Execute → Evaluate
Gen 2: Wonder → Reflect → Seed(O₂) → Execute → Evaluate
Gen 3: Wonder → Reflect → Seed(O₃) → Execute → Evaluate
...until Similarity ≥ 0.95 or 30 generations

Convergence Formula

Similarity = 0.5 × name_overlap + 0.3 × type_match + 0.2 × exact_match
Threshold: Similarity ≥ 0.95 → CONVERGED

Gen 1: {Task, Priority, Status}                     → baseline
Gen 2: {Task, Priority, Status, DueDate}            → similarity 0.78 → CONTINUE
Gen 3: {Task, Priority, Status, DueDate}            → similarity 1.00 → CONVERGED ✓

Stagnation Detection

SignalConditionResponse
StagnationSimilarity ≥ 0.95 for 3 consecutive gensStop — converged
OscillationGen N ≈ Gen N-2 (period-2 cycle)Invoke contrarian persona
Repetitive feedback≥ 70% question overlap across 3 gensInvoke researcher persona
Hard cap30 generations reachedStop — safety valve

Ralph — Persistent Loop Until Verified

ooo ralph "fix all failing tests"
ooo ralph "implement the payment module"

"The boulder never stops." Each failure is data for the next attempt. Only verified success or max iterations stops it.

Loop Architecture

┌─────────────────────────────────────┐
│  1. EXECUTE (parallel agents)       │
│     Fire independent sub-tasks      │
│     concurrently via Agent tool     │
├─────────────────────────────────────┤
│  2. VERIFY                          │
│     Check acceptance criteria       │
│     Run tests, lint, typecheck      │
│     Measure drift vs seed           │
├─────────────────────────────────────┤
│  3. LOOP (if failed)                │
│     Analyze failure evidence        │
│     Fix identified issues           │
│     Increment iteration counter     │
│     Repeat from step 1              │
├─────────────────────────────────────┤
│  4. PERSIST (each iteration)        │
│     .omc/state/ralph-ooo-state.json │
│     Resume after interruption       │
└─────────────────────────────────────┘

State File Schema

Create .omc/state/ralph-ooo-state.json on start:

{
  "mode": "ralph-ooo",
  "session_id": "<uuid>",
  "request": "<user request>",
  "status": "running",
  "iteration": 0,
  "max_iterations": 10,
  "last_checkpoint": null,
  "seed_path": null,
  "verification_history": []
}

Loop Logic (Pseudocode)

while iteration < max_iterations:
    result = execute_parallel(request, context)
    verification = verify_result(result, acceptance_criteria)
    state.verification_history.append({
        "iteration": iteration,
        "passed": verification.passed,
        "score": verification.score,
        "timestamp": now()
    })
    save_checkpoint(f"iteration_{iteration}")
    if verification.passed:
        save_checkpoint("complete")
        break
    iteration += 1

Progress Report Format

[Ralph-OOO Iteration 1/10]
Executing in parallel...

Verification: FAILED
Score: 0.65
Issues:
  - 3 tests still failing
  - Type error in src/api.py:42

The boulder never stops. Continuing...

[Ralph-OOO Iteration 3/10]
Verification: PASSED ✓
Score: 1.0

Ralph-OOO COMPLETE
==================
Request: Fix all failing tests
Duration: 8m 32s
Iterations: 3
Verification History:
  - Iteration 1: FAILED (0.65)
  - Iteration 2: FAILED (0.85)
  - Iteration 3: PASSED (1.0)

Completion Promise (Codex / Gemini)

<promise>DONE</promise>

Default promise: DONE | Default max iterations: 10

Cancellation

ActionCommand
Save checkpoint & exit/ouroboros:cancel or /ralph-ooo:cancel
Force clear all state/ouroboros:cancel --force
Resume after interruptionooo ralph continue

The Nine Minds

Loaded on-demand — never preloaded. Each mind has a single core question it cannot stop asking.

AgentRoleCore Question
Socratic InterviewerQuestions-only. Never builds.*"What are you assuming?"*
OntologistFinds essence, not symptoms*"What IS this, really?"*
Seed ArchitectCrystallizes specs from dialogue*"Is this complete and unambiguous?"*
Evaluator3-stage verification*"Did we build the right thing?"*
ContrarianChallenges every assumption*"What if the opposite were true?"*
HackerFinds unconventional paths*"What constraints are actually real?"*
SimplifierRemoves complexity*"What's the simplest thing that could work?"*
ResearcherStops coding, starts investigating*"What evidence do we actually have?"*
ArchitectIdentifies structural causes*"If we started over, would we build it this way?"*

See references/nine-minds.md for full agent profiles.


Unstuck — Lateral Thinking

When blocked after repeated failures:

ooo unstuck                  # auto-select based on context
ooo unstuck simplifier       # cut scope to MVP
ooo unstuck hacker           # make it work first, elegance later
ooo unstuck contrarian       # challenge all assumptions
ooo unstuck researcher       # stop coding, find missing information
ooo unstuck architect        # restructure the approach entirely

Decision guide:

  • Repeated similar failures → contrarian (challenge assumptions)
  • Too many options / paralysis → simplifier (reduce scope)
  • Missing information / unclear root cause → researcher (seek evidence)
  • Analysis paralysis / need momentum → hacker (just make it work)
  • Structural issues / wrong foundation → architect (redesign)

Quick Reference

ActionCommand
Socratic interviewooo interview "topic"
Generate specooo seed
Execute specooo run [seed.yaml]
3-stage evaluateooo evaluate <session_id>
Evolve until convergedooo evolve "topic"
Persistent loopooo ralph "task"
Break stagnationooo unstuck [persona]
Check driftooo status [session_id]
First-time setupooo setup
Cancel/ouroboros:cancel
Force cancel/ouroboros:cancel --force
Resumeooo ralph continue

Available Scripts

Run from the skill directory:

ScriptPurpose
scripts/setup-codex-hook.shConfigure Codex CLI for ralph-ooo (developer_instructions + prompts)
scripts/setup-gemini-hook.shConfigure Gemini CLI AfterAgent hook for loop continuation
scripts/ooo-state.shManage .omc/state/ralph-ooo-state.json (init/status/checkpoint/reset/resume)

Platform Support Matrix

PlatformSupportMechanismooo CommandsAuto Loop
Claude CodeFullSkills system + hooksAll ooo commandsVia hooks
Codex CLIAdaptedbash loop + /prompts:ralph-oooVia conversationManual state file
Gemini CLINativeAfterAgent hookAll ooo commandsVia hook
OpenCodeNativeSkills systemAll ooo commandsVia loop

Installation

# Claude Code (via oh-my-skills)
npx skills add https://github.com/akillness/oh-my-skills --skill ralph-ooo

# Codex CLI setup
bash .agent-skills/ralph-ooo/scripts/setup-codex-hook.sh

# Gemini CLI setup
bash .agent-skills/ralph-ooo/scripts/setup-gemini-hook.sh

# Ouroboros native plugin
claude plugin marketplace add Q00/ouroboros
claude plugin install ouroboros@ouroboros
ooo setup

References

Detailed documentation in references/:

FileContents
references/ouroboros-commands.mdFull ooo command syntax, parameters, output formats, state schemas
references/nine-minds.mdAll 9 agent profiles, core questions, when to invoke, unstuck guide
references/platform-setup.mdPer-platform setup, hooks.json, AfterAgent config, Gemini bug workarounds

Source: Q00/ouroboros — MIT License

平台分布

Codex

33%
按下载量换算22

Claude

31.67%
按下载量换算21

Cursor

16.64%
按下载量换算11

Gemini CLI

9.74%
按下载量换算7

安全审计

Gen Agent Trust Hub

可疑

Socket

通过

Snyk

可疑

权限和风险

调用外部服务

该 Skill 可能调用第三方服务、云服务或外部模型 API,使用前需要确认账号、额度、数据发送范围和服务条款。

安装前确认

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

继续浏览同类 Skills