Hi, it's Ivo. A mod is a small add-on that changes how Claude Code itself looks and works. You don't write the code: you describe the mod in plain English and Claude writes it. Here are the three things a mod can do that most people haven't tried, one prompt for each, and the one command to run before you install a mod someone else made.
Before you start
- Your version. Mods came in Claude Code v2.1.287 (October 1, 2026) and are on by default. In your shell, run
claude --version. If it's older, update Claude Code. In the Desktop app, mods work from v2.1.286. - Where they work. In
claudein a terminal, in the Code tab of the Desktop app and in the VS Code extension. A mod draws nothing inclaude -pruns or cloud sessions. - How Claude writes one. Claude Code has a built-in skill for it,
plugin-authoring. Ask for a mod in your own words. Claude Code asks you to approve each file it creates. When it asks about the session, choose Enable for this session. The mod loads when Claude finishes the turn. Type/pluginand open the Installed tab to see it or turn it off.
The 3 things mods do
- Sessions talk to each other. A mod can send a plain-text message to another of your Claude Code sessions. So one session plans, and the other one gets the plan and builds. The docs line: "A mod can send a plain-text message to another of your sessions."
- Your own panel inside Claude Code. A mod can draw a pane beside the chat or a band above the prompt, with tabs, buttons and text fields. Anthropic's sample
token-weatherdraws a forecast of your context window above the prompt. The sampleblast-radiusholds a risky command likerm -rfand shows what it would change, with buttons to proceed or cancel. - Easy requests go to a cheaper model. A mod can step into a request before it goes out and send it to a different model, such as Haiku. The docs example sends the request on with
model: 'haiku'.
3 prompts to paste into Claude Code
Paste one at a time, in a project folder. Read what Claude wrote before you turn the mod on.
Prompt 1: The handoff between two sessions
Make a mod with two commands. /myid shows this session's ID. /handoff followed by another session's ID sends that session a short message with the plan we just agreed on, as a numbered list, and asks it to start on step 1. Show me a toast if the message wasn't delivered. When you're done, tell me in plain words what this mod can read and what it can change.
How to use it: open two Claude Code sessions. In the second one, type /myid and copy the ID. In the first one, plan the work with Claude, then type /handoff and paste the ID.
Prompt 2: A panel with what Claude is doing right now
Make a mod that draws a small pane beside the chat. It shows what you're doing right now in one line, the files you've changed in this session, and how full the context window is as a percentage. Add one button that hides the pane. Keep it quiet and small. When you're done, tell me in plain words what this mod can read and what it can change.
Prompt 3: Easy requests to Haiku
Make a mod that sends short, simple requests, like renaming a file or a one-line question, to Haiku, and keeps everything else on my normal model. Show a small "Haiku" tag next to the spinner whenever a request went to Haiku. When you're done, tell me in plain words what this mod can read and what it can change.
Start with the docs' own first example if you want something even smaller: make a mod that shows the current git branch above the prompt.
The check before you install a mod someone else made
A mod runs with your permissions. It can read and write your files, start programs, make network requests and read the API keys in your environment variables and settings. Mods aren't sandboxed. So before you install one:
- Get its files first, for example by cloning its repository.
- In your shell, run
claude plugin validate ./the-mod-folder. - Read the two lines it prints.
hooks:lists the events the mod listens to.calls:lists what it asks Claude Code to do. Look for$.fs.reador$.fs.write(files),$.process.run(starts programs),$.http.fetch(network) and$.env.getor$.settings.read(can reach your API keys).
If something on that list doesn't match what the mod says it does, don't install it.
How to switch mods off
- One mod:
/plugin, the Installed tab, disable or uninstall it. - All your mods for one session: start Claude Code with
--safe-mode. - All your mods everywhere: set
"disableAllHooks": truein~/.claude/settings.json.
Sources (opened November 5, 2026)
- Mods overview: https://code.claude.com/docs/en/plugins/mods/overview
- Send and receive messages between sessions: https://code.claude.com/docs/en/plugins/mods/api
- Send a request to a different model: https://code.claude.com/docs/en/plugins/mods/events
- Ask Claude for a mod: https://code.claude.com/docs/en/plugins/mods/create
- Review what a mod can do: https://code.claude.com/docs/en/plugins/mods/admin
- Claude Code changelog, v2.1.287 "Added Claude Mods": https://github.com/anthropics/claude-code/blob/main/CHANGELOG.md
- Sample mods: https://github.com/anthropics/claude-code-playground/tree/main/claude-code/mods
I'm Ivo Nikolov. I build shadow operators: AI that runs the work behind a business. One small AI step a day on Instagram, @inikolov.