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.332, published 2 hours 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 25 Nov 2026 00:57 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 25 Nov 2026 01:07 UTC.

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

### `call refused` or `result withheld`

The whole hunk

from line 6, old and new numbered
/
lines
from line 6
66 
77## Find out why a mod does nothing
88 
9When a mod does nothing, check what Claude Code reads from the mod's files, and the line it writes when it skips something. For the first, in your shell run [`claude plugin validate`](https://code.claude.com/docs/en/plugins/mods/create#check-what-claude-code-reads-from-your-mod) with the mod's directory, as in `claude plugin validate ./first-mod`. It catches a misspelled event, a bad manifest, and a module Claude Code can't read, without starting a session.
9When a mod does nothing, check what Claude Code reads from the mod's files, and the line it writes when it skips something. To check the files, in your shell run [`claude plugin validate`](https://code.claude.com/docs/en/plugins/mods/create#check-what-claude-code-reads-from-your-mod) with the mod's directory, as in `claude plugin validate ./first-mod`. It catches a bad manifest and a module Claude Code can't read, without starting a session.
1010 
1111Claude Code writes one line naming your mod in cases such as a code error that stops it from loading, a skipped hook, or a refusal by another mod. Look for that line in the transcript, the debug log, or stderr, by session type:
1212 
from line 57
5757| :- | :- |
5858| `hooks modules are turned off for installed plugins in this process: the rollout switch served off` | Anthropic has turned installed mods off remotely. |
5959| `hooks modules are turned off for installed plugins in this process: the rollout switch was saved off by an earlier session` | The session used a value an earlier session saved, which may be out of date. Start Claude Code again to refresh it. |
60| `hooks modules a person installed wait for the rollout switch in this process` | In a [cloud session](https://code.claude.com/docs/en/claude-code-on-the-web.md), your mods are waiting to load, so send another message. If the line includes `could not be read`, or you see `Mods you installed aren't running in this session`, start a new session instead. |
6061| `disableAllHooks in managed settings` | Your organization turned off hooks from installed plugins |
6162| `only managed plugins and built-in plugins run` | `allowManagedHooksOnly` is set, or `disableAllHooks` is set in a settings file other than managed settings |
6263| `installed plugins that are not managed load no hooks module in this mode (--bare)` | You started Claude Code with `--bare` |
from line 142
141142 
142143Fix the error. The debug log has a line for every occurrence.
143144 
145### `call refused` or `result withheld`
146 
147Either line means Claude Code couldn't copy a value to or from a hook that checks an action, such as a `tool.call` hook. Match the [transcript or debug log line](#find-out-why-a-mod-does-nothing) to see whether the action ran:
148 
149* `call refused`: Claude Code refused the action in your hook's place
150* `result withheld`: what the tool did stays done, and Claude reads a note in place of its result
151 
152What Claude gets back can include `could not be given to a hook that checks it` or `a hook that checks this result could not hand back its answer`.
153 
154If the line includes `could not be given its argument`, your hook didn't run, so leave it as it is. If it includes `is not plain data: nesting deeper than 28000 levels`, reduce the nesting in the values your hook returns or passes on.
155 
144156### `no command.run hook answered it`
145157 
146158You run a command your mod added, and the reply names the mod and the command, as in `first-mod registered /tally but no command.run hook answered it`, then tells you to add a hook. Claude Code prints that reply when the command reaches the end of the chain with no answer, which happens in two cases:
from line 304
292304 
293305### `$.ui.open` runs and no pane appears
294306 
295The call didn't come from something the user did, and the terminal is narrower than [the width that pane needs](https://code.claude.com/docs/en/plugins/mods/interface.md#when-a-pane-waits-for-a-wider-terminal).
307Check the call's result. When `isPlaced` is `false`, the start of `reason` says why, as in these cases:
296308 
297Open the pane from a command or a button, or check the call's `isPlaced` result. See [Open a pane at the right time](https://code.claude.com/docs/en/plugins/mods/interface.md#open-a-pane-at-the-right-time).
309* **`unasked below`**: open the pane from a command or a button, or use [a wider terminal](https://code.claude.com/docs/en/plugins/mods/interface.md#when-a-pane-waits-for-a-wider-terminal).
310* **`no-surface`**: nothing is attached to draw on, as in a `claude -p` or Agent SDK run. From a `command.run` hook, return `{ text }` instead.
298311 
299312### A toast doesn't appear
300313 
from line 350
337350 
338351### Your edits don't take effect
339352 
340You're editing a plugin you installed. Claude Code runs the cached copy for the installed version.
353If your plugin was [copied at install](https://code.claude.com/docs/en/plugins/loading.md#in-place-and-copied-plugins), Claude Code runs that copy.
341354 
342355Develop with `--plugin-dir` pointed at your working copy, as in `claude --plugin-dir ./first-mod`, which reloads when you save.
343356 
Feedback