Sweep 19 Sep 2026 · 02:36Z Build v2.1.278 500 read Stable v2.1.267 Latest v2.1.278 Next v2.1.278 Feeds RSS JSON llms.txt Unofficial
Claude Code v2.1.271 ·

Hooks modules can now declare load-order dependencies on each other

Hooks modules can now declare dependencies that control their load order

TierUse it nowhow much it should matter to you
Useful4my rating, 1 to 5
Signal2worth watching, 1 to 5
AreaHookswhat it touches
KindNew Featuresin v2.1.271,
Use it now

Hooks modules can now declare dependencies that control their load order

What

Hooks modules (packages of automated scripts that run at certain points in Claude Code) can now declare a dependencies field in their manifest, saying which other hooks modules they depend on. Claude Code computes a load order from these dependencies so that a module loads after the modules it depends on, within the same tier. If two modules depend on each other in a cycle, Claude Code detects this, refuses to load them that way, and shows a warning.

Why

This lets hooks modules that build on each other load in a predictable, correct order, and prevents a circular dependency from causing undefined or broken behavior.

Read from
Names in the bundledependencies
Since it was published

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.

Confirmed since Anthropic's documentation has since written up dependencies, on Create and distribute a plugin marketplace. Claude Code copies each installed plugin into the local versioned plugin cache at `~/.claude/plugins/cache`, unless the plugin loads in place. A [`command` source in link mode](#copy-mode-and-link-mode) loads in place, and so does a [relat… plugin-marketplaces see the edit
Added since A small documentation edit on Configure cloud environments touched a line naming dependencies after this was published. * **No cloud-only scoping**: hooks run in both local and cloud sessions. To skip local execution, exit early unless the `CLAUDE_CODE_REMOTE` environment variable is `true`, the way the [dependency install script](#install-dependencies-with… cloud-environments see the edit
How sure we are
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agreesA small documentation edit on Configure cloud environments touched a line naming dependencies after this was published.

See this entry in the whole of v2.1.271 →