Unclear When this note is shown was not stated.
What
Hooks are commands that run automatically at certain moments, such as when Claude uses a tool. Claude Code can run your machine's hooks for cloud sessions, sessions running on a remote machine, and several messages about this changed:
- Consent dialog: the title is now "Run this machine's hooks for cloud sessions?", where it used to be "Let cloud sessions started from this machine run its hooks?". The answers are "Yes, run hooks for cloud sessions", "No, don't run hooks for cloud sessions" and "Not now". It points to
/hooksfor changing your choice, and warns that hooks run here only while Claude Code stays connected and answers in time, and that a hook which blocks a command here won't block it there. - Older copies: the warning for a hook that is an older copy now ends "the cloud will not run it. Update it." instead of "Update it from dotfiles." This case may now be reported the same way as hooks that run on this machine instead.
- Hooks that would run in the cloud session: this warning is shorter and no longer gives a hook count or a long explanation.
- Changed hook files: the warning now reads "changed since it was registered for this cloud session, so it won't run. If you edited it, restart claude --cloud. If not, check the file."
/hooks: hooks that are not currently registered show "not registered right now; reopen /hooks to check again".
Why
The wording is shorter and spells out that local hooks are best effort for cloud sessions: they may not run, and they cannot block a command in the cloud.
The entry above is what we published on the day. These lines were added later, as Anthropic's own pages caught up, and they sit beside the original rather than replacing it.
The shell commands Claude runs, your [Claude Code hooks](/docs/en/hooks), and stdio MCP servers inherit the session's environment and run as the same user as Claude Code. As a result, they can read credential variables and credential files.self-hosted-environments-configuration see the edit
When you submit a plugin to the directory, the portal derives the surfaces it supports from these same rules and shows them to you before you submit. The directory lists a [mod](https://code.claude.com/docs/en/plugins/mods/overview), which…plugins/platform-support see the edit
When this note is shown was not stated.
A small documentation edit on Plugin feature support across platforms touched a line naming /hooks after this was published.