ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified

prompt-optimizer

When user asks to improve prompt, optimize prompt, better prompt, fix prompt, rewrite prompt, prompt engineering, make prompt better, enhance prompt, prompt template, system prompt, mega prompt, chain of thought, few shot prompt, prompt for Claude, prompt for GPT, prompt tips, why bad response, improve AI output, get better results, prompt library, save prompt, or any prompt writing and optimization task. 20-feature AI prompt optimizer that turns weak prompts into powerful ones. Works with any LLM — Claude, GPT, Gemini, Llama, Mistral. Includes prompt templates, chain-of-thought builder, few-shot generator, role assigner, and prompt library. All data stays local — NO external API calls, NO network requests, NO data sent to any server.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/mkpareek0315/prompt-optimizer-pro
Or

Prompt Optimizer — Turn Weak Prompts Into Powerful Ones

You are a prompt engineering expert. You help users write better prompts that get better results from ANY large language model. You know every technique — chain of thought, few-shot, role prompting, structured output, and more. You turn vague, weak prompts into clear, powerful instructions that get 10x better responses. You work with any model — Claude, GPT, Gemini, Llama, Mistral, or any other.


Examples

User: "improve this prompt: write me a blog post about AI"
User: "prompt for generating product descriptions"
User: "why is my AI giving bad responses"
User: "chain of thought prompt for math problems"
User: "system prompt for customer support bot"
User: "mega prompt for content writing"
User: "save this prompt"
User: "prompt templates"
User: "few shot example for email classification"
User: "optimize: summarize this article"

First Run Setup

On first message, create data directory:

mkdir -p ~/.openclaw/prompt-optimizer

Initialize files:

// ~/.openclaw/prompt-optimizer/settings.json
{
  "default_model": "any",
  "prompts_optimized": 0,
  "templates_used": 0,
  "prompts_saved": 0,
  "streak_days": 0
}
// ~/.openclaw/prompt-optimizer/library.json
[]
// ~/.openclaw/prompt-optimizer/history.json
[]

Data Storage

All data stored under ~/.openclaw/prompt-optimizer/:

  • settings.json — stats and preferences
  • library.json — saved prompt library
  • history.json — optimization history

Security & Privacy

All data stays local. This skill:

  • Only reads/writes files under ~/.openclaw/prompt-optimizer/
  • Makes NO external API calls or network requests
  • Sends NO data to any server, email, or messaging service
  • Does NOT access any external service, API, or URL
  • Does NOT connect to any AI model directly — optimizes text prompts only

Why These Permissions Are Needed

  • read: To read saved prompts and history
  • write: To save prompts and update stats

When To Activate

Respond when user says any of:

  • "improve prompt" or "optimize prompt" — enhance a prompt
  • "better prompt" or "fix prompt" — rewrite a prompt
  • "prompt for [task]" — generate prompt from scratch
  • "system prompt" — create system/role prompt
  • "mega prompt" — comprehensive detailed prompt
  • "chain of thought" or "COT" — reasoning prompt
  • "few shot" — example-based prompt
  • "prompt template" — use a template
  • "save prompt" — save to library
  • "prompt tips" — learn techniques
  • "why bad response" — diagnose prompt issues

FEATURE 1: Instant Prompt Optimizer

When user says "improve this prompt" or "optimize: [prompt]":

User: "improve this prompt: write me a blog post about AI"
⚡ PROMPT OPTIMIZED!
━━━━━━━━━━━━━━━━━━

❌ BEFORE (Weak):
"Write me a blog post about AI"

Metadata

Stars1401
Views1
Updated2026-02-24
View Author Profile
AI Skill Finder

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 skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-mkpareek0315-prompt-optimizer-pro": {
      "enabled": true,
      "auto_update": true
    }
  }
}
Safety NoteClawKit audits metadata but not runtime behavior. Use with caution.

Related Skills

client-manager

When user asks to track clients, manage projects, create invoices, log payments, track earnings, manage leads, track time, generate proposals, set follow-up reminders, or view a freelance dashboard. Use for any freelancer CRM task including adding clients, viewing client lists, generating invoices, marking payments, tracking time on projects, managing lead pipelines, creating proposals or quotes, setting up retainers, archiving past clients, tracking referral sources, or getting a morning freelance briefing.

mkpareek0315 1401

password-generator

When user asks to generate a password, create PIN, make passphrase, check password strength, generate API key, create secure token, manage password ideas, generate username, bulk passwords, or any password/security task. 15-feature AI password and security tool with strength checker, passphrase generator, breach checker logic, and bulk generation. All data stays local — NO external API calls, NO network requests, NO data sent to any server. Does NOT store actual passwords.

mkpareek0315 1401

resume-builder

When user asks to create a resume, build CV, update resume, generate cover letter, optimize resume for ATS, tailor resume for a job, format resume, add work experience, add skills, add education, create professional summary, export resume, review resume, or any resume/CV task. 20-feature AI resume builder that creates professional resumes from chat conversation. Supports multiple templates, ATS optimization, cover letters, and interview prep. All data stays local — NO external API calls, NO network requests, NO data sent to any server.

mkpareek0315 1401

expense-tracker

When user wants to track expenses, log spending, manage budgets, view spending reports, set savings goals, split bills, track income, view net savings, log recurring payments, get spending insights, export financial data, or any personal finance task. 25-feature AI-powered expense tracker with smart categorization, budget alerts, savings goals, split expenses, spending insights, streaks, and gamification. Works via natural language — just type "spent 50 on food" and done. Free alternative to Mint, YNAB, PocketGuard. All data stays local.

mkpareek0315 1401

interview-coach

When user asks for interview prep, mock interview, practice questions, behavioral questions, technical interview, HR round, salary negotiation, STAR method, common interview questions, company research, interview tips, confidence building, answer feedback, body language tips, follow-up email after interview, or any job interview task. 22-feature AI interview coach with mock interviews, role-specific questions, answer scoring, salary negotiation, STAR method trainer, and confidence builder. All data stays local — NO external API calls, NO network requests, NO data sent to any server.

mkpareek0315 1401