An advanced optimization service that analyzes and transforms weak prompts into structured, effective instructions for high-quality AI outputs.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install prompt-rewriter
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install prompt-rewriter using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
The Prompt Rewriter is a professional-grade tool designed to bridge the gap between vague user intent and high-performance AI execution. As a core component of the Openclaw Skills ecosystem, it systematically evaluates prompts across five critical dimensions: Clarity, Specificity, Structure, Completeness, and Usability. By identifying specific weaknesses in a request, it provides users with a comprehensive quality score and actionable feedback to ensure their instructions produce consistent, reliable results.
Beyond simple editing, this skill serves as an educational bridge for developers and creators. It translates the technical nuances of prompt engineering—such as Chain of Thought, few-shot learning, and role-based framing—into practical, ready-to-use templates. Using this skill ensures that your AI agents receive the context and structure they need to minimize hallucinations and maximize output relevance, making it an essential utility for anyone building within the Openclaw Skills framework.
The Prompt Rewriter is a logic-based skill that operates within your agent's environment. To begin optimizing your prompts, ensure your agent is configured to recognize the prompt-rewriter skill definitions. No external dependencies or scripts are required.
# Example of initiating a prompt optimization via CLI
openclaw skill run prompt-rewriter --input "Write a code review prompt"
The skill utilizes a quantitative scoring matrix to evaluate prompt health and organizes its findings into a structured report.
| Metric | Definition | Scoring Weight |
|---|---|---|
| Clarity | Is the request unambiguous and the terminology well-defined? | 0-2 Points |
| Specificity | Are constraints, boundaries, and output formats clearly stated? | 0-2 Points |
| Structure | Is information logically organized using frameworks or steps? | 0-2 Points |
| Completeness | Is there sufficient context and are all requirements included? | 0-2 Points |
| Usability | Is the prompt reusable, adaptable, and naturally phrased? | 0-2 Points |
Final scores determine the prompt's readiness: 8-10 (Excellent), 6-7 (Good), 4-5 (Functional), 0-3 (Poor).
Loading
A professional 3-in-1 toolkit for prompt templates, systematic technique learning, and 6-dimensional intelligent optimization.

A systematic training skill to master AI prompt engineering through structured learning paths and real-world case studies.

A high-precision JSON framework for generating ultra-photorealistic 8K cinematic portraits with detailed control over lighting, texture, and camera optics.

A comprehensive guide and implementation skill for applying advanced prompt engineering strategies to the OpenAI API.

A sophisticated orchestration pipeline designed to automatically scrape, transform, and deploy AI prompts from global sources into functional agent skills.

A professional-grade prompt template designed to generate high-conversion 10-second demo videos using Google Veo AI.
