Search

PythonReactSEOPDF
OpenClaw

prompt-rewriter

Advanced prompt rewriting and optimization service. Analyzes prompts for clarity, specificity, structure, completeness, and usability. Identifies weaknesses, suggests improvements, and generates multiple rewrite options. Use when users need to improve an existing prompt's effectiveness, understand why a prompt isn't working well, generate variations of a prompt for A/B testing, or learn prompt engineering best practices through examples.

hhhh124hhhh0 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install hhhh124hhhh/prompt-rewriter

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Prompt Rewriter

Overview

Help users transform vague, ineffective prompts into powerful, well-structured instructions that produce consistent, high-quality results from AI models. Analyzes prompts across multiple quality dimensions and provides actionable suggestions.

Quick Start

User says: "Help me rewrite this prompt: 'Write a blog post about AI'"

You should:

  1. Analyze the original prompt's weaknesses (too vague, no audience specified, no format defined)
  2. Identify improvement areas (add topic specificity, target audience, tone, length, structure)
  3. Provide 2-3 rewrite options with different approaches
  4. Explain the changes and why they matter

Core Capabilities

1. Prompt Quality Analysis

Evaluate prompts across five key dimensions:

Clarity (0-2)

  • Is the request unambiguous?
  • Are terms defined?
  • Can Claude understand without clarification?

Specificity (0-2)

  • Are constraints clear?
  • Is output format specified?
  • Are boundaries defined?

Structure (0-2)

  • Is information organized logically?
  • Are steps clear if applicable?
  • Is there a framework?

Completeness (0-2)

  • Is sufficient context provided?
  • Are requirements comprehensive?
  • Is missing information flagged?

Usability (0-2)

  • Is it reusable?
  • Can it be adapted easily?
  • Is the language natural?

Scoring:

  • 8-10: Excellent prompt, minor tweaks needed
  • 6-7: Good prompt, moderate improvements possible
  • 4-5: Functional but has significant weaknesses
  • 0-3: Poor prompt, needs major rework
2. Rewrite Generation

Generate 2-3 rewrite variations using different approaches:

Variation 1: Conservative Fix

  • Keep original intent
  • Add specificity and structure
  • Minimal stylistic changes
  • Best when user wants to preserve voice

Variation 2: Technique Enhancement

  • Apply prompt engineering patterns (CoT, few-shot, etc.)
  • Add advanced techniques
  • Focus on effectiveness
  • Best when user wants optimal results

**Variation 3: Simplifica...

Source information

Source
github
Repository
openclaw/skills
Path
skills/hhhh124hhhh/prompt-rewriter
Version
—
Commit
fbd9eefdc94e14900fa19cd2e1ecf9ec8b0a91b5
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Prompt Rewriter

## Overview

Help users transform vague, ineffective prompts into powerful, well-structured instructions that produce consistent, high-quality results from AI models. Analyzes prompts across multiple quality dimensions and provides actionable suggestions.

## Quick Start

**User says**: "Help me rewrite this prompt: 'Write a blog post about AI'"

**You should**:
1. Analyze the original prompt's weaknesses (too vague, no audience specified, no format defined)
2. Identify improvement areas (add topic specificity, target audience, tone, length, structure)
3. Provide 2-3 rewrite options with different approaches
4. Explain the changes and why they matter

---

## Core Capabilities

### 1. Prompt Quality Analysis

Evaluate prompts across five key dimensions:

**Clarity** (0-2)
- Is the request unambiguous?
- Are terms defined?
- Can Claude understand without clarification?

**Specificity** (0-2)
- Are constraints clear?
- Is output format specified?
- Are boundaries defined?

**Structure** (0-2)
- Is information organized logically?
- Are steps clear if applicable?
- Is there a framework?

**Completeness** (0-2)
- Is sufficient context provided?
- Are requirements comprehensive?
- Is missing information flagged?

**Usability** (0-2)
- Is it reusable?
- Can it be adapted easily?
- Is the language natural?

**Scoring**:
- 8-10: Excellent prompt, minor tweaks needed
- 6-7: Good prompt, moderate improvements possible
- 4-5: Functional but has significant weaknesses
- 0-3: Poor prompt, needs major rework

### 2. Rewrite Generation

Generate 2-3 rewrite variations using different approaches:

**Variation 1: Conservative Fix**
- Keep original intent
- Add specificity and structure
- Minimal stylistic changes
- Best when user wants to preserve voice

**Variation 2: Technique Enhancement**
- Apply prompt engineering patterns (CoT, few-shot, etc.)
- Add advanced techniques
- Focus on effectiveness
- Best when user wants optimal results

**Variation 3: Simplifica...

Related skills

OpenClaw

x402hub

capncoconut

Register, communicate, and earn on the x402hub AI agent marketplace. Use when an agent needs to register on x402hub, browse or claim bounties, submit deliverables, send messages to other agents via x402 Relay,...

OpenClaw

claw

capevace

Real-time event bus for AI agents. Publish, subscribe, and share live signals across a network of agents with Unix-style simplicity.

OpenClaw

captchas-openclaw

captchasco

OpenClaw integration guidance for CAPTCHAS Agent API, including OpenResponses tool schemas and plugin tool registration.