Agent skill

Prompt Improver

by happycapy-ai in happycapy-ai/Happycapy-skills

Optimize prompts for better AI responses. An agent skill from happycapy-ai/Happycapy-skills.

MITAuto-check passedAI & LLM Engineering

Install Prompt Improver

skills CLI
$ npx skills add happycapy-ai/Happycapy-skills --skill prompt-improver -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install happycapy-ai/Happycapy-skills prompt-improver --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/happycapy-ai/Happycapy-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/prompt-improver .claude/skills/prompt-improver && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
prompt-improver
GitHub stars
137
Token cost
~1.1k tokens
SKILL.md length
302 words
Files
11 (incl. references)
Skills in repo
28
Repo updated
First seen
Licence
MIT

At a glance

Optimize prompts for better AI responses. An agent skill from happycapy-ai/Happycapy-skills.

  • Works in 5 steps: Gather context - Use AskUserQuestion to… → Analyze - Identify what's unclear,… → Improve - Apply the framework (see… → …
  • User asks to improve a prompt
  • SKILL.md covers Workflow, AskUserQuestion Templates, Output Format and Quick Mode, plus 2 more sections
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Prompt Improver is an agent skill from happycapy-ai/Happycapy-skills. Optimize prompts for better AI responses. Use when user asks to improve a prompt, refine a prompt, make a prompt better, optimize prompting, review their prompt, or says "/improve-prompt". Transforms vague requests into clear, specific, actionable prompts.

Its SKILL.md is about 1.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including reference files (for example `README.md`, `references/anti-patterns.md` and `references/aristotelian.md`).

It sits in AI & LLM Engineering, covering Prompt engineering. The repository describes itself as: A curated collection of high-quality Claude Code skills to enhance your development workflow. The licence is MIT.

When your agent uses it

  • User asks to improve a prompt
  • Refine a prompt
  • Make a prompt better
  • Optimize prompting

Example prompts

  • “/improve-prompt”
  • “/prompt-improver”

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Gather context - Use AskUserQuestion to clarify
  2. Analyze - Identify what's unclear, missing, or ambiguous
  3. Improve - Apply the framework (see references/framework.md)
  4. Present - Show improved prompt with key changes explained
  5. Refine - Ask if user wants adjustments

What it can do on your machine

Read from SKILL.md and the folder at commit 9ff72fe. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md (its code samples are markdown).

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Prompt Improver loads about 1.1k tokens when it runs, and up to ~4.9k if it reads all its reference files. Until then it costs about 68 tokens; SKILL.md has 302 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~68
When it runs · the whole SKILL.md, loaded when a task matches
~1.1k
With references · SKILL.md plus every file in references/, read only if the agent opens them
~4.9k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from happycapy-ai/Happycapy-skills at commit 9ff72fe, republished under its MIT licence (© happycapy-ai). 302 words, ~1,146 tokens.

Download SKILL.mdSave it as .claude/skills/prompt-improver/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.
name
prompt-improver
description
Optimize prompts for better AI responses. Use when user asks to improve a prompt, refine a prompt, make a prompt better, optimize prompting, review their prompt, or says "/improve-prompt". Transforms vague requests into clear, specific, actionable prompts.

Prompt Improver

Transform vague prompts into clear, specific, actionable ones for better AI responses.

Workflow

  1. Gather context - Use AskUserQuestion to clarify:

    • Target platform (Claude Code, ChatGPT, API, image gen)
    • Priority (accuracy, speed, depth, creativity)
    • Missing context (technical stack, constraints, examples)
  2. Analyze - Identify what's unclear, missing, or ambiguous

  3. Improve - Apply the framework (see references/framework.md)

  4. Present - Show improved prompt with key changes explained

  5. Refine - Ask if user wants adjustments

AskUserQuestion Templates

Initial clarification:

questions:
  - header: "Platform"
    question: "What will you use this prompt for?"
    options:
      - label: "Claude Code"
        description: "Coding, file ops, terminal"
      - label: "ChatGPT/Claude.ai"
        description: "General conversation"
      - label: "API/Automation"
        description: "Programmatic use"
      - label: "Image gen"
        description: "DALL-E, Midjourney, etc."
  - header: "Priority"
    question: "What matters most?"
    options:
      - label: "Accuracy"
        description: "Correctness is critical"
      - label: "Speed"
        description: "Quick, concise"
      - label: "Depth"
        description: "Comprehensive"
      - label: "Creativity"
        description: "Novel approaches"

Post-improvement:

header: "Refine"
question: "Adjust the improved prompt?"
options:
  - label: "Looks good"
    description: "Use as-is"
  - label: "More specific"
    description: "Add constraints"
  - label: "More concise"
    description: "Shorten"
  - label: "Different focus"
    description: "Change emphasis"

Output Format

markdown
## Analysis
[Brief issues/opportunities]

## Improved Prompt
[Ready-to-use prompt]

## Key Changes
- [Change]: [Why]

Quick Mode

If user says "quick improve", skip questions and make reasonable assumptions. Note assumptions made.

Aristotelian Mode (First Principles)

Activated when user says "Aristotelian", "first principles", or "proof-based". Instead of the standard framework, produce a prompt that instructs the receiving LLM to reason from first principles when executing the task.

The prompt-improver does NOT do the Aristotelian reasoning itself. It crafts a prompt that tells the LLM to:

  1. Gather context from user - Ask what system capabilities, tools, and constraints exist. Bake known context (root access, AI model, available tools, domain) directly into the prompt as given axioms.

  2. Embed the reasoning directive - The improved prompt tells the LLM to:

    • Identify the atomic, irreducible truths of the task before acting
    • Interrogate each truth: "Can this be decomposed further? If removed, does the task break? Does it contradict anything?"
    • Discard anything that is not strictly necessary
    • Build the solution deductively, where every action traces to a stated axiom
    • Verify the result against the axioms at the end
  3. Structure the output prompt with these sections:

    REASONING DIRECTIVE: [Instruct the LLM to use first-principles reasoning]
    GIVEN AXIOMS: [Known truths about system, capabilities, domain -- baked in]
    TASK: [What to accomplish]
    METHOD: [Tell LLM to discover task-specific axioms, interrogate them, then build deductively]
    VERIFICATION: [Tell LLM to check its result against its axioms]

Output format for Aristotelian mode:

markdown
## Analysis
[What context was embedded and why]

## Improved Prompt (Aristotelian)
[The complete prompt with reasoning directive, given axioms, task, method, and verification]

## What This Prompt Does
- Tells the LLM to [specific reasoning behavior]
- Bakes in [specific context] so the LLM does not hallucinate it

See references/aristotelian.md for the full methodology and prompt structure.

References

  • Framework details: See references/framework.md for the 6-principle improvement framework
  • Aristotelian mode: See references/aristotelian.md for the proof-based first principles methodology
  • Examples: See references/examples.md for before/after transformations
  • Anti-patterns: See references/anti-patterns.md for common issues to fix

© happycapy-ai, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 10 other files (references) in skills/prompt-improver of happycapy-ai/Happycapy-skills.

  • SKILL.md
  • LICENSE
  • README.md
  • images/aristotelian-diagram.png
  • images/before-after.png
  • images/capybara-mascot.png
  • images/workflow-diagram.png
  • references/anti-patterns.md
  • references/aristotelian.md
  • references/examples.md
  • references/framework.md

Open the folder on GitHubat commit 9ff72fe

Compare with similar skills

Prompt Improver next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Prompt Improver compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Prompt Improver this skillhappycapy-ai/Happycapy-skills137—~1.1kAutomated safety check: PassMIT
Prompt Improverseverity1/claude-code-prompt-improver1.9k1 repos~1.7kAutomated safety check: PassMIT
Prompt Engineering Patternsynulihao/AgentSkillOS61814 repos~1.7kAutomated safety check: PassNone
Patch CreationPiebald-AI/tweakcc2.5k—~1.6kAutomated safety check: PassMIT
Senior Prompt Engineermaslennikov-ig/claude-code-orchestrator-kit2603 repos~1.4kAutomated safety check: PassCustom licence
Codex Fable5baskduf/FableCodex437—~1.6kAutomated safety check: PassAGPL-3.0

Similar skills

  • Prompt Improver

    severity1/claude-code-prompt-improver

    This skill enriches vague prompts with targeted research and clarification before execution.

    1.9k GitHub starsUsed in 1 repo~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Prompt Engineering Patterns

    ynulihao/AgentSkillOS

    Master advanced prompt engineering techniques to maximize LLM performance, reliability, and controllability in production.

    618 GitHub starsUsed in 14 repos~1.7k tokens
    AI & LLM EngineeringAuto-check passed
  • Patch Creation

    Piebald-AI/tweakcc

    Create and register new patches for tweakcc. An agent skill from Piebald-AI/tweakcc.

    2.5k GitHub stars~1.6k tokensUpdated today
    AI & LLM EngineeringAuto-check passed
  • Senior Prompt Engineer

    maslennikov-ig/claude-code-orchestrator-kit

    Provides reference guides and Python scripts for prompt optimization, RAG evaluation, and agent orchestration when building or tuning LLM systems.

    260 GitHub starsUsed in 3 repos~1.4k tokens
    AI & LLM EngineeringAuto-check passed
  • Codex Fable5

    baskduf/FableCodex

    Apply a Claude Fable 5 inspired operating style inside Codex.

    437 GitHub stars~1.6k tokensUpdated 2 mo ago
    AI & LLM EngineeringAuto-check passed
  • Reference for designing and tuning production LLM prompts: few-shot examples, chain-of-thought, structured outputs, templates and system prompts.

    40k GitHub stars~1.3k tokensUpdated 6 days ago
    AI & LLM EngineeringAuto-check passed

More from happycapy-ai/Happycapy-skills

All 28 skills in this repo
  • Happycapy Skill Creator

    happycapy-ai/Happycapy-skills

    Automate HappyCapy skill creation by finding and adapting existing skills from anthropics/skills repository.

    137 GitHub stars~627 tokensUpdated 1 mo ago
    Auto-check passed
  • 360 Panorama Viewer

    happycapy-ai/Happycapy-skills

    Build a fully self-contained 360° equirectangular panorama viewer as a single HTML file.

    137 GitHub stars~2.1k tokensUpdated 1 mo ago
    Auto-check passed
  • Generate Image

    happycapy-ai/Happycapy-skills

    Generate and transform images using AI Gateway API. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~2k tokensUpdated 1 mo ago
    Auto-check: notes
  • LLM Council

    happycapy-ai/Happycapy-skills

    Multi-model LLM Council with live dashboard. An agent skill from happycapy-ai/Happycapy-skills.

    137 GitHub stars~581 tokensUpdated 1 mo ago
    Auto-check passed
  • PPTX

    happycapy-ai/Happycapy-skills

    Create polished PowerPoint (.pptx) presentations directly from a topic or content description.

    137 GitHub stars~1.5k tokensUpdated 1 mo ago
    Auto-check passed
  • World Class Carousel

    happycapy-ai/Happycapy-skills

    Generate world-class Instagram carousel content on any topic.

    137 GitHub stars~16k tokensUpdated 1 mo ago
    Auto-check: notes

Questions about Prompt Improver

What does Prompt Improver do?

Optimize prompts for better AI responses. An agent skill from happycapy-ai/Happycapy-skills. Prompt Improver is an agent skill from happycapy-ai/Happycapy-skills. Optimize prompts for better AI responses.

When should I use Prompt Improver?

Prompt Improver fits situations like: user asks to improve a prompt; refine a prompt; make a prompt better; optimize prompting.

How do I install Prompt Improver in Claude Code?

Run `npx skills add happycapy-ai/Happycapy-skills --skill prompt-improver -a claude-code`. Or copy the skill folder (skills/prompt-improver in happycapy-ai/Happycapy-skills) into .claude/skills/prompt-improver in your project. Claude Code loads it when a task matches its description.

How do I install Prompt Improver in Codex?

Run `npx skills add happycapy-ai/Happycapy-skills --skill prompt-improver -a codex`. Or copy the skill folder (skills/prompt-improver in happycapy-ai/Happycapy-skills) into .agents/skills/prompt-improver in your project. Codex loads it when a task matches its description.

Can I use Prompt Improver in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add happycapy-ai/Happycapy-skills --skill prompt-improver -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/prompt-improver, .gemini/skills/prompt-improver, .github/skills/prompt-improver and .opencode/skills/prompt-improver in your project.

What does Prompt Improver need to run?

SKILL.md names no scripts, command-line tools or credentials: Prompt Improver is instructions for the agent only.

Does Prompt Improver access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Prompt Improver safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Prompt Improver use?

Prompt Improver is published under the MIT licence (from the LICENSE file in the skill folder). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Prompt Improver use?

About 1.1k tokens (SKILL.md is roughly 4.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 3.8k tokens, read only when the agent opens those files.

What are the alternatives to Prompt Improver?

Skills that share tags, products or a category with Prompt Improver: Prompt Improver (severity1/claude-code-prompt-improver, 1.9k stars), Prompt Engineering Patterns (ynulihao/AgentSkillOS, 618 stars), Patch Creation (Piebald-AI/tweakcc, 2.5k stars) and Senior Prompt Engineer (maslennikov-ig/claude-code-orchestrator-kit, 260 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Prompt Improver?

happycapy-ai (a GitHub user) maintains it in happycapy-ai/Happycapy-skills, which has 137 GitHub stars. The repository holds 28 skills in this directory. The repository was last updated on September 3, 2026.

Source: happycapy-ai/Happycapy-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.