← Back to Skills Marketplace
ntaffffff

Prompt Optimizer

by ntaffffff · GitHub ↗ · v3.2.0 · MIT-0
cross-platform ✓ Security Clean
83
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install prompt-optimizer-v3
Description
自动将模糊需求优化成结构化、精确可执行的AI指令,支持多任务类型和多格式输出。
Usage Guidance
This package appears coherent and implements a local CLI/library for optimizing prompts. Before installing: 1) inspect the remainder of prompt_optimizer.py (truncated in the package summary) to confirm there are no network calls, subprocess.exec/eval, or hidden endpoints; 2) be aware the install step copies Python files into your OpenClaw workspace (they will run locally); 3) if you enable the llm section in config.yaml (llm.enabled: true) you may need to provide provider credentials (e.g., OpenAI API key) — only enable that if you trust the code and author; 4) the metadata file contains a GitHub homepage URL while the registry summary showed no homepage — if provenance matters, review that repo or contact the author. Overall the skill looks consistent with its stated purpose.
Capability Assessment
Purpose & Capability
Name/description (prompt optimizer) align with the provided code and SKILL.md. The files implement pattern matching, formatting detection, caching, and CLI behavior that match the stated functionality. No unrelated cloud credentials, binaries, or config paths are requested.
Instruction Scope
SKILL.md instructs local installation (copy into skills directory) and running the included Python CLI. The instructions and code operate on user-supplied prompts, optional config files, and an internal cache; they do not instruct the agent to read unrelated system files, environment variables, or send data to external endpoints in the visible code.
Install Mechanism
There is no formal install spec (instruction-only install via copying files). That keeps risk low, but the skill includes multiple Python files which will be written into the user's workspace when installed. No network downloads or archive extraction are used by the skill itself.
Credentials
The skill declares no required env vars or credentials. The code optionally supports loading a YAML config that can enable an LLM provider (llm.enabled), but default config has llm.enabled=false. If a user enables LLM usage, they would need to supply provider credentials externally — this is configurable and not required by default.
Persistence & Privilege
Skill does not request 'always: true' and is user‑invocable only. It does write cache state into its own in-memory LRU cache; there is no evidence it modifies other skills or global agent settings.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install prompt-optimizer-v3
  3. After installation, invoke the skill by name or use /prompt-optimizer-v3
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v3.2.0
**prompt-optimizer-v3 3.2.0 Changelog** - 新增 7 种任务类型支持,包括写测试用例、代码调试、性能优化、安全检查、API设计、数据结构设计等 - 支持多种输出格式(Markdown、JSON、YAML、XML、表格、PlantUML 等) - 优化目标受众识别,自动适应技术人员、产品经理、管理者等 7 类用户需求 - 新增风格识别、字数/条数等约束条件支持 - 所有 57 个测试用例全部通过
Metadata
Slug prompt-optimizer-v3
Version 3.2.0
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 1
Frequently Asked Questions

What is Prompt Optimizer?

自动将模糊需求优化成结构化、精确可执行的AI指令,支持多任务类型和多格式输出。 It is an AI Agent Skill for Claude Code / OpenClaw, with 83 downloads so far.

How do I install Prompt Optimizer?

Run "/install prompt-optimizer-v3" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Prompt Optimizer free?

Yes, Prompt Optimizer is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Prompt Optimizer support?

Prompt Optimizer is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Prompt Optimizer?

It is built and maintained by ntaffffff (@ntaffffff); the current version is v3.2.0.

💬 Comments