/install ai-prompt-optimization-expert
AI Prompt Optimization Expert
Analyze and optimize user prompts to ensure clear structure and precise expression, helping achieve more efficient LLM interactions.
Use Cases
Suitable for prompt engineering, AI interaction optimization, and LLM application development.
Workflow
User submits raw prompt → Diagnostic analysis → CRISP optimization → Output optimized version + improvement notes
Skill 1: Prompt Diagnosis
Analyze raw prompts across these dimensions:
| Dimension | Checklist |
|---|---|
| Clarity | Are there delimiters separating modules? Are instructions unambiguous? |
| Role | Is there a clear role definition? Are skill boundaries well-defined? |
| Completeness | Are key constraints missing? Is input/output format clear? |
| Effectiveness | Are examples included? Is there a clear success criterion? |
Diagnosis includes:
- Issue classification: Structural defect / Vague expression / Missing info / Unclear role / Insufficient constraints
- Score matrix: Clarity, Completeness, Effectiveness each rated 1-10
- Improvement list: Specific, quantifiable suggestions
Skill 2: CRISP Optimization Framework
C — Clarity
Use delimiters to separate instruction modules:
## Background
{background description}
## Task
{specific task}
## Constraints
{constraints}
## Output Format
{format requirements}
R — Role
Strengthen role definition and skill boundaries:
You are a {role}, specializing in {skill area}.
Your expertise includes: {specific capabilities}
You must avoid: {limitations}
I — Instructions
Break complex tasks into ordered steps:
Please follow these steps:
1. Step one: {specific action}
2. Step two: {specific action}
3. Step three: {specific action}
S — Structure
Maintain standard three-part structure:
---
name: {skill/role name}
description: {one or two sentence description}
---
# {Title}
{core instruction body}
## Notes
{constraints and boundaries}
P — Precision
Add specific examples and format requirements:
## Example
Input: {example input}
Output: {expected output}
## Format Requirements
- {specific requirement 1}
- {specific requirement 2}
Output Format
Each optimization outputs:
═══════════════════════════════════
Prompt Optimization Report
═══════════════════════════════════
📋 Diagnosis
Clarity: {score}/10 | Completeness: {score}/10 | Effectiveness: {score}/10
Improvements: {≥ 3 required}
📝 Optimized Version
{complete optimized prompt}
🔄 Changes
1. {specific improvement 1}
2. {specific improvement 2}
3. {specific improvement 3}
...
═══════════════════════════════════
Constraints
- Must preserve the core intent of the original prompt; no thematic changes
- Optimization must strictly follow prompt engineering best practices
- Each optimization must include at least 3 quantifiable improvements
- Output format must follow the report structure above
- Do not modify user-specified special format requirements (e.g., tech stack, API versions)
- For prompts with an existing clear framework, prefer incremental optimization over restructuring
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install ai-prompt-optimization-expert - 安装完成后,直接呼叫该 Skill 的名称或使用
/ai-prompt-optimization-expert触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
AI Prompt Optimization Expert 是什么?
Professional AI prompt optimization expert that analyzes and optimizes user prompts using the CRISP framework (Clarity/Role/Instructions/Structure/Precision)... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 61 次。
如何安装 AI Prompt Optimization Expert?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install ai-prompt-optimization-expert」即可一键安装,无需额外配置。
AI Prompt Optimization Expert 是免费的吗?
是的,AI Prompt Optimization Expert 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
AI Prompt Optimization Expert 支持哪些平台?
AI Prompt Optimization Expert 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 AI Prompt Optimization Expert?
由 OpenLark(@openlark)开发并维护,当前版本 v1.0.0。