Token导航 LogoToken导航

Agent Skill · 开发

prompt-optimizer-en(提示优化器 en)

用于辅助提示词、系统指令、Agent 行为约束和工作流模板的整理。它适合让 Agent 规范任务边界、统一输出格式、拆分操作步骤或优化提示词可复用性。使用时需要保留真实业务约束,不要把示例当硬规则;涉及自动执行、外部工具或高风险操作时,应在提示词中明确确认步骤、权限边界和失败处理方式。

prompt-optimizer-en 是开发类 Agent Skill,可用宿主为 OpenClaw,通过ClawHub获取,权限为只读;许可证为 MIT-0,第三方扫描已通过,按安装量在开发类的 21,746 个 Skill 里排第 7,602。

总安装 3,672周安装 150GitHub Stars 公开资料未说明下载 1,188核验 2026-05-01

安装说明

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

安装方式

通过对话安装

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

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

命令行安装

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

ClawHubOpenClaw
openclaw skills install prompt-optimizer-en

这个 Skill 是做什么的

开发类 Skill 面向写代码、改代码和排查问题,一般会读写仓库文件,部分还会执行构建或测试命令。

两阶段迭代优化与自动提示工程的复合优化器。适用于复杂任务的 ACON 框架严格执行场景。结合 APE 技术实现提示质量的持续提升。需设定明确的优化目标与终止条件以控制迭代过程。安装方式:通过 clawhub 平台使用 openclaw skills install prompt-optimizer-en 命令部署。

上手步骤

4 步
  1. 1

    确认自己的宿主工具

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

  2. 2

    拿到安装命令

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

  3. 3

    安装后重启宿主

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

  4. 4

    按最小权限试用

    它标注为只读,先用只读任务试一次,确认行为符合预期再扩大使用范围。

常见问题

6 条

prompt-optimizer-en 怎么安装?

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

prompt-optimizer-en 支持哪些 AI 工具?

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

prompt-optimizer-en 需要什么权限?

权限级别是只读。该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

prompt-optimizer-en 是免费的吗?

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

prompt-optimizer-en 用的人多吗?

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

prompt-optimizer-en 安全吗?

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

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

值得选的地方

  • 专注 OpenClaw 一种宿主,触发方式和使用习惯不用来回切换。
  • 许可证明确为 MIT-0,商用和分发边界好判断。
  • 第三方扫描已通过,常见的高风险行为没有命中。
  • 标注为只读权限,试用阶段不容易误改本地文件。

先想清楚的地方

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

适不适合你

更适合

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

不太适合

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

开发类 Skill 对比

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

技能审查员 · OpenClaw

8,779,018986操作浏览器MIT-0通过
ontology

本体论 · OpenClaw

6,636,960576只读MIT-0通过
entra-app-registration

内部应用程序注册 · Codex、Claude

6,631,872764接触敏感数据未明确通过
entra-app-registration

内部应用程序注册 · Codex、Claude

3,757,680201接触敏感数据未明确通过
nano-banana-pro

纳米香蕉专业版 · OpenClaw

3,526,898364接触敏感数据MIT-0有提醒
prompt-optimizer-en

提示优化器 en · 本页

3,672—只读MIT-0通过

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

SKILL.md 原文

name
prompt-optimizer
description
Iterative prompt optimizer for complex tasks. Strictly implements ACON's two-stage iterative optimization + APE automatic prompt engineering. Only triggers when user explicitly requests it, actively collects feedback after optimization, supports multi-round iteration until satisfied.
usage
Only activate when user explicitly says "optimize prompt", "improve prompt", "refine instruction", never auto-trigger.
author
Based on arXiv:2510.00615 (ACON), arXiv:2211.01910 (APE)
license
MIT
tags

Atomic Optimization Methodology

🔬 Stage 1: Input Parsing & Critical Signal Extraction (ACON Paper §3.1)

Input: User's original prompt Operations:

  1. Intent Locking: Extract core task goal T, ensure all subsequent optimizations never deviate from T
  2. Critical Signal Extraction (ACON-defined mandatory signals):

- ✅ Role Definition R: Expert role specified by user - ✅ Task Goal T: What the core task is - ✅ Constraints C: Boundary rules, prohibitions - ✅ Output Format F: Output structure/format requested by user - ✅ Variable Placeholders V: All {{variable_name}} - ✅ Examples E: Few-shot examples provided by user - ✅ Tool Rules U: When and how to use tools - ✅ Success Criteria S: What constitutes a good output

  1. Baseline Measurement: Record original prompt token length L₀

🚀 Stage 2: APE Utility Enhancement (arXiv:2211.01910 Automatic Prompt Engineering)

Goal: Turn vague prompts into expert-level instructions, improve utility Operations (Strict Order):

  1. Candidate Generation: Based on original prompt, generate 5 candidate instructions in different styles

- Candidate 1: Structured instruction version - Candidate 2: Expert role version - Candidate 3: Constraint reinforcement version - Candidate 4: Format clarification version - Candidate 5: Logic optimization version

  1. Candidate Scoring (APE paper scoring mechanism):

- Clarity: Are instructions clear and unambiguous (0-10) - Completeness: Does it include all critical signals (0-10) - Effectiveness: Can it guide the model to produce high-quality output (0-10)

  1. Optimal Selection: Choose the candidate with highest total score, as utility-enhanced version P₁
  2. Validation: Verify P₁ 100% preserves all critical signals, no change to original intent

📦 Stage 3: ACON Compression Optimization (ACON Paper §3.3 Two-Stage Optimization)

Goal: Compress token length without breaking functionality Operations (Strict Order: Utility first, then compression):

  1. Redundancy Analysis: Analyze redundant content in P₁

- Duplicate instructions and requirements - Fluff, jargon, ineffective expressions - Verbose statements that can be simplified

  1. Selective Compression:

- Only remove redundancy, NEVER delete critical signals - Merge duplicate content - Rewrite with more concise language, keep semantics unchanged

  1. Functional Equivalence Validation:

- Ensure compressed P₂ is functionally identical to P₁ - Ensure all critical signals are fully preserved - Ensure no change to original task goal

  1. Length Control: Adjust compression degree based on λ parameter (performance-cost tradeoff)

- Default λ=0.5: Balanced mode - If user feedback "too long", automatically increase λ to 0.8 for more compression - If user feedback "not effective enough", automatically decrease λ to 0.2 to reduce compression


📤 Stage 4: Output & Feedback Collection

Operations:

  1. Output optimized prompt P₂, wrapped in code block for easy copying
  2. Actively ask for user feedback:
   Optimization complete. Does this version meet your needs?
   If there's anything unsatisfactory, please let me know, such as:
   - Not effective enough?
   - Still too long?
   - Some constraints/formats not preserved?
   - Other issues?
   I'll continue iterating based on your feedback.

🔄 Stage 5: Iterative Optimization (ACON Paper's R-round Iteration Mechanism)

When user provides feedback, execute the following:

  1. Feedback Parsing: Identify feedback type

- Type A: Not effective enough → Go back to Stage 2, re-run APE utility enhancement, add constraints - Type B: Too long → Go back to Stage 3, re-run ACON compression, increase λ - Type C: Some content not preserved → Check critical signals, restore missing parts - Type D: Other requirements → Adjust based on user's specific request

  1. Re-run Optimization: Adjust parameters based on feedback, run two-stage optimization again
  2. Validation: Ensure new version preserves core task goal, and solves the user's feedback issue
  3. Output new optimized version, ask for feedback again
  4. Repeat until user indicates satisfaction

Strict Rules (Guarantee Effectiveness)

  • ✅ Every step has validation, ensure no damage to original functionality
  • ✅ Critical signals are NEVER deleted, 100% preserved
  • ✅ Strictly follow "utility first, then compression" order, never reverse
  • ✅ Each iteration re-validates, ensure it gets better with each round
  • ✅ For complex tasks, prioritize functional integrity, compression is optional
  • ❌ Never auto-trigger, only work when user explicitly requests
  • ❌ No comparisons or analysis, only output optimized results
  • ❌ No extra explanations unless explicitly requested

平台分布

OpenClaw

71.47%
按下载量换算849

安全审计

VirusTotal

通过

ClawScan

通过

Static analysis

通过

权限和风险

只读

该 Skill 主要提供规则、说明或参考内容,本身偏只读;真正读写文件、联网或执行命令仍取决于宿主 Agent 的任务。

安装前确认

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

继续浏览同类 Skills