# Prompt Master — Zero-Waste AI Prompt Generator Skill > Claude Code skill that generates optimized prompts for 30+ AI tools. Auto-detects target tool, applies 5 safe techniques, catches 35 credit-killing patterns. 4.8K+ stars, MIT license. ## Install Save the content below to `.claude/skills/` or append to your `CLAUDE.md`: ## Quick Use Install directly to Claude Code: ```bash mkdir -p ~/.claude/skills git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master ``` Or for Claude.ai (browser): 1. Download the repo as ZIP from GitHub 2. Go to claude.ai → Sidebar → Customize → Skills → Upload a Skill 3. Upload the ZIP file --- ## Intro Prompt Master is a Claude Code skill with 4,800+ GitHub stars that generates optimized prompts for 30+ AI tools — from Claude and ChatGPT to Midjourney and ElevenLabs. It auto-detects your target tool, routes to the correct framework from 12 templates, catches 35 credit-killing patterns (vague verbs, missing audiences, no scope boundaries), and audits token efficiency before delivering the final prompt. The Memory Block system preserves prior decisions across sessions. MIT licensed, free to use. Best for: developers and content creators who waste credits on vague, multi-iteration prompts. Works with: Claude Code, Claude.ai, compatible with any tool via SKILL.md format. --- ## How Prompt Master Works ### 12 Auto-Selected Templates Prompt Master automatically selects the optimal template based on your intent: | Template | Best For | |----------|---------| | RTF | Quick role-based tasks | | CO-STAR | Content creation with audience targeting | | RISEN | Multi-step process instructions | | Chain of Thought | Logic and reasoning tasks | | Few-Shot | Pattern-based generation | | File-Scope | Code file operations | | ReAct + Stop | Agentic workflows | | Visual Descriptor | Image generation (Midjourney, DALL-E) | | Reference Image Editing | Image modification prompts | | ComfyUI | Stable Diffusion workflows | | Prompt Decompiler | Reverse-engineer existing prompts | ### 30+ Supported AI Tools **Text/Code**: Claude, ChatGPT, Gemini, o1/o3, Cursor, GitHub Copilot, Windsurf, Codex **Image**: Midjourney, DALL-E, Stable Diffusion, Flux **Video**: Sora, Runway, Kling **Audio**: ElevenLabs, Suno **Automation**: Zapier, Make, n8n **Plus**: Universal Fingerprint for any unlisted tool ### 5 Safe Techniques Applied Automatically 1. **Role Assignment** — Sets the AI's persona and expertise level 2. **Few-Shot Examples** — Provides concrete input/output patterns 3. **XML Structural Tags** — Organizes complex prompts with clear sections 4. **Grounding Anchors** — Prevents hallucination with factual constraints 5. **Chain of Thought** — Adds step-by-step reasoning for logic tasks > Deliberately excludes hallucination-prone methods like Tree of Thought ### 35 Credit-Killing Patterns Detected Prompt Master flags and fixes common waste patterns including: - Vague task verbs ("help me with...", "do something about...") - Undefined audiences - Missing output formats - No scope boundaries - Missing CoT for logic-heavy tasks - Agentic pattern gaps (no stop conditions, no tool instructions) ### Memory Block System Preserves decisions across conversation sessions to prevent: - Contradicting earlier choices - Re-asking resolved questions - Losing context from prior iterations ### FAQ **Q: What is Prompt Master?** A: A Claude Code skill that generates optimized prompts for 30+ AI tools, catching 35 credit-killing patterns and applying 5 safe techniques to maximize prompt quality. **Q: Is Prompt Master free?** A: Yes, fully open source under the MIT license. **Q: How do I install Prompt Master?** A: Run `git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master` — no additional setup needed. --- ## Source & Thanks > Created by [nidhinjs](https://github.com/nidhinjs). Licensed under MIT. > > [prompt-master](https://github.com/nidhinjs/prompt-master) — ⭐ 4,800+ Thanks to nidhinjs for building a practical solution to the prompt quality problem that wastes millions in AI credits daily. --- ## Quick Use Install directly into Claude Code: ```bash mkdir -p ~/.claude/skills git clone https://github.com/nidhinjs/prompt-master.git ~/.claude/skills/prompt-master ``` Or, in the claude.ai browser app, upload the ZIP file to Skills. --- ## Introduction Prompt Master is a Claude Code skill with 4,800+ GitHub stars that generates optimized prompts for 30+ AI tools. It automatically detects the target tool, selects the best framework from 12 templates, catches 35 token-wasting patterns (vague verbs, missing audience, no scope boundaries), and audits token efficiency before delivery. A Memory Block system keeps decisions consistent across sessions. MIT open source. --- ## Core Features ### 12 Auto-Selected Templates RTF (quick tasks), CO-STAR (content creation), RISEN (multi-step), Chain of Thought (logical reasoning), Few-Shot (pattern generation), Visual Descriptor (image generation), and 12 more — automatically matched to intent. ### 30+ Supported AI Tools Covers text/code (Claude, ChatGPT, Cursor), image (Midjourney, DALL-E), video (Sora), audio (ElevenLabs), automation (Zapier, n8n), and more. ### 5 Safety Techniques Role assignment, few-shot examples, XML structured tags, factual anchoring, chain-of-thought reasoning. ### 35 Waste-Pattern Detections Automatically flags and fixes common issues like vague verbs, missing output format, and absent scope boundaries. --- ## Source & Thanks > Created by [nidhinjs](https://github.com/nidhinjs). Licensed under MIT. > > [prompt-master](https://github.com/nidhinjs/prompt-master) — ⭐ 4,800+ --- Source: https://tokrepo.com/en/workflows/prompt-master-zero-waste-ai-prompt-generator-skill-0994566a Author: Prompt Lab