# prompt-master

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

- Type: skill
- Field: Writing & Docs
- Repository: https://github.com/nidhinjs/prompt-master
- GitHub stars: 16301
- Licence: MIT
- Language: not stated
- Last push: 2026-10-22
- Page: https://imutechz.in/agents/prompt-master

## What it is
Prompt Master is a Claude skill that writes prompts for other AI tools. It is aimed at people who use assistants such as Claude, ChatGPT, Cursor, Midjourney or Stable Diffusion and want a usable prompt on the first attempt. It runs a structured pipeline: it detects the target tool, extracts intent, asks up to three clarifying questions, picks a prompt framework, checks model recency and trims tokens before returning one copyable prompt block.

## Features
- Detects the target AI tool and routes to a matching approach
- Extracts nine dimensions of intent, including constraints and success criteria
- Asks at most three clarifying questions when key details are missing
- Applies techniques such as role assignment, few-shot examples and XML structure
- Runs a token efficiency audit to strip words that do not change output
- Returns one clean copyable prompt with a one-line strategy note

## Best for
- Writing prompts for coding tools like Cursor or Claude Code
- Generating image prompts for Midjourney or Stable Diffusion
- Rewriting or fixing a weak prompt for a specific model
- Adapting an existing prompt from one AI tool to another

## Pros
- Works with a long list of AI tools, from chat assistants to image and video generators
- Limits clarifying questions to three
- Delivers the prompt as a single copyable block with a short strategy note

## Cons
- Recommended install is uploading a ZIP through claude.ai skills settings
- Cloning into the Claude Code skills directory is described as not suggested

## Install
```
git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master
```

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

Tags: prompt-engineering, claude-skill, prompt-generator, ai-tools, midjourney, cursor, token-efficiency, writing
