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.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/autogame-17/prompt-optimizerWhat This Skill Does
The Prompt Optimizer is a sophisticated OpenClaw agent skill designed to elevate the quality of your LLM interactions. It acts as a bridge between a rudimentary user idea and a high-performance prompt by leveraging a curated library of 58 research-backed prompting methodologies. By analyzing your intent, this skill can restructure, clarify, and apply specific cognitive frameworks—such as Chain of Thought (CoT), Few-Shot Learning, Deliberate Persona Assignment, and Tree of Thoughts—to ensure the model provides the most accurate and nuanced response possible. It essentially turns an average prompt into a precision-engineered instruction set.
Installation
To integrate the Prompt Optimizer into your environment, use the OpenClaw package manager:
clawhub install openclaw/skills/skills/autogame-17/prompt-optimizer
Use Cases
- Prompt Engineering: Refining vague requests into detailed, actionable instructions.
- Complex Reasoning: Applying CoT or logical decomposition to tasks requiring multiple steps.
- Tone & Persona Consistency: Enforcing specific role-play parameters to maintain a consistent output voice.
- Output Formatting: Structuring responses for programmatic use (e.g., JSON, YAML) through strategic prompting.
- Instructional Clarity: Improving ambiguity in creative writing or coding prompts.
Example Prompts
- "I have a vague prompt about writing a blog post. Please use the Prompt Optimizer to apply a 'Persona' technique and 'Step-by-Step' logic to make it professional."
- "Can you optimize my prompt 'Create a marketing email' by applying the most effective technique for high-conversion copywriting?"
- "Please analyze my code generation prompt and suggest a better version using Few-Shot Learning to improve the quality of the Python output."
Tips & Limitations
- Know Your Technique: While the tool can automate optimization, manually selecting a technique using
get <technique_name>often yields superior results for specialized tasks. - Context Limits: Large, complex prompts might exceed token limits if too many few-shot examples are injected; keep your input examples concise.
- Iterative Refinement: Optimization is an iterative process; if the first pass isn't perfect, use the tool to iterate again, perhaps by layering multiple techniques.
- Domain Specificity: The skill is highly effective for general reasoning, but niche scientific or proprietary technical domains may still require manual expert intervention.
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-autogame-17-prompt-optimizer": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: file-read
Related Skills
Feishu Broadcast
Skill by autogame-17
feishu-voice-assistant
Sends voice messages (audio) to Feishu chats using Duby TTS.
security-sentinel
Scan the workspace for security vulnerabilities, exposed secrets, and misconfigurations.
capability-evolver
A self-evolution engine for AI agents. Analyzes runtime history to identify improvements and applies protocol-constrained evolution.
feishu-doc
Fetch content from Feishu (Lark) Wiki, Docs, Sheets, and Bitable. Automatically resolves Wiki URLs to real entities and converts content to Markdown.