Token导航 LogoToken导航

Agent Skill · 效率

improvement-executor(改进执行者)

improvement-executor 用于补充效率相关能力,适合在 OpenClaw 中需要让 Agent 承接效率相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

improvement-executor 是效率类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为权限未标注;许可证为 MIT-0,第三方扫描已通过,按安装量在效率类的 21,003 个 Skill 里排第 12,686。

总安装 4,032周安装 168GitHub Stars 公开资料未说明下载 1,344核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
MIT-0
版本
1.1.1

安装方式

通过对话安装

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

请帮我安装这个 Agent Skill:improvement-executor(改进执行者)
来源仓库:https://github.com/lanyasheng/improvement-executor
安装命令:
openclaw skills install improvement-executor
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

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

ClawHubOpenClaw
openclaw skills install improvement-executor

这个 Skill 是做什么的

效率类 Skill 把重复的整理、汇总、转换工作交给助手完成,减少手工复制粘贴。

improvement-executor 应用已批准的代码改进候选,支持多种文件操作与自动备份。适用于 OpenClaw 中高效执行重构、修复与 YAML 配置更新任务。通过 clawhub 安装并使用 openclaw skills install improvement-executor 命令调用。

每次变更前自动生成备份,防止误操作导致不可逆损失。需配合 improvement-discriminator 进行评分,避免盲目修改。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 OpenClaw;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 openclaw skills install improvement-executor;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

improvement-executor 怎么安装?

在终端执行 openclaw skills install improvement-executor。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

improvement-executor 支持哪些 AI 工具?

公开资料标注支持 OpenClaw。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

improvement-executor 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

improvement-executor 是免费的吗?

来源标注的许可证是 MIT-0。本站不代收任何费用,也不托管安装包;能否商用、要不要署名,以许可证原文为准。

improvement-executor 用的人多吗?

公开数据是累计安装 4,032 次,近一周安装 168 次,下载 1,344 次。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

improvement-executor 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 OpenClaw,想直接扩展它能力的人。
  • 需要处理效率类任务、又不想每次都手写提示词的人。
  • 需要许可证清楚、并且有第三方扫描结果的团队项目。

不太适合

  • 需要厂商级技术支持和 SLA 的生产系统。

效率类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
github

GitHub 代码协作 · OpenClaw

7,632,918545需要联网MIT-0通过
nano-pdf

Nano PDF 文档 · OpenClaw

4,249,476231需要联网MIT-0通过
auto-updater

自动更新程序 · OpenClaw

2,964,063386操作浏览器MIT-0通过
video-frames

视频帧 · OpenClaw

2,621,304112需要联网MIT-0通过
gemini

Gemini 助手 · OpenClaw

2,547,39648需要联网MIT-0有提醒
improvement-executor

改进执行者 · 本页

4,032—权限未标注MIT-0通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

name
improvement-executor
description
当需要把已批准的改进候选应用到目标文件、回滚之前的变更、或预览变更效果时使用。支持 4 种 action(append/replace/insert_before/update_yaml),每次变更前自动备份。不用于打分(用 improvement-discriminator)或门禁验证(用 improvement-gate)。
license
MIT
triggers
version
0.1.0
author
OpenClaw Team

Improvement Executor

Applies accepted candidates with automatic backup and rollback.

When to Use

  • 把已批准的改进候选应用到目标文件(自动创建备份,支持一键回滚)
  • 回滚之前的变更(通过 receipt 中的 rollback_pointer 精确恢复)
  • 用 --dry-run 预览变更效果,确认无误后再真正执行
  • 在 orchestrator pipeline 第 4 阶段自动调用
  • 需要对 YAML frontmatter 做字段级合并更新时(update_yaml 模式)
  • 需要在指定 heading 前插入新内容时(insert_before 模式)
  • 批量执行 ranking 中多个候选的变更
  • 验证变更是否可逆——每次执行都会产出 receipt,receipt 包含完整的原始内容

When NOT to Use

  • 给候选打分 → use improvement-discriminator(executor 不做质量判断)
  • 门禁验证 → use improvement-gate(executor 只执行,gate 才验证结果)
  • 全流程编排 → use improvement-orchestrator(orchestrator 统一调度各阶段)
  • 评估 skill 结构 → use improvement-learner
  • 候选尚未通过 discriminator 评分时,不应直接调用 executor
  • 不要用 executor 做批量文件重命名或目录结构变更——它只处理单文件内容修改
  • 不要在没有 ranking.json 的情况下调用——输入必须是 discriminator 产出的标准格式
  • 不要手动编辑 receipt.json——receipt 包含哈希校验,手动修改会导致 rollback 失败

4 Action Types

ActionDescription
append_markdown_sectionAppend a new section to the end of the file
replace_markdown_sectionReplace an existing section by heading match (exact heading text)
insert_before_sectionInsert content before a matched heading
update_yaml_frontmatterMerge fields into YAML frontmatter (deep merge, preserves existing keys)

每种 action 的适用场景:

  • append — 新增全新 section(如添加 "## Caveats"),不影响已有内容
  • replace — 重写已有 section 的全部内容,按 heading 精确匹配(大小写敏感)
  • insert_before — 在指定 section 前插入内容,适合在 "## CLI" 前加 "## Design Notes"
  • update_yaml — 合并 frontmatter 字段,已有字段会被覆盖,新字段会被添加

Why Automatic Backup Matters

Tradeoff: disk space for safety — every apply creates a full copy of the original file.

之所以每次变更前都做自动备份,原因是:

  1. One bad apply can corrupt the entire skill — replace_markdown_section 如果匹配到错误的 heading,会覆盖关键内容。没有备份就无法恢复。
  2. Backup 是 rollback 的基础 — receipt 中的 rollback_pointer 指向备份文件的绝对路径和原始内容哈希。回滚时先校验哈希,确保备份未被篡改,再恢复。
  3. 备份成本极低 — SKILL.md 通常不超过 10KB,备份文件存储在 .state/backups/ 下,按时间戳命名,不会干扰版本控制。
  4. 审计需求 — 备份链构成了完整的变更历史,可以追溯任意时间点的文件状态。

问题: 为什么不用 git 替代备份?Because executor 可能在没有 git repo 的环境中运行(例如临时目录中的 skill 测试),且 git commit 粒度太粗——一次 orchestrator run 可能执行多个候选,每个都需要独立的回滚点。

<example> 正确: 先 dry-run 预览,确认无误再执行 $ python3 scripts/rollback.py --receipt receipt.json --dry-run → 查看回滚内容,确认后去掉 --dry-run 执行 </example>

<anti-example> 错误: 跳过 discriminator 直接执行 → executor 只应处理已通过评分的候选,未评分的直接执行可能破坏目标文件 </anti-example>

CLI

execute.py 是核心入口,接收 ranking artifact 和 candidate ID,输出 result.json。 rollback.py 负责回滚,接收 receipt.json 还原到变更前的状态。 两个命令都支持 --dry-run 预览变更而不实际修改文件。 execute.py 会在执行前自动创建备份,备份路径记录在 result.json 的 backup_path 字段中。 建议对高风险变更(replace/update_yaml)始终先跑 --dry-run 确认。 rollback.py 在恢复前会校验备份文件的 SHA256 哈希,防止备份被篡改。

# Apply a single candidate (requires ranking artifact + candidate ID)
python3 scripts/execute.py --input ranking.json --candidate-id CANDIDATE_ID --output result.json

# Rollback a previous change using its receipt
python3 scripts/rollback.py --receipt receipt.json

# Dry-run: preview what rollback would do without modifying files
python3 scripts/rollback.py --receipt receipt.json --dry-run

Each action type maps to a different candidate structure. Examples:

# append_markdown_section: add a new "## Caveats" section at the end
python3 scripts/execute.py --input ranking.json --candidate-id C001 --output result.json
# candidate C001's action = "append_markdown_section", content = "## Caveats\
..."

# replace_markdown_section: overwrite the "## When to Use" section
python3 scripts/execute.py --input ranking.json --candidate-id C002 --output result.json
# candidate C002's action = "replace_markdown_section", heading = "When to Use"

# insert_before_section: insert content before "## CLI"
python3 scripts/execute.py --input ranking.json --candidate-id C003 --output result.json
# candidate C003's action = "insert_before_section", before_heading = "CLI"

# update_yaml_frontmatter: merge {version: "0.2.0"} into frontmatter
python3 scripts/execute.py --input ranking.json --candidate-id C004 --output result.json
# candidate C004's action = "update_yaml_frontmatter", fields = {version: "0.2.0"}

Always preview with --dry-run before executing irreversible changes:

# Dry-run for execute (not just rollback)
python3 scripts/execute.py \
  --input ranking.json \
  --candidate-id CANDIDATE_ID \
  --dry-run \
  --output preview.json
# preview.json shows the diff without modifying the target file

Output Artifacts

RequestDeliverable
ExecuteJSON with rollback_pointer (original content hash, backup absolute path, timestamp)
RollbackRestored file + confirmation JSON with restore status and hash verification result
Dry-run (execute)JSON diff preview: before/after content, action type, target heading
Dry-run (rollback)JSON showing what would be restored without modifying files

result.json 的核心字段:

  • status: success / failure / dry_run
  • action: 执行的 action 类型(append/replace/insert_before/update_yaml)
  • target_file: 被修改的文件绝对路径
  • backup_path: 备份文件路径(用于 rollback)
  • content_hash_before / content_hash_after: 变更前后的 SHA256 哈希
  • rollback_pointer: 包含恢复所需的全部信息,传给 rollback.py 即可一键恢复

Related Skills

  • improvement-discriminator: Scores candidates before execution — executor 的输入是 discriminator 排序后的 ranking
  • improvement-gate: Validates results after execution — gate 验证 executor 产出的 result.json
  • improvement-orchestrator: Calls executor as stage 4 — 全流程中 executor 在 evaluator 之后、gate 之前
  • improvement-generator: Produces the candidates — generator 的输出经 discriminator 评分后成为 executor 的输入
  • improvement-evaluator: Task-based evaluation — evaluator 在 executor 之前验证候选的可行性
  • improvement-learner: 6-dim structural scoring — executor 应用变更后,learner 可重新评分验证质量提升
  • benchmark-store: Pareto front data — executor 变更后 gate 会用 benchmark 数据做回归检测

Pipeline 中的数据流: generator → discriminator → evaluator → executor → gate

平台分布

OpenClaw

90.29%
按下载量换算1,213

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。目前只有一个公开来源,建议同时核对源仓库。

继续浏览同类 Skills