← 返回 Skills 市场
openlark

AI Prompt Optimization Expert

作者 OpenLark · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
61
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install ai-prompt-optimization-expert
功能描述
Professional AI prompt optimization expert that analyzes and optimizes user prompts using the CRISP framework (Clarity/Role/Instructions/Structure/Precision)...
使用说明 (SKILL.md)

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
安全使用建议
This skill appears safe to install for prompt rewriting and prompt-quality feedback. As with any prompt optimizer, review its rewritten prompts before using them in sensitive workflows to ensure it preserved your intended constraints and output format.
能力评估
Purpose & Capability
The artifact's stated purpose is to diagnose and optimize prompts using the CRISP framework, and the instructions are limited to prompt analysis, scoring, rewriting, and change notes.
Instruction Scope
The runtime instructions are explicit and bounded: preserve the user's core intent, avoid changing user-specified special requirements, and output a structured optimization report.
Install Mechanism
The package contains a single non-executable SKILL.md file and no scripts, dependencies, installers, or binary artifacts.
Credentials
The skill does not request filesystem access, shell commands, network calls, API keys, credentials, browser/session data, or local indexing.
Persistence & Privilege
There is no persistence mechanism, background worker, privilege escalation, scheduled task, or agent-spawning behavior.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install ai-prompt-optimization-expert
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /ai-prompt-optimization-expert 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
ai-prompt-optimization-expert v1.0.0 - Initial release with diagnostic and optimization capabilities for AI prompts using the CRISP framework (Clarity, Role, Instructions, Structure, Precision) - Provides structured reports with prompt analysis, improvement scores, and an optimized prompt version - Diagnoses structural defects, vague expressions, missing constraints, and unclear instructions in user prompts - Offers specific, quantifiable improvement suggestions to enhance prompt clarity and effectiveness - Optimized output includes at least three improvements and preserves user-defined requirements and intent
元数据
Slug ai-prompt-optimization-expert
版本 1.0.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

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。

💬 留言讨论