跳到主要内容
知仓学习社ZHICANG

ralph-loop

Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).

读凭据读文件写文件严重 0 · 高危 5foryourhealth111-pixel/Vibe-Skills

它会碰到什么

扫了多少2 个文本文件,17 KB
它会碰到什么读凭据读文件写文件
命中总数8 处
命中统计严重 0 · 高 5 · 中 3 · 低 0
逐条看命中(5 条严重或高危)
  • scripts/ralph-loop.ps1:15cred-envread
    $openBinary = if ($env:RALPH_OPEN_BINARY) { $env:RALPH_OPEN_BINARY } else { 'ralph' }
  • scripts/ralph-loop.ps1:15cred-envread
    $openBinary = if ($env:RALPH_OPEN_BINARY) { $env:RALPH_OPEN_BINARY } else { 'ralph' }
  • scripts/ralph-loop.ps1:70cred-envread
    '  --open-binary PATH     Override open engine binary (default: ralph or $env:RALPH_OPEN_BINARY)',
  • scripts/ralph-loop.ps1:434cred-envread
    $codeHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }
  • scripts/ralph-loop.ps1:434cred-envread
    $codeHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

ralph-loop

This is a Codex-oriented ralph-loop command with two execution engines.

Engine model

  • Keeps the same command name: ralph-loop.
  • Keeps the same default state file format: .claude/ralph-loop.local.md.
  • Default compat engine keeps local-state semantics and manual --next.
  • Optional open engine delegates to external open-ralph-wiggum CLI for auto-iteration.

Script

  • Script path: scripts/ralph-loop.ps1

Usage

$codexHome = if ($env:CODEX_HOME) { $env:CODEX_HOME } else { Join-Path $HOME '.codex' }
$script = Join-Path $codexHome 'skills/ralph-loop/scripts/ralph-loop.ps1'

# Start a local compat loop
powershell -ExecutionPolicy Bypass -File $script Build a todo API --max-iterations 20 --completion-promise DONE

# Move to the next iteration manually
powershell -ExecutionPolicy Bypass -File $script --next

# Show current loop state
powershell -ExecutionPolicy Bypass -File $script --status

# Force restart with a new prompt
powershell -ExecutionPolicy Bypass -File $script New prompt --max-iterations 10 --force

# Use open-ralph-wiggum backend (auto loop, defaults to --agent codex and --no-commit)
powershell -ExecutionPolicy Bypass -File $script --engine open Build a todo API --max-iterations 20 --completion-promise DONE

Vibe compatibility

  • Safe in /vibe routed sessions as a direct execution tool.
  • Does not force multi-agent orchestration.
  • Keeps command names stable for unified memory and invocation.
  • open engine remains mutually exclusive with active XL team orchestration.

Notes

  • Compat mode: if max_iterations is reached, the local state file is removed automatically.
  • Compat mode: completion promises are tracked in local state.
  • Open mode: --next, --force, --state-file, --stop are not available (managed by external ralph CLI semantics).

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

它属于哪个仓库

星标★ 3,314
本站分层T1
该仓技能数258
原文件路径bundled/skills/ralph-loop/SKILL.md

同一个仓库里的其他技能

看这个仓库的全部 258 个技能