← Back to Skills Marketplace
xiaoxty

AI Prompt Optimizer

by xiaoxty · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ Security Clean
507
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install ai-prompt-optimizer
Description
AI 提示词优化专家,帮助用户将创意想法转化为高质量的 Seedance 2.0(视频)、Seedream 4.0(图像)、可灵 O1(视频)提示词,输出中英双语版本。
README (SKILL.md)

AI 提示词优化助手

你是一位专业的 AI 提示词工程专家,帮助用户将模糊、简短的创作想法转化为高质量、结构化的提示词。

支持的工具

工具 类型 参考文件
Seedance 2.0 视频生成 seedance-guide.md
Seedream 4.0 图像生成 seedream-guide.md
可灵 O1 视频生成 kling-guide.md

工具自动检测

如果用户未指定 tool 参数,根据消息内容中的关键词自动识别:

  • Seedance: 匹配 seedance、seed dance
  • Seedream: 匹配 seedream、seed dream
  • 可灵: 匹配 可灵、kling、keling

如果无法检测到工具,询问用户要使用哪个工具。

工作流程

  1. 理解意图: 分析用户真正想创作什么,理解其核心视觉/叙事目标
  2. 补充缺失元素: 用户往往只描述主体,你需要补充光照、镜头、氛围、风格等关键元素
  3. 严格遵循格式: 按照对应工具的知识库中的公式结构输出提示词
  4. 教学透明: 解释为什么这样优化,帮助用户学会提示词编写

输出格式(严格遵循)

🎯 优化后的提示词

[中文版本的优化提示词,可直接复制使用]

🌐 Optimized Prompt (English)

[英文版本的优化提示词,可直接复制使用]

⚙️ 参数建议

[针对目标工具的具体参数设置建议,如分辨率、时长、风格预设等]

💡 优化说明

[简要解释你做了哪些优化以及为什么,帮助用户学习]

行为规则

  1. 语言: 使用中文回复,但提示词同时提供中英文版本(因为很多 AI 工具英文效果更好)
  2. 迭代优化: 如果用户要求修改(如"改成夜景"、"更电影感"),基于之前的提示词进行调整,而不是重新生成
  3. 具体化: 永远用具体描述替代模糊词汇。"美丽的" → 具体描述什么样的美(光线、色彩、构图等)
  4. 不过度: 保持提示词在工具推荐的长度范围内,不要堆砌不必要的描述
  5. 格式整洁: 使用 Markdown 格式化输出,确保易读
Usage Guidance
This skill appears internally consistent and safe to install: it only contains written guidance and prompt templates and asks for no credentials or installs. A few practical cautions: (1) the agent will generate prompt text—avoid including any secrets or private data in prompts you ask it to optimize, since those could be forwarded to model backends you use; (2) if you plan to let the agent call external model APIs that require keys, provide those keys only to the platform's standard credential mechanism (this skill itself does not request them); (3) review any outputs before copying them directly into third‑party services to ensure they meet copyright/usage policies. If you want higher assurance, request the author/source or a homepage for provenance before wide deployment.
Capability Analysis
Type: OpenClaw Skill Name: ai-prompt-optimizer Version: 0.1.0 The skill bundle is a legitimate AI prompt engineering assistant designed to optimize user inputs for image and video generation tools (Seedance, Seedream, and Kling). The analysis of SKILL.md and the associated guide files (kling-guide.md, seedance-guide.md, seedream-guide.md) reveals no malicious code, data exfiltration attempts, or harmful prompt injection instructions; it functions entirely as a structured knowledge base for the agent.
Capability Assessment
✓ Purpose & Capability
The skill's name and description (prompt optimization for Seedance/Seedream/Kling) match the provided SKILL.md and the included guide files. It does not request unrelated binaries, credentials, or system access.
✓ Instruction Scope
Runtime instructions are limited to analyzing user creative intent, augmenting prompt details (lighting, camera, style), following tool-specific formulae from the included guides, and returning structured bilingual output. The instructions do not reference reading arbitrary system files, external endpoints, or other credentials.
✓ Install Mechanism
No install spec and no code files—this is instruction-only, so nothing will be downloaded or written to disk during install.
✓ Credentials
The skill declares no required environment variables, credentials, or config paths. No secrets or unrelated service tokens are requested.
✓ Persistence & Privilege
The skill is not marked always:true and uses normal agent invocation defaults. It does not request persistent system-wide privileges or modify other skills.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ai-prompt-optimizer
  3. After installation, invoke the skill by name or use /ai-prompt-optimizer
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v0.1.0
Initial release of AI Prompt Optimizer. - Transforms user’s creative ideas into high-quality, structured prompts for Seedance 2.0 (video), Seedream 4.0 (image), and 可灵 O1 (video). - Auto-detects target tool from user message or prompts for clarification if unclear. - Outputs optimized prompts in both Chinese and English, including specific parameter recommendations and optimization explanations. - Explains optimization choices to help users learn prompt writing techniques. - Follows concise, clean Markdown output with strict formatting for ease of use.
Metadata
Slug ai-prompt-optimizer
Version 0.1.0
License MIT-0
All-time Installs 2
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is AI Prompt Optimizer?

AI 提示词优化专家,帮助用户将创意想法转化为高质量的 Seedance 2.0(视频)、Seedream 4.0(图像)、可灵 O1(视频)提示词,输出中英双语版本。 It is an AI Agent Skill for Claude Code / OpenClaw, with 507 downloads so far.

How do I install AI Prompt Optimizer?

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

Is AI Prompt Optimizer free?

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

Which platforms does AI Prompt Optimizer support?

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

Who created AI Prompt Optimizer?

It is built and maintained by xiaoxty (@xiaoxty); the current version is v0.1.0.

💬 Comments