prompt-optimizer/SKILL.md
This skill should be used when users request help optimizing, improving, or refining their prompts or instructions for AI models. Use this skill when users provide vague, unclear, or poorly structured prompts and need assistance transforming them into clear, effective, and well-structured instructions that AI models can better understand and execute. This skill applies comprehensive prompt engineering best practices to enhance prompt quality, clarity, and effectiveness.
npx skillsauth add ckanner/agent-skills prompt-optimizerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
This skill transforms user-provided prompts into high-quality, clear, and effective instructions optimized for AI models. Apply proven prompt engineering principles to enhance clarity, specificity, structure, and effectiveness. The skill uses a systematic workflow to analyze, identify improvement opportunities, and restructure prompts based on industry best practices.
Activate this skill when users:
Follow this systematic process to optimize any prompt:
Examine the user's prompt and identify:
Clarity issues:
Specificity gaps:
Structure problems:
Format considerations:
Complexity assessment:
Determine the fundamental objective behind the user's request:
Clarify these points with the user if they are not evident from the original prompt.
Enhance the prompt using these core principles:
Make it clear and direct:
Provide context and motivation:
Add specificity:
Structure the request:
Include examples when helpful:
Allow for uncertainty:
Evaluate if any advanced techniques would enhance the prompt:
Chain of Thought:
Prefilling:
Prompt Chaining:
Structured Output:
Consult references/prompt-best-practices.md for detailed guidance on these techniques.
Deliver the optimization in this format:
Analysis Section:
Original prompt issues identified:
- [List key problems with the original prompt]
Optimized Prompt:
[Present the complete optimized prompt in a code block for easy copying]
Improvement Explanation:
Key improvements made:
- [Explain major enhancements]
- [Highlight added specificity]
- [Note structural changes]
- [Mention any advanced techniques applied]
Optional - Usage Tips:
[If applicable, provide brief tips on how to further customize or use the optimized prompt]
After presenting the optimized prompt:
Balance is key: Not every prompt needs all advanced techniques. Match the optimization level to the task complexity.
Preserve user intent: Enhance clarity without changing the fundamental goal or adding unwanted requirements.
Consider the model: Modern models like Claude 4.x have strong instruction-following capabilities; leverage this by being direct and specific.
Stay practical: Focus on improvements that materially impact output quality, not cosmetic changes.
Be educational: When appropriate, briefly explain why certain changes improve the prompt, helping users learn to write better prompts independently.
This skill includes comprehensive reference materials:
references/prompt-best-practices.md
Load this reference when:
references/examples.md
Load this reference when:
Ensure every optimized prompt includes:
Pattern 1: Vague Request → Specific Structured Task
Pattern 2: Implicit Context → Explicit Context
Pattern 3: Single Complex Prompt → Prompt Chain
Pattern 4: Generic Output → Formatted Output
Pattern 5: Assumed Constraints → Stated Constraints
Consult references/examples.md for detailed examples of each pattern.
testing
Translate JSON i18n files to multiple languages with AI-powered quality optimization. Use when user mentions translating JSON, i18n files, internationalization, locale files, or needs to convert language files to other languages.
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".
testing
Host security hardening and risk-tolerance configuration for OpenClaw deployments. Use when a user asks for security audits, firewall/SSH/update hardening, risk posture, exposure review, OpenClaw cron scheduling for periodic checks, or version status checks on a machine running OpenClaw (laptop, workstation, Pi, VPS).
testing
Create, edit, improve, or audit AgentSkills. Use when creating a new skill from scratch or when asked to improve, review, audit, tidy up, or clean up an existing skill or SKILL.md file. Also use when editing or restructuring a skill directory (moving files to references/ or scripts/, removing stale content, validating against the AgentSkills spec). Triggers on phrases like "create a skill", "author a skill", "tidy up a skill", "improve this skill", "review the skill", "clean up the skill", "audit the skill".