Skip to content

Prompt Master

A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention

Install

$git clone https://github.com/nidhinjs/prompt-master

Install command taken from the project's README or registry entry. Always review code before running it.

A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention. No re-prompting your way to an answer you should have gotten on attempt one.

Works with: Claude, ChatGPT, Codex, Grok, Gemini, o1/o3, MiniMax, Cursor, Claude Code, GitHub Copilot, Windsurf, Bolt, v0, Lovable, Devin, Perplexity, Midjourney, DALL-E, Stable Diffusion, ComfyUI, Sora, Runway, ElevenLabs, Zapier, Make, and any AI tool you throw at it.


🚀 Installation

RECOMMENDED - Claude.ai (browser)

  1. Download this repo as a ZIP
  2. Go to claude.ai → Sidebar → Customize → Skills → Upload a Skill

OR Clone directly into Claude Code skills directory (Not Suggested)

mkdir -p ~/.claude/skills
git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master

🔥 The Problem This Solves

Every AI user wastes credits the same way:

Write vague prompt → get wrong output → re-prompt → get closer → re-prompt again → finally get what you wanted on attempt 4

That's 3 wasted API calls. Multiply by 50 prompts a day. That's real money and real time gone.

The key insight

"The best prompt is not the longest. It's the one where every word is load-bearing."

Most "prompt generators" make prompts longer. This skill makes them sharper.


🎯 Usage

In Claude, you can invoke the skill naturally:

Write me a prompt for Cursor to refactor my auth module
I need a prompt for Claude Code to build a REST API — ask me what you need to know
Here's a bad prompt I wrote for GPT-4o, fix it: [paste prompt]
Generate a Midjourney prompt for a cyberpunk city at night
I have a reference image — help me write a prompt to edit just the head angle
Break this prompt down and adapt it for Stable Diffusion

Or explicitly invoke it:

/prompt-master

I want to ask Claude Code to build a todo app with React and Supabase

How It Works

Prompt Master runs a structured pipeline on every request:

  1. Detects the target tool — figures out which AI system the prompt is for and routes silently to the right approach
  2. Extracts 9 dimensions of intent — task, input, output, constraints, context, audience, memory, success criteria, examples
  3. Asks targeted clarifying questions — max 3 questions if critical info is missing, never more
  4. Routes to the right framework — picks and applies the correct prompt architecture automatically, never shown to the user
  5. Applies safe techniques only — role assignment, few-shot examples, XML structure, grounding anchors, memory block as needed
  6. Checks model recency — verifies exact models and controls against official provider docs when the request depends on "latest"
  7. Runs a token efficiency audit — strips every word that doesn't change the output
  8. Delivers the prompt — one clean copyable block with a one-line strategy note

Full Example #1: Generating Prompts for Images

User Input

Write me a midjourney prompt for a realistic samurai standing in the rain at night

Generated Prompt

lone samurai standing in heavy rain at night, traditional armor, 
neon reflections on wet cobblestone street, cinematic lighting, 
dramatic shadows, fog, ultra detailed, photorealistic, 
shallow depth of field --ar 16:9 --v 6 --style raw

Similar plugs

Turn any codebase, with its docs, SQL schemas, configs, and PDFs, into a queryable knowledge graph. A /graphify skill for Claude Code, Cursor, Codex, and Gemini CLI: local…

Why use many token when few token do trick. Viral skill + proxy for coding agents that cuts 65% of tokens by talking like a caveman.

The 1st Collaborative AI Design Agent Workspace. Local-first and open source. Create prototypes, websites, apps, dashboards, presentations, images, and videos with your team…