whatisgithub

What is prompt-improver?

owenob1/prompt-improver — explained in plain English

Analysis updated 2026-05-18

5ShellAudience · developerComplexity · 2/5LicenseSetup · easy

In one sentence

A skill that rewrites vague AI coding prompts into precise, structured specs before executing them.

Mindmap

mindmap
  root((prompt-improver))
    What it does
      Rewrite vague prompts
      Generate XML spec
      Plan or execute
      Model override
    Tech stack
      Shell scripts
      Claude
      Grok
      Gemini
      Codex
    Use cases
      Spec generation
      Cross CLI routing
      Rate limit fallback
    Audience
      Developers
      AI agent users

Code map

Detail Auto

An interactive map of this repo's files and how they connect — its source is parsed live in your browser. Click Visualize to build it.

filefunction / class

What do people build with it?

USE CASE 1

Turn a quick, vague coding request into a precise structured spec before execution

USE CASE 2

Preview a rewritten prompt in plan mode before letting an agent run it

USE CASE 3

Route prompt rewriting to a different AI model or CLI than the one you are chatting with

USE CASE 4

Fall back automatically to another model if your first choice is rate limited

What is it built with?

ShellClaudeGrokGeminiCodex

How does it compare?

owenob1/prompt-improveranmoln7/agent-standard-ossdmaynard51/ultima5-ios
Stars555
LanguageShellShellShell
Setup difficultyeasyeasymoderate
Complexity2/52/53/5
Audiencedeveloperdevelopergeneral

Figures from each repo's GitHub metadata at analysis time.

How do you get it running?

Difficulty · easy Time to first run · 5min

Needs at least one supported AI CLI (Claude, Grok, Gemini, or Codex) installed on PATH.

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

So what is it?

prompt-improver is a skill for AI coding assistants that turns a vague, quickly typed request into a precise, structured specification before any work is done. Instead of the main assistant grinding through your rough instructions directly, it hands the request off to a separate model call that rewrites it into a verifiable XML spec, then either runs that spec right away or shows it to you first for review. The generator only rewrites your request, it never implements the feature itself. You can run it with no flags to improve and execute immediately, or add plan to have it show you the rewritten spec first and wait before doing anything. You can also force a specific model to do the rewriting for a single run. It supports several different assistant CLIs as the generator, including Claude, Grok, Gemini, and Codex, each with its own default model and a fallback chain if that model is unavailable or rate limited. Because of this, you can mix and match: for example run the tool inside Claude Code but have Grok do the rewriting, as long as that other CLI is installed on your machine. If every generator option is limited, the tool falls back to letting the assistant you are already talking to finish the request itself. The process behind the scenes has four steps: it first checks whether your input is already a solid spec and skips rewriting if so, then generates the improved version, validates its structure, and finally either executes it or shows it to you depending on the mode you chose. Installation is done through the skills.sh tool, the Agent Skills format, or the Claude Code plugin marketplace, and there is also a standalone shell script version that works without any of those installers. Settings such as which model to use by default, custom fallback chains, and custom CLI commands can be configured in a local settings file. The project is released under the MIT license.

Copy-paste prompts

Prompt 1
Walk me through installing prompt-improver with npx skills add -g owenob1/prompt-improver
Prompt 2
Show me how to use plan mode to review a rewritten prompt before running it
Prompt 3
Explain how to force a specific generator model with the model flag
Prompt 4
How do I configure a custom fallback chain in prompt-improver settings.json

Frequently asked questions

What is prompt-improver?

A skill that rewrites vague AI coding prompts into precise, structured specs before executing them.

What language is prompt-improver written in?

Mainly Shell. The stack also includes Shell, Claude, Grok.

What license does prompt-improver use?

Use freely for any purpose, including commercial use, as long as you keep the copyright notice.

How hard is prompt-improver to set up?

Setup difficulty is rated easy, with roughly 5min to a first successful run.

Who is prompt-improver for?

Mainly developer.

Open on GitHub → Ask about another repo

This repo across BitVibe Labs

Verify against the repo before relying on details.