← 返回 Skills 市场
bowen31337

RSI Loop v2 — AVO-Inspired Agent Self-Improvement

作者 bowen31337 · GitHub ↗ · v2.0.0 · MIT-0
cross-platform ⚠ suspicious
118
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install rsi-loop
功能描述
Recursive Self-Improvement (RSI) loop for EvoClaw agents. Provides a structured observe→analyze→synthesize→deploy pipeline that enables agents to detect thei...
安全使用建议
What to check before installing/using this skill: - Review deployer.py, synthesizer.py, and any 'apply_gene' logic. Confirm how the code enforces blast_radius and IMMUTABLE_CORE (is AGENTS.md / SOUL.md actually blocked at runtime?). - Expect the skill to write files under skills/rsi-loop/data/ and skills/rsi-loop/memory/ (append-only lineage & events). If you need to keep an audit trail, review those artifacts; if not, run in a disposable environment first. - The skill can execute scripts in other skill directories (e.g., skills/intelligent-router/*). Decide whether you want an automated process that can run those commands or change those files — if not, restrict filesystem permissions or run the skill in a sandbox/container. - The code refers to an EVOLVE_STRATEGY env var and other platform integrations (MQTT, model provider names) but declares none; if you plan to enable auto-deploy, make explicit policies and environment variables you trust. Consider setting auto-approve thresholds to 0 (no auto-approve) until you’ve audited behavior. - Because this skill can autonomously modify repo files and run cross-skill commands, treat it like a privileged operator: test in a safe sandbox, inspect tests and the deploy path, and require human-in-the-loop approval for any change touching production files. If you want, I can scan specific files (deployer.py, synthesizer.py, openclaw_shim.py) for the exact enforcement logic and list the places where it reads/writes files or invokes external commands.
功能分析
Type: OpenClaw Skill Name: rsi-loop Version: 2.0.0 The bundle implements a 'Recursive Self-Improvement' (RSI) framework that enables an agent to autonomously analyze its own logs, generate 'improvement' proposals, and deploy code or configuration changes. While the stated intent is agent evolution, the implementation in 'scripts/deployer.py' is highly risky, as it executes arbitrary shell commands (shell=True) defined in 'data/genes.json' and can modify the agent's workspace. The bundle includes security-conscious features like an 'IMMUTABLE_CORE' list to protect sensitive files (e.g., SOUL.md) and 'blast_radius' checks to limit the scope of changes, which suggests a complex tool rather than intentional malware. However, the autonomous self-modification and shell execution capabilities represent a significant RCE surface if the agent's synthesis logic is compromised or manipulated via prompt injection.
能力评估
Purpose & Capability
The name/description (an RSI loop for EvoClaw agents) matches the included code and instructions: observer→analyzer→synthesizer→deployer. The ability to scaffold skills, update SOUL.md/AGENTS.md, and run discovery on routing components is consistent with a self-improvement tool. However the skill includes actions that reach beyond its own directory (templates/implementation that run other skills' scripts and target files across the workspace), which is powerful but also wider than a small, focused helper. That breadth is plausible for an RSI tool but worth conscious acceptance.
Instruction Scope
SKILL.md instructs running multiple scripts that read/write data/JSONL in skills/rsi-loop/data and that call or instruct running other skills (e.g., skills/intelligent-router scripts, spawn_helper, tiered-memory scripts). The codebase includes a Lineage store that creates/writes memory/rsi-lineage.jsonl and methods that rewrite lineage files (update_outcome). Several 'implementation' templates explicitly tell the agent to run commands that will modify files across the repo. SKILL.md does not declare or warn about needing repository-level write access, nor does it enumerate external endpoints/credentials required by those downstream scripts. This gives the agent broad discretion to inspect and change files outside its own directory during auto-deploy cycles.
Install Mechanism
No install spec is present (instruction-only install), which reduces risk of arbitrary remote code downloads. However, the skill ships many Python scripts (21 code files) that will be executed locally; because there is no explicit install step, those files will simply run from the agent runtime when invoked. That is expected for an instruction+script skill, but users should treat the included code as executable payload that will run on the host.
Credentials
The registry metadata declares no required env vars or credentials, but internal policies and code reference environment-driven behavior (e.g., mutation-selection mentions EVOLVE_STRATEGY, cron examples reference models and MQTT integration) and implementation templates will likely rely on existing platform credentials (model provider keys, MQTT or ClawChain access). The skill requests no secrets up front yet contains functionality that may trigger use of other credentials present on the agent. Also, several data/proposals include absolute filesystem paths observed from prior runs — suggesting the code performs workspace scanning. This mismatch (no declared env/config needs vs. code that depends on broader environment/context) is a red flag for misplaced assumptions.
Persistence & Privilege
always:false (not force-included) and model invocation is allowed (normal). The skill persists append-only and derived files under skills/rsi-loop/memory and data; LineageStore makes directories and writes JSONL. The skill is allowed to auto-deploy proposals (CLI flags for auto-approve thresholds), which means it can autonomously make code/config changes within blast-radius rules. That autonomous modify capability combined with repository-level file access increases blast radius, but the skill includes an IMMUTABLE_CORE list intended to require human approval for certain files. Importantly, there's an inconsistency: IMMUTABLE_CORE lists AGENTS.md and SOUL.md (protected), while some Genes' allowed_paths (and proposals) explicitly target AGENTS.md for auto-application — this contradiction needs manual verification (either Genes would be blocked by the immutable policy or the policy is not enforced).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install rsi-loop
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /rsi-loop 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v2.0.0
v2: AVO-inspired upgrades — proposal lineage tracking (ProposalNode+LineageStore), critique gate before deploy (CritiqueAgent with ancestor success rate + redundancy check), knowledge base (failure/success/anti-patterns.md auto-populated from lineage). All additive, zero breaking changes. 100/100 tests pass.
元数据
Slug rsi-loop
版本 2.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

RSI Loop v2 — AVO-Inspired Agent Self-Improvement 是什么?

Recursive Self-Improvement (RSI) loop for EvoClaw agents. Provides a structured observe→analyze→synthesize→deploy pipeline that enables agents to detect thei... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 118 次。

如何安装 RSI Loop v2 — AVO-Inspired Agent Self-Improvement?

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

RSI Loop v2 — AVO-Inspired Agent Self-Improvement 是免费的吗?

是的,RSI Loop v2 — AVO-Inspired Agent Self-Improvement 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

RSI Loop v2 — AVO-Inspired Agent Self-Improvement 支持哪些平台?

RSI Loop v2 — AVO-Inspired Agent Self-Improvement 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 RSI Loop v2 — AVO-Inspired Agent Self-Improvement?

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

💬 留言讨论