ralph-loop
Codex-compatible Ralph loop runner with dual engines (compat local state loop + optional open-ralph-wiggum backend).
它会碰到什么
扫了多少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
compatengine keeps local-state semantics and manual--next. - Optional
openengine delegates to externalopen-ralph-wiggumCLI 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
/viberouted sessions as a direct execution tool. - Does not force multi-agent orchestration.
- Keeps command names stable for unified memory and invocation.
openengine remains mutually exclusive with active XL team orchestration.
Notes
- Compat mode: if
max_iterationsis reached, the local state file is removed automatically. - Compat mode: completion promises are tracked in local state.
- Open mode:
--next,--force,--state-file,--stopare not available (managed by externalralphCLI semantics).
想直接用这个技能?
本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。