Follow Discord
Sweep 03 Dec 2026 · 19:13Z Build v2.1.336 553 read Stable v2.1.332 Latest v2.1.336 Next v2.1.336 Feeds RSS JSON llms.txt llms-full.txt Unofficial
One change · claude-code

Troubleshoot a mod changedplugins/mods/troubleshoot

Nearest release: v2.1.335, published under an hour 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 22:53 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 23:07 UTC.

Upstream edited
Recorded here
Lines+3added
Lines−3removed
From line 39 where the diff opens
First seen 1 Oct 2026 this site's first read of the page
Recorded edits42to this page, all time

The whole hunk

from line 39, old and new numbered
/
lines
from line 39
3939 
4040Nothing the mod adds appears, and the [`mods active` line](https://code.claude.com/docs/en/plugins/mods/overview#see-which-mods-a-session-loaded) in `/plugin` doesn't name it. The hooks module didn't load. When Claude Code refused it, the debug log has a line that starts with `hooks module`, the mod's name, and `not loaded:`, as in `hooks module first-mod@inline not loaded: disableAllHooks in managed settings` for a mod loaded with `--plugin-dir`.
4141 
42Read the reason after the colon. The [refusal messages](#refusal-messages) section lists each one. If the log has no such line, work through the other entries in this group.
42In the debug log, find the text that follows `not loaded:` and look it up in [Refusal messages](#refusal-messages). If the debug log has no `not loaded:` line for your mod, work through the other entries under [The mod doesn't load](#the-mod-doesn’t-load).
4343 
4444Some settings stop a mod and leave the rest of its plugin working. [Turn mods on or off](https://code.claude.com/docs/en/plugins/mods/overview.md#turn-mods-on-or-off) names them.
4545 
from line 47
4747 
4848The line starts with the mod's name and goes to stderr. The hooks module was refused. A non-interactive run has no transcript, so the message goes to stderr.
4949 
50Read the reason after the colon. The [refusal messages](#refusal-messages) section lists each one.
50Find the text that follows `not loaded:` in the message and look it up in [Refusal messages](#refusal-messages).
5151 
5252### Refusal messages
5353 
from line 273
273273 
274274### `needs a key`, `is drawn twice`, or `key each once`
275275 
276An element in the tree your `ui.render` hook returns has no valid [`key`](https://code.claude.com/docs/en/plugins/mods/interface#which-controls-need-a-key), or two elements share one. Find the message you got:
276An element in the tree your `ui.render` hook returns has no valid [`key`](https://code.claude.com/docs/en/plugins/mods/interface#which-controls-need-a-key), or two elements share one. The following messages each have a fix:
277277 
278278* **`<Input> needs a key` or `<Select> needs a key`**: the element has no `key` prop, or its `key` is empty or isn't a string, as in `key: 3`. Give it a non-empty string as its `key`.
279279* **`<Button> needs a key`**: give the button a non-empty string as its `key`
Feedback