prompt-enhancer
Automatically rewrites rough user inputs into optimized, structured prompts for dramatically better AI responses. Prefix any message with "p:" to activate.
Why use this skill?
Instantly boost your AI response quality. The OpenClaw Prompt Enhancer automatically rewrites your rough requests into expert-grade prompts for superior results.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/gyaan-dub/prompt-enhancerWhat This Skill Does
The Prompt Enhancer is a powerful meta-skill for OpenClaw that functions as an intelligent intermediary between your rough intent and high-quality AI output. By leveraging a structured prompting framework, it ensures that your requests are interpreted through the lens of expert personas, clear constraints, and precise output formatting. When you prefix your message with p: or prompt:, the agent pauses to refine your request before execution, effectively automating the 'prompt engineering' process to ensure superior, context-aware results. It handles everything from simple queries to complex architectural tasks, scaling its enhancement depth based on the perceived complexity of your intent.
Installation
You can integrate this skill directly into your OpenClaw environment using the following command in your terminal:
clawhub install openclaw/skills/skills/gyaan-dub/prompt-enhancer
Use Cases
- Complex Development: Turn vague requests like 'make a login page' into detailed, secure, and production-ready code snippets with validation.
- Content Strategy: Convert brief content ideas into structured blog posts, emails, or reports that adhere to specific brand voices and audience requirements.
- Data Analysis: Transform high-level data questions into structured analytical plans that define the necessary insights, visualizations, and summary formats.
- Personal Productivity: Simplify planning tasks by ensuring the AI assumes the role of a project manager or life coach before generating schedules or outlines.
Example Prompts
p: write a python script for a web scraper(The skill will enhance this to include error handling, libraries like BeautifulSoup, and ethical scraping headers.)p: explain quantum physics(The skill will enhance this to match your specific knowledge level and request analogies for better clarity.)p: create a marketing plan for my startup(The skill will define the industry, target persona, and specific KPIs to generate a professional roadmap.)
Tips & Limitations
- Be specific where you can: Even though the skill enhances your prompt, providing more initial context allows the agent to build a better foundation.
- The Prefix matters: Remember that triggers are only recognized at the start of a message. Mid-sentence prefixes will be ignored to prevent accidental triggers.
- Empty Inputs: If you send just the prefix, the agent will guide you on proper usage.
- Complexity Scaling: Do not worry about over-engineering simple tasks; the skill is designed to automatically detect complexity and avoid excessive verbosity for straightforward queries.
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-gyaan-dub-prompt-enhancer": {
"enabled": true,
"auto_update": true
}
}
}