prompt-master

prompt-master is a skill for Claude Code, Codex from alexdcd/Mafia-Claude-Skills. It costs 49 tokens per session (4,950 once invoked), scanned B, original, Apache-2.0.

A prompt-writing assistant that turns a rough request into a ready-to-use prompt for a chosen AI tool. It supports prompts for language models, coding tools, image generators, video tools, and other AI systems.

In plain words
What is it for?
Use it to write, improve, fix, or adapt prompts for coding agents, chat models, image generators, video generators, and similar AI tools.
Why use it?
It helps remove guesswork when a prompt is unclear, incomplete, or aimed at the wrong tool. It first confirms which AI tool the prompt is for and then adapts the wording to it.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for cline. Also seen: mentions Claude Code; built for cline.

Good fit Use it to write, improve, fix, or adapt prompts for coding agents, chat models, image generators, video generators, and similar AI tools.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/alexdcd/mafia-claude-skills/prompt-master
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add alexdcd/Mafia-Claude-Skills --skill prompt-master
Clone the repo
git clone --depth 1 https://github.com/alexdcd/Mafia-Claude-Skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for prompt-master

README.md
[![agentmods](https://agentmods.dev/badge/skills/alexdcd/mafia-claude-skills/prompt-master/github.svg)](https://agentmods.dev/skills/alexdcd/mafia-claude-skills/prompt-master)
Your own site
<a href="https://agentmods.dev/skills/alexdcd/mafia-claude-skills/prompt-master"><img src="https://agentmods.dev/badge/skills/alexdcd/mafia-claude-skills/prompt-master/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for prompt-master

Your own site · 80×15
<a href="https://agentmods.dev/skills/alexdcd/mafia-claude-skills/prompt-master"><img src="https://agentmods.dev/badge/skills/alexdcd/mafia-claude-skills/prompt-master.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,950 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.04950
Opus 5 $0.00024 $0.02475
Sonnet 5 $0.00010 $0.00990
Haiku 4.5 $0.00005 $0.00495

Measured 11d ago against content hash 6b039a05b536, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade B, and why

prompt-master scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 11d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Asks the agent to reveal its instructionsmediumSystem prompt leakage

Directions to print, repeat or translate the system prompt extract configuration the operator did not intend to expose.

- For complex tasks: split into sequential prompts. Output Prompt 1 and add "➡️ Run this first, then ask for Prompt 2" below it. If user asks for the full prompt at once, deliver all parts combined with clear section bre
Origin

Copies of this mod

1 near-identical copy found in the catalogue:

skills/prompt-master/SKILL.md · 415 lines

How it starts

The opening of the file, as written. The whole thing — 415 lines — stays where its author put it; the contents beside it link to each section on GitHub.

PRIMACY ZONE — Identity, Hard Rules, Output Lock

Who you are

You are a prompt engineer. You take the user's rough idea, identify the target AI tool, extract their actual intent, and output a single production-ready prompt — optimized for that specific tool, with zero wasted tokens. You NEVER discuss prompting theory unless the user explicitly asks. You NEVER show framework names in your output. You build prompts. One at a time. Ready to paste.


Hard rules — NEVER violate these

  • NEVER output a prompt without first confirming the target tool — ask if ambiguous
  • NEVER embed techniques that cause fabrication in single-prompt execution:
    • Mixture of Experts — model role-plays personas from one forward pass, no real routing
    • Tree of Thought — model generates linear text and simulates branching, no real parallelism
    • Graph of Thought — requires an external graph engine, single-prompt = fabrication
    • Universal Self-Consistency — requires independent sampling, later paths contaminate earlier ones
    • Prompt chaining as a layered technique — pushes models into fabrication on longer chains
  • NEVER add Chain of Thought to reasoning-native models (o3, o4-mini, DeepSeek-R1, Qwen3 thinking mode) — they think internally, CoT degrades output
  • NEVER ask more than 3 clarifying questions before producing a prompt
  • NEVER pad output with explanations the user did not request

Output format — ALWAYS follow this

Your output is ALWAYS:

  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

Read the full file on GitHub · 415 lines

Files

What ships with it

4 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 11d ago First seen · 415 lines · 49 tokens per session scan B 6b039a05b536

Subscribe to this mod's changes

prompt-master is a skill published in the GitHub repository alexdcd/Mafia-Claude-Skills (50 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 49 tokens to every session and 4,950 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 1 finding (asks the agent to reveal its instructions). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

agent-platform-prompt-management

Manages and orchestrates prompts in Agent Platform. Use when you need to create, list, retrieve, version, or delete managed prompts in Agent Platform. Don't use for model training, model deployment to endpoints, or managing non-Agent Platform prompts.

google/skills · 55 tokens

gemini-api-dev

Use this skill when writing code that calls the Gemini API for text generation, multi-turn chat, multimodal understanding, image generation, video generation, streaming responses, background research tasks, function calling, structured output, or migrating from the old generateContent API. Covers SDK usage and best…

google-gemini/gemini-skills · 73 tokens

ml-kit-genai-prompt-api

Analyzes Android codebases to implement ML Kit GenAI Prompt API. Use this skill to send natural language requests on-device to Gemini Nano, use structured output with Prompt API, implement prefix caching, optimize the current prompt, or apply best practices.".

android/skills · 57 tokens

prompt-engineering

Provides workflows to write, debug, and optimize prompts for LLMs, including few-shot example selection, chain-of-thought structuring, system prompt design, and template composition. Use when the user asks to write or improve a prompt, wants help with few-shot examples, chain-of-thought, system prompts, prompt…

giuseppe-trisciuoglio/developer-kit · 82 tokens

langchain4j-tool-function-calling-patterns

Provides and generates LangChain4j tool and function calling patterns: annotates methods as tools with @Tool, configures tool executors, registers tools with AiServices, validates tool parameters, and handles tool execution errors. Use when building AI agents that call tools, define function specifications, manage…

giuseppe-trisciuoglio/developer-kit · 82 tokens

prompt-lab

LLM prompt engineering: analyzes failure modes, generates variants (direct, few-shot, CoT), designs rubrics, produces test suites. Triggers on: "prompt engineering", "generate prompt variants", "A/B test prompts", "optimize prompt", "improve this prompt". NOT for SKILL.md files, use skill-evaluator.

Mathews-Tom/armory · 74 tokens