What
Plugin validation checks a plugin before you use or share it. For the hook code that a plugin's hooks.json points to, it now:
- follows the files that code imports, not just the one file
- reports each WebAssembly (
.wasm) file with its size, sha256 checksum, imports and exports - flags code that may use Shader, which runs on the graphics card
- follows links and finds files whose names differ only in capital letters
- returns a structured list of modules
Why
Plugin authors get more detailed results when they check a plugin, and problems in imported files are no longer missed.
Names in the bundlehooks.json
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.
Added since
A small documentation edit on Extend Claude with skills touched a line naming hooks.json after this was published.
* **Claude skipped a rule that must hold every time**: move the rule into a [hook](https://code.claude.com/docs/en/hooks-guide.md) in a [settings file](https://code.claude.com/docs/en/hooks.md#hook-locations) or a plugin's `hooks/hooks.jso…skills see the edit
Confirmed since
Anthropic's documentation has since written up hooks.json, on Configure permissions.
That precedence covers hooks in settings files and in a plugin's `hooks/hooks.json`. A [mod](https://code.claude.com/docs/en/plugins/mods/overview.md) you install that handles the [`tool.check`](https://code.claude.com/docs/en/plugins/mods…permissions see the edit
One source agreesOne thing we can check says the same as this entry.
Anthropic's documentation agrees
Anthropic's documentation has since written up hooks.json, on Configure permissions.