← 返回 Skills 市场
ntaffffff

Prompt Optimizer by dxx

作者 ntaffffff · GitHub ↗ · v3.1.0 · MIT-0
cross-platform ✓ 安全检测通过
101
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install prompt-optimizer-dxx
功能描述
自动将模糊需求优化为AI可精准执行的指令,支持13种任务类型并提供缓存和配置功能。
安全使用建议
This skill appears to be a local prompt-optimizer implemented in Python and is internally consistent with its description. Before installing: (1) review the included Python files locally (prompt_optimizer.py and config_data.py) since running unknown Python code has typical risks; (2) note the SKILL.md suggests copying the folder into ~/.openclaw/workspace/skills/ — that will add files to your OpenClaw workspace, so keep a backup if you care about that directory; (3) the skill can optionally load a YAML config (PyYAML required) — only enable/use a config file you trust; (4) the README mentions config.yaml.example which isn't bundled — if you rely on an example config, create/inspect it yourself; (5) run the bundled tests (python test_prompt_optimizer.py) in an isolated environment (virtualenv) before using, and inspect behavior on sample prompts to confirm it meets your expectations.
功能分析
Type: OpenClaw Skill Name: prompt-optimizer-dxx Version: 3.1.0 The 'prompt-optimizer-dxx' skill is a legitimate utility designed to enhance user prompts by prepending role-based context and appending formatting requirements based on keyword matching. Analysis of 'prompt_optimizer.py' and 'config_data.py' reveals no evidence of data exfiltration, unauthorized network access, or malicious execution; the tool operates entirely locally on provided text inputs and uses a simple LRU cache for performance. The 'enhancements' defined in the configuration are consistent with the stated purpose of improving AI response quality and do not contain instructions to subvert the agent or access sensitive information.
能力评估
Purpose & Capability
Name/description (Prompt Optimizer) match the provided Python code and tests: pattern detection, enhancements, LRU cache, and CLI. Required env vars, binaries, and credentials are empty — appropriate for a local prompt-transformer tool.
Instruction Scope
SKILL.md instructs copying the skill into ~/.openclaw/workspace/skills/ and running the Python CLI/module. The runtime instructions and code operate on prompts, optional config files, and in-memory cache. The README mentions a config.yaml.example and a config file path, but that example file is not present in the manifest — this is a minor documentation/packaging inconsistency to be aware of. There are no instructions to read unrelated system files or to send data to external endpoints.
Install Mechanism
No install spec is provided (instruction-only install via copying). That is the lowest risk class; code will run locally when the user executes the Python scripts. The code only optionally imports PyYAML if a user-supplied config file exists; it does not download or execute code from remote URLs.
Credentials
The skill requests no environment variables or credentials. Optional dependency on PyYAML is only for loading user config files. There are no hidden env accesses in the visible code and SKILL.md does not request secrets.
Persistence & Privilege
always is false; the skill is user-invocable and not forced into every agent run. It does not ask to modify other skills or system-wide config. The recommended install copies files into the user's OpenClaw workspace (normal for skills).
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install prompt-optimizer-dxx
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /prompt-optimizer-dxx 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v3.1.0
Prompt Optimizer v3.1.0 introduces major refactoring and usability improvements. - Separated configuration into a new config_data.py file for easier maintenance - Added a unified version constant (__version__ = "3.1.0") - Refactored main program logic into modular functions and improved CLI structure - Added support for running as a module (python -m prompt_optimizer) - All 31 tests pass successfully
元数据
Slug prompt-optimizer-dxx
版本 3.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

Prompt Optimizer by dxx 是什么?

自动将模糊需求优化为AI可精准执行的指令,支持13种任务类型并提供缓存和配置功能。 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 101 次。

如何安装 Prompt Optimizer by dxx?

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

Prompt Optimizer by dxx 是免费的吗?

是的,Prompt Optimizer by dxx 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Prompt Optimizer by dxx 支持哪些平台?

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

谁开发了 Prompt Optimizer by dxx?

由 ntaffffff(@ntaffffff)开发并维护,当前版本 v3.1.0。

💬 留言讨论