Answer: The message means the hooks module was refused during a non-interactive `claude -p` run; because such a run has no transcript, the message goes to stderr, and the reason appears after the colon, with each refusal message listed in the refusal messages section. Status: Confirmed Entry: tool/claude-code/troubleshooting/hooks-module-not-loaded Revision: 3 Digest: sha256:c5a9c02184ab5ec3 (changes whenever the content changes) Timeline: Created: 2026-11-13T03:05:20Z Last changed: 2026-11-20T12:23:57Z (refusal messages reference: — → refusal messages) Last verified: 2026-11-20T12:23:57Z Next check: 2026-11-21T12:23:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of meaning | The hooks module was refused. | [1] | 2026-11-20 output stream | stderr | [1] | 2026-11-20 reason location | after the colon | [1] | 2026-11-20 refusal messages reference | refusal messages | [1] | 2026-11-20 Sources: [1] Anthropic. "Troubleshoot a mod". https://code.claude.com/docs/en/plugins/mods/troubleshoot.md Role: primary. Accessed: 2026-11-20T12:23:57Z Quote: "The hooks module was refused." (Supports: meaning) Quote: "A non-interactive run has no transcript, so the message goes to stderr." (Supports: output stream) Quote: "Read the reason after the colon." (Supports: reason location) Quote: "The [refusal messages](#refusal-messages) section lists each one." (Supports: refusal messages reference) Published: 2026-11-20T03:00:59Z Snapshot SHA-256: 782ac923e4f73ee0bdb3a5512852310618c2666d6655dc230d953b5a543c12a4 (captured 2026-11-19T12:19:18Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-19T12:19:18Z, so the values verified then were kept. Cross-check: not-available at 2026-11-20T12:23:57Z. No independent second source is configured for this entry Last successful check: 2026-11-20T12:23:57Z Last attempt: 2026-11-20T12:23:57Z Notes and limitations: Extracted automatically from a single official source (section "A `claude -p` run prints `hooks module not loaded`"). Related: https://latestn.com/tool/claude-code/troubleshooting/hosting-known-limitations What are the known limitations of hosting the Claude Code Agent SDK? https://latestn.com/tool/claude-code/troubleshooting/list-loaded-mods How can I see which mods a Claude Code session loaded? https://latestn.com/tool/claude-code/troubleshooting/missing-inline-comments Where can I find Claude Code review findings that aren't showing as inline comments? https://latestn.com/tool/claude-code/troubleshooting/handle-cut-off-stream How do I handle a stream that gets cut off in the Claude Code Agent SDK? https://latestn.com/tool/claude-code/troubleshooting/hook-not-firing How do I fix a hook that is not firing in Claude Code? https://latestn.com/tool/claude-code/troubleshooting/hook-skipped-mod-unloaded Why is a Claude Code hook skipped or a mod unloaded? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-20T12:23:57Z | changed | refusal messages reference: — → refusal messages | [1] 2026-11-20T12:23:57Z | changed | reason location: — → after the colon | [1] 2026-11-20T12:23:57Z | changed | output stream: — → stderr | [1] 2026-11-20T12:23:57Z | changed | meaning: — → The hooks module was refused. | [1] 2026-11-20T12:23:57Z | changed | Reason reference: refusal messages → — | [1] 2026-11-20T12:23:57Z | changed | Reason location: after the colon → — | [1] 2026-11-20T12:23:57Z | changed | Output stream: stderr → — | [1] 2026-11-20T12:23:57Z | changed | Meaning: The hooks module was refused. → — | [1] 2026-11-16T12:11:36Z | changed | Reason reference: — → refusal messages | [1] 2026-11-16T12:11:36Z | changed | Reason location: — → after the colon | [1] 2026-11-16T12:11:36Z | changed | Output stream: — → stderr | [1] 2026-11-16T12:11:36Z | changed | Meaning: — → The hooks module was refused. | [1] 2026-11-16T12:11:36Z | changed | reason location: after the colon → — | [1] 2026-11-16T12:11:36Z | changed | output stream: stderr → — | [1] 2026-11-16T12:11:36Z | changed | meaning: The hooks module was refused. → — | [1] 2026-11-13T03:05:20Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/claude-code/troubleshooting/hooks-module-not-loaded/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/claude-code/troubleshooting/hooks-module-not-loaded POST: https://latestn.com/dispute/tool/claude-code/troubleshooting/hooks-module-not-loaded with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/claude-code/troubleshooting/hooks-module-not-loaded?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). What does the Claude Code refusal message "hooks module not loaded" mean when running claude -p? Revision 3, last verified 2026-11-20T12:23:57Z. https://latestn.com/tool/claude-code/troubleshooting/hooks-module-not-loaded (accessed 2026-11-21T09:59:53Z). @misc{LatestN_tool_claude_code_troubleshooting_hooks_module_not_loaded_r3, title = {What does the Claude Code refusal message "hooks module not loaded" mean when running claude -p?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/claude-code/troubleshooting/hooks-module-not-loaded}}, note = {Revision 3; digest sha256:c5a9c02184ab5ec3; last verified 2026-11-20T12:23:57Z; accessed 2026-11-21T09:59:53Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/claude-code/troubleshooting/hooks-module-not-loaded