← Back to Skills Marketplace
101
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install prompt-optimizer-dxx
Description
自动将模糊需求优化为AI可精准执行的指令,支持13种任务类型并提供缓存和配置功能。
Usage Guidance
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.
Capability Analysis
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.
Capability Assessment
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).
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install prompt-optimizer-dxx - After installation, invoke the skill by name or use
/prompt-optimizer-dxx - Provide required inputs per the skill's parameter spec and get structured output
Version History
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
Metadata
Frequently Asked Questions
What is Prompt Optimizer by dxx?
自动将模糊需求优化为AI可精准执行的指令,支持13种任务类型并提供缓存和配置功能。 It is an AI Agent Skill for Claude Code / OpenClaw, with 101 downloads so far.
How do I install Prompt Optimizer by dxx?
Run "/install prompt-optimizer-dxx" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Prompt Optimizer by dxx free?
Yes, Prompt Optimizer by dxx is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Prompt Optimizer by dxx support?
Prompt Optimizer by dxx is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Prompt Optimizer by dxx?
It is built and maintained by ntaffffff (@ntaffffff); the current version is v3.1.0.
More Skills