Manage mods for your organization changedplugins/mods/admin
Nearest release: v2.1.334, published 6 hours before upstream edited the page. Shown because the two are within 24 hours of each other. Nothing here says the release caused the edit.
Upstream edited this page at 2 Dec 2026 01:22 UTC, give or take a minute or two: the time comes from Anthropic’s own sitemap rather than from a commit. This site recorded the change at 2 Dec 2026 01:37 UTC.
Upstream edited
Recorded here
Lines+4added
Lines−2removed
From line
96
where the diff opens
First seen
1 Oct 2026
this site's first read of the page
Recorded edits29to this page, all time
The whole hunk
from line 96, old and new numbered
/
from line 96
9696* **Plugin controls cover mods.** A mod is a plugin, so the [settings that restrict what users can install](https://code.claude.com/docs/en/plugins/org.md#restrict-what-users-can-install), such as `strictKnownMarketplaces`, decide whether it can be installed at all.
9797* **The permission prompt appears as Claude Code draws it.** For what a mod can redraw, see [Change what Claude Code already draws](https://code.claude.com/docs/en/plugins/mods/interface.md#change-what-claude-code-already-draws).
9898* **Trust prompts come first.** In an interactive session in a directory the user hasn't trusted yet, no mod loads until they answer the trust prompt.
99* **`--safe-mode` turns installed mods off, yours included.** Start a session with `claude --safe-mode` to check whether a mod caused a problem.
99* **[Your organization's mods](#install-your-organizations-mods) stay on in safe mode from v2.1.326.** Users' mods are off, so start a session with `claude --safe-mode` to check whether one caused a problem.
100100
101101None of these controls sandboxes a mod. A mod you allow runs as the user, with the user's access to files, processes, and the network.
102102
from line 445
445445
446446To send the audit lines somewhere other than the debug log, call `$.http.fetch` from the same hooks.
447447
448A session can run without your mod. If the worker thread that runs installed mods [crashes three times](https://code.claude.com/docs/en/plugins/mods/troubleshoot.md#mods-that-run-in-the-hooks-worker-are-off-for-this-session), Claude Code unloads every mod that isn't built in, including yours, until the user runs `/reload-plugins` or starts a new session. And a user who starts Claude Code with `--safe-mode` runs without installed mods, yours included.
448> [!WARNING]
449>
450> A session can run without your mod. If the worker thread that runs installed mods [crashes three times](https://code.claude.com/docs/en/plugins/mods/troubleshoot.md#mods-that-run-in-the-hooks-worker-are-off-for-this-session), Claude Code can unload every mod that isn't built in, including yours. Those mods stay off until the user runs `/reload-plugins` or starts a new session. For safe mode, see [Know which controls still apply](#know-which-controls-still-apply).
449451
450452[Create a mod](https://code.claude.com/docs/en/plugins/mods/create.md) covers the files a mod needs. [Test a policy mod](https://code.claude.com/docs/en/plugins/mods/test.md#test-a-mod-that-judges-other-mods) has a test file for this policy mod.
451453
No line in this hunk matches that.