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

ralphRalph 助手

Agent Skill

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

总安装

1,493

周安装

61

GitHub Stars

11

下载量

483
CodexClaudeCursorGemini CLI

安装说明

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

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

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

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

命令行安装

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

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

简介

ralph 是规格优先开发方法的核心工具,推动从模糊需求到可执行契约的转化过程。

  • 适用于访谈、种子设计、执行验证到演进迭代的完整闭环管理。
  • 强调持续交付直至验证通过,避免过度依赖提示词工程。
  • 需配合其他运行时技能使用,注意权限隔离与安全策略配置。
  • ralph 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

ralph — Specification-First Development + Persistent Completion

Stop prompting. Start specifying.

ralph is the portable method contract for the Ouroboros loop:

Interview → Seed → Execute → Evaluate → Evolve
                     ↓
                 ooo ralph
             (persist until verified)

Keep ralph focused on that contract. Runtime-specific execution belongs to sibling skills:

  • omc — Claude-native orchestration
  • omx — Codex-native orchestration
  • ohmg — Gemini / Antigravity harness projection
  • jeo — integrated delivery ledger and review loop
  • ralphmode — approvals / sandbox / trust posture

When to use this skill

  • The user has a vague request and needs a Socratic interview before code is written.
  • Requirements should become an immutable seed/spec before implementation starts.
  • The task needs a verify-before-done loop instead of a one-shot answer.
  • The user wants to keep going until completion is actually verified.
  • You need to measure drift against the original contract.
  • Repeated failures mean you need a structured unstuck step instead of more blind retries.

Do not use this skill when

  • The task is mainly about Claude / Codex / Gemini runtime setup or platform commands → route to omc, omx, or ohmg.
  • The main problem is permission posture, approvals, trust folders, or YOLO mode → route to ralphmode.
  • The user needs integrated project ledgers, plan review, browser verification, and cleanup workflow → route to jeo.
  • The task is only pre-implementation landscape research → route to survey.

Instructions

Follow the phases in order unless the user explicitly asks for a narrower command such as ooo interview, ooo evaluate, or ooo unstuck. Keep ralph as the method anchor, then route platform-native runtime details outward when the request turns into Claude / Codex / Gemini-specific setup or execution policy.

Core contract

1. Interview

Ask questions until ambiguity is low enough to act.

Use when the user is unclear, underspecified, or mixing goals, constraints, and success criteria.

ooo interview "build a task management CLI"

Ambiguity gate

  • Greenfield: Goal 40% + Constraints 30% + Success 30%
  • Brownfield: Goal 35% + Constraints 25% + Success 25% + Context 15%
  • Do not move to seed until Ambiguity ≤ 0.2.

2. Seed

Freeze the clarified request into an immutable spec.

ooo seed

The seed should lock:

  • goal
  • constraints
  • acceptance criteria
  • ontology / core object model

Once generated, the seed becomes the baseline for drift checks.

3. Execute

Run the work against the seed instead of improvising from chat drift.

ooo run [seed.yaml]

Default execution shape:

  1. Discover
  2. Define
  3. Design
  4. Deliver

4. Evaluate

Verify before claiming success.

ooo evaluate <session_id>

Use the three-stage gate:

  • Mechanical — lint, tests, build, typecheck, coverage
  • Semantic — acceptance criteria and goal alignment
  • Consensus — optional multi-model or reviewer agreement when needed

Drift thresholds

  • 0.00–0.15 excellent
  • 0.15–0.30 acceptable but watch closely
  • 0.30+ correct course before continuing

5. Evolve

Use when the ontology or solution shape is still changing.

ooo evolve "topic"
ooo evolve "topic" --no-execute

Stop when repeated generations converge strongly enough to count as stable.

6. Persistent completion (ooo ralph)

Use when the user wants a loop that should continue until completion is verified.

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

The loop contract is:

  1. execute
  2. verify
  3. record failure evidence
  4. adjust
  5. continue until verified or capped

Keep the stopping rule explicit. A completion promise such as <promise>DONE</promise> is a useful runtime-level signal, but the real rule is verified completion, not merely emitting the token.

Unstuck mode

When repeated attempts are failing, route to a deliberate mindset instead of retrying blindly.

ooo unstuck
ooo unstuck simplifier
ooo unstuck hacker
ooo unstuck contrarian
ooo unstuck researcher
ooo unstuck architect

Quick routing guide:

  • repeated similar failures → contrarian
  • too many options / paralysis → simplifier
  • missing evidence → researcher
  • need momentum → hacker
  • wrong foundation → architect

Operating rules

  1. Clarify before coding when ambiguity is still high.
  2. Freeze the seed before implementation; do not rewrite the contract mid-run.
  3. Measure drift against the original seed, not against the latest rationale.
  4. Verify before done — tests, checks, and acceptance criteria matter more than confidence.
  5. Treat failure as data — every failed loop should feed the next attempt.
  6. Keep runtime ownership separate — platform hooks, approvals, trust settings, and shell-specific commands belong in runtime docs and sibling skills.
  7. Prefer the live local skill path in setup examples: .agent-skills/ralph/....

Platform boundary

ralph is runtime-agnostic on purpose. It should describe what the loop needs, not every platform's syntax.

  • Claude Code can supply rich native hooks and orchestration through omc.
  • Codex now has native experimental hooks plus .rules, sandbox, and approval controls, but concrete Codex runtime guidance still belongs in omx and the platform references.
  • Gemini supports hook-based continuation and trust-folder controls; concrete setup belongs in ohmg and the platform references.
  • ralphmode owns safety posture, not ralph.

See references/runtime-boundaries.md and references/platform-setup.md.

Examples

Example 1: clarify first

ooo interview "build a task management CLI"

Example 2: persistent verified loop

ooo ralph "fix all failing tests" --max-iterations=10

Example 3: local helper setup

bash .agent-skills/ralph/scripts/setup-codex-hook.sh
bash .agent-skills/ralph/scripts/setup-gemini-hook.sh

Available scripts

ScriptPurpose
scripts/setup-codex-hook.shInstall the current local Codex fallback helpers (developer_instructions + prompt scaffolding)
scripts/setup-gemini-hook.shInstall the local Gemini AfterAgent helper path
scripts/ooo-state.shInspect / reset local .omc/state/ralph-ooo-state.json helper state

Best practices

  1. Keep ralph as the method anchor, not a catch-all platform runtime wrapper.
  2. Pair long-running runs with explicit repo-local verification commands.
  3. Route runtime shells and orchestration depth outward instead of duplicating them here.
  4. Update compact/catalog/doc surfaces whenever the trigger surface changes materially.
  5. If a runtime doc drifts from current official docs, correct the runtime reference instead of bloating this front door.

References

  • references/ouroboros-commands.md — command syntax, parameters, and state concepts
  • references/nine-minds.md — the nine persona roles and unstuck routing
  • references/platform-setup.md — platform-specific local setup and current fallback guidance
  • references/runtime-boundaries.md — settings / rules / hooks split and sibling-skill ownership

Source: Q00/ouroboros — MIT License

适合场景

01

用户想查找某类 Agent Skill 时

02

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

03

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

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

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

能力 4

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

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

平台分布

Codex

35.38%
按下载量换算171

Claude

28.7%
按下载量换算139

Cursor

19.37%
按下载量换算94

Gemini CLI

8.21%
按下载量换算40

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

通过

权限和风险

操作浏览器

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

安装前确认

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

来源信息

继续浏览同类 Skills