Hi, it's Ivo. Mods are new in Claude Code, and they are useful. They are also code that runs with your permissions. Anthropic's own docs say a mod can read your secrets, "including an API key you keep in either" an environment variable or a settings file. This sheet is the check I'd run before I install one.
1. Run the one command (before you install)
Get the mod's files first, for example by cloning its repository. Then, in your shell:
claude plugin validate ./some-mod
It reads the mod's code without running it. Look at these lines in the output:
- hooks: the events the mod receives.
tool.callandprompt.submitmean it sees every tool call and every prompt, and can change them. - calls: what the mod asks Claude Code to do: files, programs, the network.
- env reads: the name of each environment variable it reads. If you see
ANTHROPIC_API_KEYor any other key, ask why. - env writes: each variable it sets for Claude Code and everything it starts afterward.
"✔ Validation passed" is not a safety stamp. A 7-line test mod, made for this sheet on 5 November 2026, reads ANTHROPIC_API_KEY and sends it to a web address. The command named the key in env reads: and still printed "✔ Validation passed". Passed means the files are put together correctly. You still read the lines.
2. The 9 calls to look for
From Anthropic's list in "Review what a mod can do". Find them on the calls: line:
$.fs.read,$.fs.write: reads or writes files anywhere you can.$.process.run,$.process.spawn: starts programs as you.$.http.fetch: makes network requests.$.env.get,$.settings.read: reads environment variables and settings, which can hold API keys.$.env.set: sets a variable for Claude Code and every command and MCP server it starts afterward.$.mcp.call: calls a tool on a connected MCP server.$.model.complete: uses your plan or API key for model calls.$.prompt.submit: submits a prompt, and can send it as your own words.$.session.send: sends a message that another session, subagent or teammate reads.
My rule of thumb: a key read ($.env.get or $.settings.read) plus $.http.fetch in the same mod needs a reason you can explain. If you can't tell what a line does, skip the mod.
3. Five checks before you type install
- [ ] The author or marketplace is one you trust. Anthropic says to install mods only from those.
- [ ] You ran
claude plugin validateon the folder and read everyhooks:andcalls:line. - [ ] Every key on the
env reads:line has a reason that fits what the mod says it does. - [ ] Nothing on the list surprises you for a mod that, say, only draws a chart.
- [ ] You know how to turn it off again (next section).
4. How to turn a mod off
- One mod: run
/plugin, go to the Installed tab, and disable or uninstall its plugin. - Every installed mod, for one session: start Claude Code with
--safe-mode. It also turns off your other customizations. - Every mod you installed, in every session: set
"disableAllHooks": truein~/.claude/settings.json. Your settings hooks and custom status line stop too. - See what loaded: run
/plugin. A dim line under the tabs shows the count and names, like1 mod active · first-mod.
The honest limits
validatelists what a mod's code asks for. It doesn't tell you whether the author means well.- Mods aren't sandboxed. Even with Claude Code's sandboxing on, a process a mod starts runs outside it.
- Mods need Claude Code v2.1.287 or later in the terminal. Commands and versions are as of 5 November 2026 and can change.
- Sources: Mods overview and Manage mods for your organization, Anthropic, read 5 Nov 2026.