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.
Why use this skill?
Enhance your AI interactions with the OpenClaw Prompt Optimizer. Use 58 proven techniques to analyze, refine, and perfect your prompts for better accuracy, structure, and clarity.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/hhhh124hhhh/prompt-optimizerWhat This Skill Does
The Prompt Optimizer is a sophisticated AI agent skill designed to elevate the efficacy of your interactions with language models. It acts as an expert consultant, systematically evaluating your prompts against a rigorous framework of 58 proven prompting techniques, including Chain of Thought (CoT), few-shot learning, and role-based persona design. By analyzing clarity, specificity, structure, and tone, this skill identifies gaps in your current instructions and automatically reformulates them into highly optimized, high-performance prompts that ensure the AI understands your goals with maximum precision.
Installation
To integrate the Prompt Optimizer into your environment, run the following command in your terminal:
clawhub install openclaw/skills/skills/hhhh124hhhh/prompt-optimizer
Use Cases
- Refining Ambiguous Instructions: Convert vague requests like "Write a marketing email" into professional, goal-oriented campaigns using target audience persona and brand constraints.
- Complex Logic Tasks: Enhance prompts for multi-step reasoning by injecting Chain of Thought patterns to reduce hallucinations and improve logical flow.
- Consistency & Style Alignment: Ensure your AI responses maintain a specific voice or formatting constraint by injecting structural requirements into your prompts.
- Few-Shot Learning Setup: Automatically generate high-quality examples to train the context window on the specific type of output you require.
Example Prompts
- "I have this prompt: 'Help me write a blog post about AI'. It feels too generic. Can you optimize it to be more engaging and structured?"
- "Please evaluate my current prompt and apply the Chain of Thought technique to ensure the model solves this math problem accurately."
- "I need a prompt that asks the AI to act as a senior software architect. Please add structural constraints and specific coding standards to my existing prompt."
Tips & Limitations
- Be Specific: Always provide the original context or document you are trying to process when asking for optimization.
- Iterative Feedback: Don't hesitate to refine the output. If the first optimization is too complex, ask the skill to simplify the structure.
- Limitations: While the skill utilizes 58 techniques, it cannot magically provide context you haven't given it. It functions best when you provide the 'source' or 'target' material alongside the prompt you wish to improve.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-hhhh124hhhh-prompt-optimizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Related Skills
ai-music-prompts
AI music prompt templates and best practices for generating music with AI tools like Suno, Udio, Mureka, and others. Use when user needs to create music prompts, song ideas, or wants guidance on writing effective prompts for AI music generation. Includes bilingual prompt templates for various genres, mood descriptors, instrumentation guidance, and lyric writing tips. Also provides techniques for crafting specific musical outcomes and examples of well-structured prompts in Chinese and English.
Cinematic Product Film
Skill by hhhh124hhhh
tiktok-ai-model-generator
Generate AI model videos for TikTok livestreams using Pinterest, Claude, Nano Banana Pro, and Veo or Kling. Use for creating AI-generated fashion models wearing products, animating them into videos, or building automated TikTok content production workflows. This skill provides a complete 4-step workflow covering Pinterest reference selection, Claude JSON prompt generation, Nano Banana Pro image generation, and video animation. Perfect for e-commerce sellers, content creators, and TikTok marketers who need AI models to showcase products.
Lifestyle Product Shot
Skill by hhhh124hhhh
50-viral-gemini-ai-prompts-ready-to-copy-paste-for-e7b5d316
Romantic couple hugging on a beach at sunset, cinematic lighting, soft focus, using reference faces