← 返回 Skills 市场
nerua1

Ralph Wiggum Loop

作者 nerua1 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
82
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ralph-wiggum-loop
功能描述
Iteracyjnie doskonali kod lub tekst AI, wykrywając i naprawiając błędy, optymalizacje, bezpieczeństwo i styl w maksymalnie trzech krokach.
安全使用建议
This skill appears to implement the advertised iterative improvement loop, but review and test before using on sensitive code. Specific recommendations: - Ensure LM Studio runs locally and do NOT set LMSTUDIO_URL to a remote host unless you intend to send your code there (the scripts will transmit the full code to whatever LMSTUDIO_URL is used). - Install required tools first: Python 3.9+, the 'requests' package (pip install requests), curl, and jq (the shell scripts use jq but SKILL.md didn't mention it). - Be aware of a small implementation mismatch: ralph-loop.sh passes flags (-u, -s) that generator.py's CLI doesn't define; run the Python modules directly or inspect/fix the shell script before relying on it. - Review the scripts' behavior (especially fix_code which posts code and issues to the LM endpoint) on non-sensitive examples to confirm behavior and outputs. - If you plan to run this in a production environment, run it in an isolated environment and audit network traffic to confirm LM Studio is local.
功能分析
Type: OpenClaw Skill Name: ralph-wiggum-loop Version: 1.0.0 The skill bundle implements a legitimate iterative code improvement loop (Generator-Critic-Fixer-Verifier) designed to work with a local LM Studio instance. The scripts (ralph-loop.sh, critic.py, and generator.py) perform standard API interactions and include basic security linting to detect SQL injection and hardcoded secrets in the generated code. No evidence of data exfiltration, malicious execution, or harmful prompt injection was found; the preference for 'uncensored' models is contextually aligned with providing a 'ruthless' code critic.
能力评估
Purpose & Capability
Name/description (iterative code/text improvement) matches the included components (generator.py, critic.py, ralph-loop.sh) and the declared runtime behavior (send code to LLM, get issues, fix, verify). No unrelated credentials or services are requested.
Instruction Scope
Runtime instructions and scripts read user-supplied code/files and send them to an LLM endpoint (LM Studio). That is expected for this skill. However: (1) the SKILL.md and scripts assume LM Studio runs at http://127.0.0.1:1234 but the code honors LMSTUDIO_URL/--api-url overrides — if LMSTUDIO_URL is pointed to a remote host, user code will be transmitted off-host; (2) the scripts call external tools (curl, jq) and Python packages (requests) but the SKILL.md omits jq and the Python dependency; (3) there are CLI argument mismatches between ralph-loop.sh and generator.py (the shell passes -u/-s which generator.py's argparse does not define), which is an implementation inconsistency that can cause failures.
Install Mechanism
No install spec is provided (instruction-only deployment). Included files are local scripts and Python modules; there are no downloads from arbitrary URLs or archive extraction. Risk from install mechanism is low, but running the code writes nothing special to disk beyond user-specified outputs.
Credentials
The skill requests no secrets and declares no required env vars. In practice the code uses LMSTUDIO_URL, optional model env vars (LMSTUDIO_MODEL*, RALPH_MODEL) and RALPH_MAX_ITER — these are proportional to the purpose. Important caveat: LMSTUDIO_URL can be set to any URL, which would redirect all code and diagnostics to that endpoint; that is expected behavior but a potential data-exfiltration vector if misconfigured.
Persistence & Privilege
always:false and no special persistence. The skill does not modify other skills or system-wide agent config and does not request elevated privileges. Autonomous invocation is allowed (platform default) but not excessive here.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ralph-wiggum-loop
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ralph-wiggum-loop 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the Ralph Wiggum - AI Loop Technique skill. - Enables automated, iterative code or text improvement using an LLM via a Generator > Critic > Fixer > Verifier loop. - Provides a bash script (`ralph-loop.sh`) with options for file, inline code, custom prompts, iteration limit, output format, and model selection. - Includes a modular architecture and Python API for direct integration. - Comprehensive documentation with usage examples, troubleshooting, and detailed prompt engineering.
元数据
Slug ralph-wiggum-loop
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Ralph Wiggum Loop 是什么?

Iteracyjnie doskonali kod lub tekst AI, wykrywając i naprawiając błędy, optymalizacje, bezpieczeństwo i styl w maksymalnie trzech krokach. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 82 次。

如何安装 Ralph Wiggum Loop?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install ralph-wiggum-loop」即可一键安装,无需额外配置。

Ralph Wiggum Loop 是免费的吗?

是的,Ralph Wiggum Loop 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Ralph Wiggum Loop 支持哪些平台?

Ralph Wiggum Loop 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Ralph Wiggum Loop?

由 nerua1(@nerua1)开发并维护,当前版本 v1.0.0。

💬 留言讨论