Mods are small add-ons that change how Claude Code works and looks. Anthropic says a mod can rewrite a prompt, add new UI or replace a built-in feature, and that you can ask Claude Code to write one for you. They work in the Claude Code CLI and desktop app. Source: Customize Claude Code with mods.
Prompt Master is a mod that takes your lazy one-liner and turns it into a full prompt: a role, the task, who it's for, and the format.
The prompt
Open Claude Code (or the Code tab in the desktop app) and paste this:
Build me a Claude Code mod called Prompt Master, packaged as a plugin I can install with /plugin. What it does: 1. Draw a small band above the prompt with one button: "Prompt Master: OFF". Clicking it switches between ON and OFF. 2. When it's ON, rewrite every prompt I send before it reaches the model, like this: "Turn my request below into a full prompt with four parts: Role (who you should act as), Task (exactly what to make), Who it's for, and Format (length, structure and tone). Show me that full prompt first, then answer it. My request: <my original text>" 3. When it's OFF, leave my prompts alone. Keep it small and simple. When you're done, tell me how to install it and turn it on.
How to use it
- Install the plugin Claude makes with
/plugin. - Click the band so it says ON.
- Type something lazy, like "write a post about my shop", and send it.
- Claude shows you the full prompt (Role, Task, Who it's for, Format), then answers it.
Tips
- Turn it OFF for quick questions, ON when the answer matters.
- Mods run with the same access as Claude Code and aren't sandboxed. Only install mods from sources you trust.
Some links are affiliate links: I may earn a commission at no cost to you. Not affiliated with Anthropic.
