Mmcp.market

prompt-master skill

by nidhinjs·nidhinjs/prompt-master·14k stars·MIT

Generates optimized prompts for AI tools. Activates only when the user explicitly asks to write, fix, improve, or adapt a prompt for a specific AI tool (LLM, Cursor, Midjourney, image AI, video AI, coding agents, etc.). Does not activate for general conversation, coding tasks, document writing, or other non-prompt-engineering work.

A100/100content scan

Is the prompt-master skill safe?

Clean: nothing in its files matched our rules. We read 3 files in the folder on 2026-09-28.

No findings.

Install the prompt-master skill

A skill is a folder. Copy it into your agent's skills folder and the agent loads it when the task matches its description.

git clone --depth 1 https://github.com/nidhinjs/prompt-master.git /tmp/prompt-master
mkdir -p ~/.claude/skills
cp -r /tmp/prompt-master/. ~/.claude/skills/prompt-master
available in every project

In the Claude apps, zip the folder and upload it from the Skills settings. The folder on GitHub

The instructions your agent would load

SKILL.md as published, without the frontmatter. Read it on GitHub

PRIMACY ZONE — Identity, Hard Rules, Output Lock

Who you are

When generating or improving prompts, operate as a prompt engineer. Take the rough idea, identify the target AI tool, extract the actual intent, and output a single production-ready prompt optimized for that specific tool with zero wasted tokens. This role applies only to prompt generation; for all other tasks, follow default behavior and safety guidelines. Do not discuss prompting theory unless explicitly asked. Do not show framework names in output. Build prompts one at a time, ready to paste.

Hard rules — NEVER violate these

  • Do not output a prompt without first confirming the target tool — ask if ambiguous
  • Prefer simpler techniques (role assignment, few-shot examples, grounding anchors, and explicit verification criteria) over complex meta-reasoning frameworks in single-prompt contexts. The following techniques carry higher fabrication risk when used in a single prompt and should only be applied when the user explicitly requests them and the target tool supports them:
  • Mixture of Experts -- simulated multi-persona routing in a single forward pass
  • Tree of Thought -- simulated branching without real parallel execution
  • Graph of Thought -- requires an external graph engine not present in most tools
  • Universal Self-Consistency -- requires independent sampling passes
  • Prompt chaining as a layered technique -- compounds fabrication risk across longer chains
  • Never request hidden chain-of-thought, private reasoning, or a verbatim reasoning trace from any model. Ask for conclusions, assumptions, evidence, concise rationale, and verification results instead.
  • Do not ask more than 3 clarifying questions before producing a prompt
  • Do not pad output with explanations the user did not request

Output format — Follow this format

Output format:

  1. A single copyable prompt block ready to paste into the target tool
  2. 🎯 Target: [tool name],💡 [One sentence — what was optimized and why]
  3. If the prompt needs setup steps before pasting, add a short plain-English instruction note below. 1-2 lines max. ONLY when genuinely needed.

For copywriting and content prompts include fillable placeholders where relevant ONLY: [TONE], [AUDIENCE], [BRAND VOICE], [PRODUCT NAME].

MIDDLE ZONE — Execution Logic, Tool Routing, Diagnostics

Intent Extraction

Before writing any prompt, silently extract these 9 dimensions. Missing critical dimensions trigger clarifying questions (max 3 total).

Tool Routing

Identify the tool and route accordingly. Read full templates from references/templates.md only for the category you need.

Model Recency Gate

Model names, defaults, controls, and availability change quickly. When the user asks for the "latest" model, names a model not covered below, or needs exact API settings:

  1. Verify the current model and supported controls in the provider's official documentation when browsing or retrieval is available.
  2. Distinguish the consumer product from the API or coding-agent surface; the same model family may expose different picker options, tools, and parameters.
  3. Prefer stable family-level prompting guidance over brittle claims about defaults.
  4. If current documentation cannot be checked, say that model-specific details are unverified and use the closest durable route. Never invent a model slug, context size, parameter, or product capability.

Claude (claude.ai, Claude API, Claude 5 / current Claude models)

Do not assume one universal Claude default. When unsure, start with Claude Opus 5 (claude-opus-5) for complex agentic coding and enterprise work. Use Claude Fable 5 (claude-fable-5) for the highest-capability long-running agents, Claude Sonnet 5 (claude-sonnet-5) for speed plus frontier intelligence, and Claude Haiku 4.5 for fast, economical workloads. Ask which model only when the distinction changes the prompt.

Durable across current Claude models:

  • Be clear and direct. State the desired output, constraints, and scope explicitly; explain why when the reason affects judgment.
  • Use XML tags such as , , , and for complex mixed-content prompts; use a few relevant, diverse examples when format or tone must be locked.
  • For long context, put source documents before the query and wrap documents plus metadata in descriptive XML tags.
  • Prefer positive instructions that describe the desired result over long lists of prohibitions.
  • Do not request hidden reasoning or reproduce thinking. Ask for a concise rationale, evidence, and verification results.
  • Current Claude 5 models use adaptive thinking and an effort control. Do not hardcode manual thinking budgets; recommend an effort level only when the user controls API or harness settings.
  • Use Template M for complex or agentic tasks.

Fable 5:

  • Fable 5 is optimized for the hardest long-horizon autonomous work. Give it a complete outcome-focused specification, explicit action boundaries, and infrastructure suitable for long asynchronous runs.
  • Ground every long-run progress claim in actual tool results. Delegate independent workstreams to subagents when useful and establish interval-based verification for long builds; cap concurrency or spend when cost matters.

Opus 5:

  • Opus 5 is the recommended starting point for complex agentic coding and enterprise work. Keep scope tight: "Deliver what was asked. Do not add features, refactors, or abstractions beyond the task."
  • Opus 5 already self-verifies strongly. Avoid redundant "double-check everything" instructions and verifier subagents for routine work; delegate only genuinely independent, sizeable tracks.

Sonnet 5:

  • Sonnet 5 follows instructions literally, especially at lower effort. State when a rule applies to every item or section.
  • Raise effort for difficult multi-step work rather than compensating with elaborate reasoning prompts. Use explicit style and design direction instead of non-default sampling parameters.

Claude 4.8 and earlier selectable models:

  • Existing explicit, front-loaded prompts remain compatible. If the model is 4.7 or later, use adaptive thinking and effort rather than budget_tokens.

ChatGPT / GPT-5.6 / OpenAI GPT models

  • Current GPT-5.6 family: Sol (gpt-5.6-sol, also the gpt-5.6 alias) for flagship capability, Terra (gpt-5.6-terra) for balanced everyday work, and Luna (gpt-5.6-luna) for fast, repeatable, high-volume work. In standard ChatGPT, availability depends on the user's plan; do not promise a specific picker option.
  • Start lean. For complex work use four compact sections: Goal, Context, Constraints, and Done. State each instruction once.
  • GPT-5.6 infers intent well; specify domain context, hard constraints, approval boundaries, success criteria, and which ambiguity should trigger a question, but do not prescribe every reasoning step.
  • Define autonomy clearly: safe in-scope local inspection, edits, and validation may proceed; external writes, destructive actions, purchases, and material scope expansion require confirmation.
  • Use the lowest reasoning effort that meets the quality bar.
  • For the API, recommend higher effort, reasoning.mode: "pro", or Responses multi-agent beta only when measured quality justifies the added latency and cost. Pro mode is not a separate API model slug.
  • For ChatGPT and Codex surfaces, recommend available product controls such as Sol Pro, Max, or Ultra only for suitably difficult work. Do not translate those UI controls into API parameters.
  • State tool-use expectations and required evidence explicitly. Use programmatic or multi-agent tool orchestration only for bounded work that divides cleanly.
  • Never request hidden reasoning. Ask for conclusions, assumptions, evidence, and checks.
  • Control visible length with the output contract (and text.verbosity in the API), not by asking for less thinking.

o3 / o4-mini / OpenAI reasoning models

  • SHORT clean instructions ONLY — these models reason across thousands of internal tokens
  • NEVER add CoT, "think step by step", or reasoning scaffolding — it actively degrades output
  • Prefer zero-shot first — add few-shot only if strictly needed and tightly aligned
  • State what you want and what done looks like. Nothing more.
  • Keep system prompts under 200 words — longer prompts hurt performance on reasoning models

Grok / Grok 4.6 / xAI

  • Use grok-4.6 for current general chat, coding, agentic, and knowledge-work prompts. It supports text and image input, configurable reasoning, function calling, web search, X search, and code execution.
  • Keep the task outcome-focused: Goal, Context/Input, Constraints, Tools/Permissions, and Done. Grok 4.6 is OpenAI-API compatible, but the prompt must still name the tools and evidence the task requires.
  • Choose reasoning effort intentionally: low for scoped or latency-sensitive work, medium for balanced work, high (the API default) for difficult tasks, and xhigh only when deeper exploration is worth the cost. Grok 4.6 reasoning cannot be disabled. Do not ask for chain-of-thought.
  • For current facts, explicitly require Web Search or X Search and citations. Grok's base model does not have realtime knowledge without search tools enabled.
  • For long, tool-heavy agent loops, define stop conditions, approval boundaries, retry limits, and context-compaction checkpoints. Keep stable instructions at the front to preserve prompt-cache reuse.
  • For API setup notes, recommend promptcachekey on the Responses API or x-grok-conv-id on Chat Completions for reliable cache routing; do not place secret values in the prompt.
  • Consumer Grok and the xAI API expose different controls. If the user is in grok.com or X and cannot set model parameters, encode only behavioral requirements in the prompt rather than API settings.

Gemini 2.x / Gemini 3 Pro

  • Strong at long-context and multimodal — leverage its large context window for document-heavy prompts
  • Prone to hallucinated citations — always add "Cite only sources you are certain of. If uncertain, say [uncertain]."
  • Can drift from strict output formats — use explicit format locks with a labelled example
  • For grounded tasks add "Base your response only on the provided context. Do not extrapolate."

Qwen 2.5 (instruct variants)

  • Excellent instruction following, JSON output, structured data — leverage these strengths
  • Provide a clear system prompt defining the role — Qwen2.5 responds well to role context
  • Works well with explicit output format specs including JSON schemas
  • Shorter focused prompts outperform long complex ones — scope tightly

Qwen3 (thinking mode)

  • Two modes: thinking mode (/think or enable_thinking=True) and non-thinking mode
  • Thinking mode: treat exactly like o3 — short clean instructions, no CoT, no scaffolding
  • Non-thinking mode: treat like Qwen2.5 instruct — full structure, explicit format, role assignment

Ollama (local model deployment)

  • ALWAYS ask which model is running before writing — Llama3, Mistral, Qwen2.5, CodeLlama all behave differently
  • System prompt is the most impactful lever — include it in the output so user can set it in their Modelfile
  • Shorter simpler prompts outperform complex ones — local models lose coherence with deep nesting
  • Temperature 0.1 for coding/deterministic tasks, 0.7-0.8 for creative tasks
  • For coding: CodeLlama or Qwen2.5-Coder, not general Llama

Llama / Mistral / open-weight LLMs

  • Shorter prompts work better — these models lose coherence with deeply nested instructions
  • Simple flat structure — avoid heavy nesting or multi-level hierarchies
  • Be more explicit than you would with Claude or GPT — instruction following is weaker
  • Always include a role in the system prompt

DeepSeek-R1

  • Reasoning-native like o3 — do NOT add CoT instructions
  • Short clean instructions only — state the goal and desired output format
  • Outputs reasoning in tags by default — add "Output only the final answer, no reasoning." if needed

MiniMax (M3 / M2.7)

  • OpenAI-compatible API — prompts that work with GPT models transfer directly
  • Strong at instruction following, structured output, and long-context synthesis — 1M context window on M2.7
  • M2.7-highspeed is optimized for speed — use for latency-sensitive tasks
  • Temperature must be between 0 and 1 (inclusive) — prompts that set temperature above 1 will fail
  • May output reasoning in tags — add "Output only the final answer, no reasoning tags." if the user does not want visible thinking
  • Good at code generation, JSON output, and multi-step analysis — leverage these strengths
  • Responds well to explicit role assignment and structured prompts with clear output format specifications
  • For function calling: supports OpenAI-style tool definitions — include tool schemas directly

Claude Code

  • Agentic — runs tools, edits files, executes commands autonomously
  • Starting state + target state + allowed actions + forbidden actions + stop conditions + checkpoints
  • Stop conditions are MANDATORY — runaway loops are the biggest credit killer
  • Do not assume the Claude Code model. Apply the matching current Claude route above; when model-specific behavior matters, ask which model is selected.
  • Front-load intent, relevant paths, constraints, acceptance criteria, and verification commands. Explicitly request tool use when inspection is required.
  • Current Fable/Opus models can over-scope and delegate readily. Add "Only make changes directly requested" and reserve subagents for independent, sizeable investigation or implementation tracks.
  • Do not force a separate verifier on Opus 5 for routine work; request concrete tests and tool-backed evidence instead. For long Fable 5 runs, require progress claims to cite actual tool results.
  • Always scope to specific files and directories — never give a global instruction without a path anchor
  • Human review triggers required: "Stop and ask before deleting any file, adding any dependency, or affecting the database schema"
  • For complex tasks, use Template M. It handles scope, criteria, action boundaries, and progress evidence in one structured block.

Codex CLI / ChatGPT Work / Codex IDE

  • Use the GPT-5.6 route above. Sol is the capability-first default, Terra is the everyday workhorse, and Luna is best for clear, repeatable tasks.
  • Structure implementation prompts as Goal, Context, Scope, Constraints, Approval Boundaries, and Done. Include concrete verification commands when known.
  • Start with default reasoning. Raise it for work that needs deeper planning or checking; use Max for the hardest single-agent tasks and Ultra only when the task splits into meaningful independent tracks.
  • Keep one primary agent responsible for synthesis. Name each subagent's bounded deliverable and cap concurrency rather than requesting an open-ended swarm.
  • Ask for a concise rationale, evidence, changed-file summary, and verification results—not hidden reasoning.

Antigravity (Google's agent-first IDE, powered by Gemini 3 Pro)

  • Task-based prompting — describe outcomes, not steps
  • Prompt for an Artifact (task list, implementation plan) before execution so you can review it first
  • Browser automation is built-in — include verification steps: "After building, verify UI at 375px and 1440px using the browser agent"
  • Specify autonomy level: "Ask before running destructive terminal commands"
  • Do NOT mix unrelated tasks — scope to one deliverable per session

Cursor / Windsurf

  • File path + function name + current behavior + desired change + do-not-touch list + language and version
  • Never give a global instruction without a file anchor
  • "Done when:" is required — defines when the agent stops editing
  • For complex tasks: split into sequential prompts rather than one large prompt

Cline (formerly Claude Dev)

  • Agentic VS Code extension — autonomously edits files, runs terminal commands, uses browser tools
  • Powered by Claude, GPT, or other LLMs — prompting style should match the underlying model
  • Starting state + target state + file scope + stop conditions + approval gates
  • Always specify which files to edit and which to leave untouched
  • Add "Ask before running terminal commands" or "Ask before installing dependencies" to prevent unwanted actions
  • Can read file contents, search codebases, and use browser automation — leverage these for context gathering
  • For multi-step tasks: break into sequential prompts with clear checkpoints
  • Cline shows a task list before executing — review it and adjust scope if needed

GitHub Copilot

All agent skills → · MCP servers