← 返回 Skills 市场
283
总下载
0
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install prompt-optimizer-100
功能描述
基于需求分级,自动重构提示词,从角色、背景、任务、约束、示例五维度优化并智能路由执行,支持多 Agent 并行。
安全使用建议
This skill appears to do what it says (inject prompt-optimization rules and provide routing templates), but it will modify your OpenClaw workspace by appending rules to ~/.openclaw/workspace/memory/agent-notes.md and suggests restarting the gateway. Before installing: 1) Verify the package source (the repository/homepage in files point to placeholder URLs); prefer installing from a trusted registry entry. 2) Inspect rules/prompt-optimization.md yourself to ensure you agree with the injected behavior. 3) Note the installer makes a timestamped backup of your memory file, but keep your own backup if you rely on custom rules. 4) Confirm Feishu/OpenClaw config and plugin expectations (the skill checks streaming/card settings); no credentials are requested by the skill, but platform-level Feishu plugins may require tokens elsewhere. If you’re unsure about altering agent memory permanently, run the installation steps manually (review the file before appending) rather than using the automatic installer.
功能分析
Type: OpenClaw Skill
Name: prompt-optimizer-100
Version: 1.0.1
The skill bundle is a legitimate prompt optimization system designed to categorize and refine user inputs within the OpenClaw environment. The installation and verification scripts (scripts/install.sh, scripts/verify.sh) perform standard environment checks, backups, and configuration updates without any signs of malicious execution or data exfiltration. The core logic in rules/prompt-optimization.md provides structured instructions for the agent to improve prompt quality based on task complexity (L1-L4) and does not contain any harmful prompt injection or unauthorized access attempts.
能力评估
Purpose & Capability
Name/description (prompt optimization, agent routing) match the included rules, templates, and scripts. The skill injects prompt-optimization rules into OpenClaw memory and uses agent routing/feishu integration as described. Minor inconsistency: top-level registry metadata stated "No install spec — instruction-only", yet the package includes skill.json with an install section and install/verify scripts — this is explainable (packaged install helper present) but worth noting.
Instruction Scope
SKILL.md and scripts explicitly instruct writing/merging rules into ~/.openclaw/workspace/memory/agent-notes.md, backing up the original, and restarting the Gateway. The scripts also query OpenClaw config (channels.feishu.*) and list agents. There are no instructions to read unrelated user files, shell history, or to transmit data to external endpoints. The scope is appropriate for a rule-injection skill, but it does make persistent changes to agent behavior by editing your memory file.
Install Mechanism
No network download of arbitrary binaries is embedded in the package; install.sh and verify.sh are local scripts that call the platform (openclaw) and copy/append a rules file. Manual install suggests git clone from a GitHub URL (placeholder 'your-repo'). The install approach is low-to-moderate risk but depends on trusting the package source; the script does create backups before merging.
Credentials
The skill requests no environment variables or external credentials. skill.json lists dependencies on memory-core and feishu-plugin which align with the described Feishu streaming/cards integration; the scripts only read OpenClaw config keys and agent listings. No unrelated secrets or excessive credentials are requested.
Persistence & Privilege
The skill writes into the user's OpenClaw memory file and suggests restarting the gateway, which gives it a persistent effect on agent behavior. always is false (good). The package can therefore alter future agent responses until the user removes those rules — this is expected for a rules-injection skill but is a material privilege you should accept explicitly.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install prompt-optimizer-100 - 安装完成后,直接呼叫该 Skill 的名称或使用
/prompt-optimizer-100触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- 修正自动安装命令,slug 由 prompt-optimizer 更新为 prompt-optimizer-100。
- 安装指引中新增备注,明确 clawhub.ai 上 slug 与安装参数需一致。
- 其余功能、规则和文档内容保持不变。
v1.0.0
- Major update: Rebuilt for fully automated, professional-grade prompt optimization with new OpenClaw/Feishu multi-agent support.
- Added detailed Chinese documentation: covers installation, usage scenarios, demand tiering, agent routing, output templates, config requirements, and test/verification instructions.
- Replaced Node.js implementation and script-based approach with a rules-driven workflow (“PromptPilot 工程化 Prompt 优化体系”).
- Introduced "需求分级" (L1–L4) logic, role configuration, and merge mode for incremental rule updates.
- Added self-checklist and validation scripts for deployment reliability.
- Removed previous Node.js and references files; all logic now resides in markdown rule files and simpler test scripts.
元数据
常见问题
prompt-optimizer 是什么?
基于需求分级,自动重构提示词,从角色、背景、任务、约束、示例五维度优化并智能路由执行,支持多 Agent 并行。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 283 次。
如何安装 prompt-optimizer?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install prompt-optimizer-100」即可一键安装,无需额外配置。
prompt-optimizer 是免费的吗?
是的,prompt-optimizer 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
prompt-optimizer 支持哪些平台?
prompt-optimizer 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 prompt-optimizer?
由 liyu9(@liyu9)开发并维护,当前版本 v1.0.1。
推荐 Skills