Prompt Enhancer for Openclaw

An intelligent wrapper that automatically refines and expands simple user instructions into professional-grade AI prompts.

gyaan-dub
v1.0.1
Feb 15, 2026
12
4k
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install prompt-enhancer

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install prompt-enhancer using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Prompt Enhancer?

Prompt Enhancer is a sophisticated utility designed to bridge the gap between casual user intent and expert-level AI execution. By acting as a transparent middleware for Openclaw Skills, it analyzes raw inputs and reconstructs them using proven prompt engineering principles such as role assignment, context inference, and output specification.

This skill ensures that even the most basic commands result in high-fidelity, production-ready outputs without requiring the user to master complex prompting techniques manually. It serves as both a productivity booster and an educational tool, showing users the exact anatomy of a high-performing prompt before delivering the final result.

Prompt Enhancer Use Cases

  • Turning vague requests like "write code" into specific, commented, and functional scripts.
  • Standardizing AI outputs for professional reporting, technical documentation, or creative writing tasks.
  • Learning best practices for prompt engineering through the transparency feature provided by Openclaw Skills.
  • Rapidly prototyping applications by providing minimal instructions and letting the skill handle architectural details.

How Prompt Enhancer Works

  1. The system monitors incoming messages for the p: or prompt: prefix to activate the logic.
  2. It captures the raw user intent and applies a multi-step enhancement framework covering role, task, context, and constraints.
  3. The skill generates a refined version of the instruction that matches the complexity of the original request.
  4. It displays the enhanced prompt in a blockquote to provide the user with full transparency.
  5. Finally, it executes the enhanced prompt as the new primary instruction to provide a superior, comprehensive response.

Prompt Enhancer Setup

To integrate this capability into your agent environment, ensure you are utilizing the Openclaw framework.

# Navigate to your skills directory
cd openclaw/skills

# Pull the prompt-enhancer from the hub
git clone https://github.com/openclaw/clawhub.git

Once installed, the skill is user-invocable. Simply prefix any message with p: or prompt: to trigger the optimization process immediately.

Prompt Enhancer Data Schema & Taxonomy

Component Description
Trigger Prefix Case-insensitive p: or prompt: at the start of a message
Role Assignment Inferred expert persona (e.g., Senior Developer, Fiction Writer)
Task Clarification Precise restatement of the core user objective
Quality Constraints Specific performance bars like production-ready or beginner-friendly
Output Specification Explicit formatting instructions such as JSON, Markdown, or code blocks

Prompt Enhancer Advanced Features

  • Proportional Complexity: Automatically scales from minimal clarification for simple facts to deep structural design for complex technical projects.
  • Multi-Language Support: Detects the input language and generates the enhanced prompt in the same language to maintain context.
  • Code Snippet Preservation: Safely handles technical inputs by preserving code blocks while optimizing the surrounding instructions.
  • Educational Quote-Blocks: Uses the Enhanced Prompt display to teach users how to write better instructions for Openclaw Skills.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*