prompt-improver
Skill by davekilleen
Rewrites a vague prompt into a structured, richer one, then runs it and returns the answer. Built for users who hand over thin instructions or ask to improve a prompt.
Install prompt-improver
Built from the published package, never by AI.
git clone --depth 1 https://github.com/davekilleen/Dex /tmp/Dex && mkdir -p ~/.claude/skills && cp -r /tmp/Dex/.claude/skills/prompt-improver ~/.claude/skills/prompt-improverRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/davekilleen/Dex /tmp/Dex && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/Dex/.claude/skills/prompt-improver ~/.gemini/antigravity-cli/skills/prompt-improverAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
prompt-improver is an agent skill that rewrites a vague prompt into a richer, structured prompt. It uses a bundled script or the Anthropic Messages API when available, and falls back to the current LLM when neither is set up. The skill then executes the improved prompt and returns the result.
By default the improved prompt stays hidden and the user sees only the answer. The -p flag shows the improved prompt without running it, and -v shows it before running. Optional feedback can steer the rewrite, and a system prompt can be improved too. The skill is for users who ask to improve a prompt or hand over a thin instruction. The source says it is not for creating reusable skills, and points to create-skill for that.
Written from the project's SKILL.md and checked against it.
What it can do
- Prompt improvementRewrites a vague prompt into a structured prompt using prompt engineering techniques.
- Prompt-only mode (-p)Shows the improved prompt in a code block without executing it.
- Verbose mode (-v)Shows the improved prompt in a collapsible block, then executes it.
- Quick mode (default)Executes the improved prompt silently and returns only the result.
- Feedback guidanceAccepts optional feedback, such as focusing the rewrite on security or clarity.
- System prompt improvementCan improve an optional system prompt alongside the user prompt.
- Fallback cascadeTries a script, then the Anthropic API, then the current LLM so the skill still works.
What you need
- Anthropic API key (optional, for direct API improvement)
- Node.js (to run the improvement script)
Try asking
- Improve this prompt: critique this strategy doc
- -v review this code, focus on security issues
- -p make this prompt better: summarize the meeting notes
Good to know
- Without an API key, improvement uses the current LLM and shows a notice.
- Not for creating reusable skills; the source points to create-skill.
- Usage tracking sends an analytics event only if the user opted in.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .claude/skills/prompt-improver/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to prompt-improver
All alternatives →Aligns a Qwen Code feature with a Codex or Claude Code reference agent. It runs both under the same scenario, captures HTTP and terminal traces, and compares them until behavior matches.
Searches, views, creates, updates, and deletes the user's Google Contacts from an AI assistant. It is for people who want to manage their address book through conversation. A one-time Google connect is required before it returns data.
Guides an AI assistant on error handling choices. It covers when to use Result, Option, ? propagation, unwrap, expect and panic, plus anyhow and thiserror.
Caveman is an agent skill that makes an AI assistant reply in a terse style. It cuts filler and keeps technical facts, code, commands and errors exact. It is built for users who want shorter, cheaper replies.
docs-sync audits or updates English SDK documentation against the requested implementation scope. It is for maintainers who want docs to match main branch features, configuration options, and defaults.
Guides an AI assistant through setting up and running monorepos with pnpm workspaces, Turborepo and Nx. Aimed at developers who need faster builds, shared code and managed dependencies across multiple packages.
Compare with agent-reproduce-align, google_contacts or m06-error-handling
prompt-improver: common questions
What does the prompt-improver skill do?
It rewrites a vague prompt into a rich, structured one and then runs it, returning the answer. The improved prompt stays hidden unless a flag is used.
What do the -p and -v flags do?
The -p flag shows the improved prompt and does not run it. The -v flag shows the improved prompt and then runs it.
Does it work without an Anthropic API key?
Yes. The source says the skill falls back to the current LLM session when no API key is configured, and shows a notice.
How do I install prompt-improver?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is prompt-improver free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is prompt-improver safe to use?
It scores 67 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to prompt-improver?
Similar skills: agent-reproduce-align, google_contacts, m06-error-handling, caveman.
