搜索

PythonReactSEOPDF
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 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.

autogame-170 来源安装数☆ 0 仓库 Stars

安装与使用

请根据来源仓库和你的 AI 工具说明安装此技能。先阅读技能文件和依赖要求,再添加到工作流。

SkillHub CLI

skillhub install autogame-17/prompt-optimizer

打开来源仓库,查看说明和兼容环境后,按来源提供的命令或步骤安装。

将来源链接提供给你的 Agent,让它先读取说明、核对依赖,并向你说明将执行的安装步骤。

查看来源 ↗使用指南

技能说明

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.

node skills/prompt-optimizer/index.js list
2. Get Technique Details

View the template and purpose of a specific technique.

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.

node skills/prompt-optimizer/index.js optimize "<your_prompt>" --technique "<technique_name>"

Example:

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.

来源信息

Source
github
Repository
openclaw/skills
Path
skills/autogame-17/prompt-optimizer
Version
—
Commit
3ff57a4f151b3e20b03b7dd34d905bcdb54bb110
分类来源
rules
状态
active
可见性
public

这些信息来自收录时的来源分析,可能滞后;使用前请核对最新来源文件。

来源内容

SKILL.md
# 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.

相关技能

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.