nidhinjs / prompt-master
git clone https://github.com/nidhinjs/prompt-master.git
A Claude skill that writes the accurate prompts for any AI tool. Zero tokens or credits wasted. Full context and memory retention
+72
stars, 24h Β· #539
+~509
stars, 7 days Β· #427
+~2.2k
stars, 30 days Β· #372
15k
β
total Β· +4% this week
1.7k
forks Β· 28 open issues
Star history (as recorded here)
LicenseMIT
Created2026-03-11 (7mo ago)
Last push1d ago
Watchers190
OwnerUser
GitHub topics
Links
- GitHub: github.com/nidhinjs/prompt-master
- Releases Β· Issues Β· Hacker News mentions
README excerpt
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) [code] ## π₯ 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: [code] [code] [code] [code] [code] [code] Or explicitly invoke it: [code] --- ## 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 [code] ### Generated Prompt [code] **π― Target:** Midjourney Β· **β‘ Framework:** Visual Descriptor Β· **π° Tokens:** Light (~60) Β· **π‘ Strategy:** Comma-separated descriptors over prose, lighting and mood anchored early, aspect ratio and version locked, negative prompt prevents style drift. --- ## Full Example #2: Generating Prompts for Coding ### User Input [code] ### Generated Prompt [code] **π― Target:** Claude Code Β· **π° Tokens:** Medium (~380) Β· **π‘ Strategy:** Every vague Notion aesthetic cue translated into exact hex values and pixel specs β Claude Code cannot guess wr