NachschlagenQuellenregister

Dokumentationerreichbar

Manage mods for your organization (Claude Code Docs, Anthropic)

code.claude.com (externe Seite)

Mods in Organisationen: über verwaltete Einstellungen eigene Mods erzwingen, fremde abschalten und prüfen, was ein Mod darf.

geprüft 22.11.2026

Worauf sich diese Seite beruft, wörtlich, abgerufen am 12.10.2026:

  • Claude Code refuses to load a mod that uses the mods API in a way this command can’t read.bestätigt 22.11.2026
  • With the guard loaded, by default a user’s mod can’t approve a call that a deny rule refuses or an ask rule prompts for, whichever settings file holds the rule.steht dort nicht mehr
  • a mod can still read that file with $.fs.readbestätigt 22.11.2026
  • None of these controls sandboxes a mod.bestätigt 22.11.2026
  • Settings hooks keep working.steht dort nicht mehr
  • Command, HTTP, prompt, and agent hooks in settings files and in plugins’ hooks/hooks.json run as before, alongside mods.steht dort nicht mehr
  • Before v2.1.288, the variable stopped every mod’s $.http.fetch request.bestätigt 22.11.2026
  • If the call goes ahead and a mod rewrites it, your managed hooks run again on the rewritten call, so by default they can still block it.bestätigt 22.11.2026
  • Calls a tool on a connected MCP server, with no permission prompt.steht dort nicht mehr
  • The mod can’t approve a call that any PreToolUse hook blocked, either.steht dort nicht mehr
  • Outside what you manage, a user’s mod acts as that user.steht dort nicht mehr
  • A session that runs on a long-lived CLAUDE_CODE_OAUTH_TOKEN doesn’t count as that login eitherbestätigt 22.11.2026
  • Only your organization’s mods and the mods built into Claude Code load.bestätigt 22.11.2026
  • a hook that a user’s mod registers on one of these events never runs, and /plugin tells that user so in a notebestätigt 22.11.2026
  • It requires Claude Code v2.1.299 or later.bestätigt 22.11.2026
  • The guard loads when either of these is truebestätigt 22.11.2026
  • The machine has managed settings or a managed-mcp.json filebestätigt 22.11.2026
  • keeps mods Claude writes during a session from loadingbestätigt 22.11.2026
  • and a mod Claude wrote during a sessionbestätigt 22.11.2026
  • The setting also blocks hooks in users’ own settings files.bestätigt 22.11.2026
  • Your organization’s policy doesn’t allow WebFetch: Claude Code also refuses every mod’s $.http.fetch request.bestätigt 22.11.2026
  • mods can still make $.http.fetch requests.bestätigt 22.11.2026
  • None of these covers a program the mod starts with $.process.run, which reaches the network with the user’s own access.bestätigt 22.11.2026
  • A mod Claude writes during a session loads only when the allowlist includes skills-dir.bestätigt 22.11.2026

08 Berechtigungen und Rechtemodi18 Hooks und Mods

Alle Quellen

↑↓ auswählenEnter öffnenDie Suche läuft im Browser. Nichts wird übertragen.