# Prompt Master

> A Claude skill that turns a rough idea into one sharp, tool-specific prompt

- Category: Agents & Automation / Agent Skills & Plugins
- Language: Markdown
- Licence: MIT
- Repository: https://github.com/nidhinjs/prompt-master
- Canonical page: https://ai-tldr.dev/tools/prompt-master/

## In short

Prompt Master is a Claude skill: a `SKILL.md` instruction file plus two reference files (`templates.md` and `patterns.md`) that you upload to Claude.ai or drop into Claude Code's skills folder. It sits in the Agent Skills & Plugins category of the Agents & Automation tools and is open-source, written in Markdown and licensed MIT.

## Overview

Prompt Master is a Claude skill: a `SKILL.md` instruction file plus two reference files (`templates.md` and `patterns.md`) that you upload to Claude.ai or drop into Claude Code's skills folder. Once installed, asking Claude to "write me a prompt for Cursor" or "fix this prompt I wrote for GPT" makes it act as a prompt engineer for that one job. It identifies the target tool, pulls out what you actually want, and hands back a single copyable prompt with a one-line note on the strategy it used. The skill's own description says it activates only when you explicitly ask to write, fix, improve or adapt a prompt, and stays out of ordinary conversation and coding work.

The README describes an eight-step pipeline for every request. It detects the target tool, extracts nine dimensions of intent (task, input, output, constraints, context, audience, memory, success criteria, examples), and asks at most three clarifying questions. It then picks one of 13 templates (RTF, CO-STAR, RISEN, File-Scope, ReAct with stop conditions, Visual Descriptor, a Prompt Decompiler and others) without showing you the framework's name, and finishes with a token-efficiency pass that cuts every word that doesn't change the output. The author's argument is that the best prompt is the one where every word is load-bearing, not the longest one, so the skill aims to make prompts sharper rather than longer.

Tool coverage is the main selling point. The README's profile table covers 30+ targets: chat and reasoning LLMs, local models through Ollama, coding agents and IDEs (Claude Code, Codex, Cursor, Windsurf, Cline, Copilot), app builders (Bolt, v0, Lovable), image, video, 3D and voice generators (Midjourney, Stable Diffusion, ComfyUI, Sora, Runway, ElevenLabs) and automation tools (Zapier, Make, n8n). For a tool it has no profile for, it falls back to a four-question "Universal Fingerprint". The project limits itself to five techniques it calls safe: role assignment, few-shot examples, XML tags, grounding anchors and auditable reasoning. It explicitly leaves out Tree of Thought, Graph of Thought, Universal Self-Consistency and layered prompt chaining because they are prone to fabrication. The skill file is versioned in its own frontmatter (1.8.0 as of 2026-10-03), and the repo is MIT-licensed.

## What it does

- Detects which AI tool the prompt is for and routes to a tool-specific profile, with 30+ profiles across LLMs, coding agents, app builders, and image, video, 3D, voice and automation tools
- Auto-selects one of 13 prompt templates (including File-Scope for IDE agents, ReAct with stop conditions for autonomous agents, and Visual Descriptor for image and video models)
- Asks no more than three clarifying questions, then outputs a single paste-ready prompt with a one-line strategy note
- Flags 37 "credit-killing" patterns across task, context, format, scope, reasoning and agentic prompts, each with a before/after example
- Builds a Memory Block of decisions from earlier in the conversation (stack, conventions, architecture) so the new prompt doesn't contradict them
- A Prompt Decompiler mode that breaks down, adapts, simplifies or splits an existing prompt, plus detection of edit-versus-generate for reference-image requests

## Getting started

Prompt Master has no package or runtime. It is a folder of Markdown that Claude reads as a skill. The README recommends uploading it to Claude.ai; cloning it into Claude Code's skills directory also works.

1. Install in Claude.ai (recommended)

   Download the repository as a ZIP from GitHub, then in Claude.ai go to Sidebar → Customize → Skills → Upload a Skill and upload it.

2. Or clone it into Claude Code

   Put the repo in your personal skills directory so Claude Code can load it.

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

3. Ask for a prompt in plain language

   Name the target tool and describe the job. The skill triggers on requests to write, fix or adapt a prompt.

```text
Write me a prompt for Cursor to refactor my auth module

Here's a bad prompt I wrote for GPT-4o, fix it: [paste prompt]

Generate a Midjourney prompt for a cyberpunk city at night
```

4. Or invoke it explicitly

   Call the skill by name and give it the task. It may ask up to three questions before returning the finished prompt.

```text
/prompt-master

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

## When to use it

- Turn a one-line idea into a scoped brief for a coding agent like Claude Code or Cursor, with file boundaries, stop conditions and a "done when" checklist
- Rewrite a prose description into the syntax an image or video model expects, such as Midjourney parameters or Stable Diffusion weights and negative prompts
- Repair or port an existing prompt that underperforms, or adapt one written for ChatGPT to a different model
- Carry decisions forward in a long session so each new prompt restates the stack and conventions instead of relying on the model to remember them
