openclaw 网盘下载
OpenClaw

技能详情(站内镜像,无评论)

首页 > 技能库 > Prompt Optimizer

Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt nee...

开发与 DevOps

许可证:MIT-0

MIT-0 ·免费使用、修改和重新分发。无需归因。

版本:v1.0.0

统计:⭐ 1 · 1.2k · 29 current installs · 29 all-time installs

1

安装量(当前) 29

🛡 VirusTotal :可疑 · OpenClaw :良性

Package:autogame-17/prompt-optimizer

安全扫描(ClawHub)

  • VirusTotal :可疑
  • OpenClaw :良性

OpenClaw 评估

The skill is internally coherent and implements a local Node.js prompt-optimization tool using the included technique catalog; no credentials or network access are requested, though there are small packaging/metadata and implementation robustness issues you should review before installing.

目的

The skill's name, description, and files align: it provides 58 prompting techniques and code to list/get/apply them. Minor inconsistencies: SKILL.md and usage expect running with node, but the registry metadata lists no required binary; _meta.json ownerId differs from the registry Owner ID in the provided metadata (packaging mismatch). These are not direct security issues but are unexpected and worth verifying.

说明范围

Runtime instructions and code operate on local files included in the package (references/*.md) and print optimized prompts to stdout. There are no instructions to read unrelated system paths, access external endpoints, or exfiltrate data. The only child_process usage is in scripts/test.js for local tests.

安装机制

No install spec is provided (instruction-only style), and all files are included in the package. Nothing downloads external code or extracts archives. This is low-risk from an install perspective.

证书

The skill requests no environment variables, credentials, or config paths — consistent with its local text-processing purpose.

持久

always:false and no special persistence or system-wide configuration changes are requested. The skill does not attempt to modify other skills or agent-wide settings.

综合结论

What to check before installing/using: - Verify Node.js availability: SKILL.md and the code expect node to run index.js, but the package metadata does not declare Node as a required binary. Ensure your environment provides Node or the skill will fail. - Confirm publisher/trust: _meta.json.ownerId differs from the registry owner ID shown in the submission metadata — this could be a benign packaging oversight, but verify you trust the author bef…

安装(复制给龙虾 AI)

将下方整段复制到龙虾中文库对话中,由龙虾按 SKILL.md 完成安装。

请把本段交给龙虾中文库(龙虾 AI)执行:为本机安装 OpenClaw 技能「Prompt Optimizer」。简介:Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. U…。
请 fetch 以下地址读取 SKILL.md 并按文档完成安装:https://raw.githubusercontent.com/openclaw/skills/refs/heads/main/skills/autogame-17/prompt-optimizer/SKILL.md
(来源:yingzhi8.cn 技能库)

SKILL.md

打开原始 SKILL.md(GitHub raw)

---
name: prompt-optimizer
description: Evaluate, optimize, and enhance prompts using 58 proven prompting techniques. Use when user asks to improve, optimize, or analyze a prompt; when a prompt needs better clarity, specificity, or structure; or when generating prompt variations for different use cases. Covers quality assessment, targeted improvements, and automatic optimization across techniques like CoT, few-shot learning, role-play, and 50+ more.
---

# Prompt Optimizer

A Node.js implementation of 58 proven prompting techniques cataloged in `references/prompt-techniques.md`.

## Usage

### 1. List Available Techniques
See all 58 techniques with their IDs and descriptions.
```bash
node skills/prompt-optimizer/index.js list
```

### 2. Get Technique Details
View the template and purpose of a specific technique.
```bash
node skills/prompt-optimizer/index.js get <technique_name>
```
Example: `node skills/prompt-optimizer/index.js get "Chain of Thought"`

### 3. Optimize a Prompt
Apply a specific technique's template to your prompt.
```bash
node skills/prompt-optimizer/index.js optimize "<your_prompt>" --technique "<technique_name>"
```
Example:
```bash
node skills/prompt-optimizer/index.js optimize "Write a python script to reverse a string" --technique "Chain of Thought"
```

## References
- `references/prompt-techniques.md`: Full catalog of techniques.
- `references/quality-framework.md`: Framework for evaluating prompt quality manually.