Can you turn OFF the hook succeeded messages or option

Status Closed — not planned
Maintainer reply None cached
Activity 9 comments · opened Oct 15, 2025 · closed Jan 12, 2026

Bug Description
Can you turn OFF the hook succeeded messages or provide a simple config to turn them OFF. They take up too much valuable space in a prominent location and don't have any value once you get the hooks working. Thanks - keep up the good work.

Environment Info

  • Platform: darwin
  • Terminal: vscode
  • Version: 2.0.17
  • Feedback ID: 2683923e-6d08-42a5-b814-751178c092a2

Errors

[{"error":"AxiosError: Request failed with status code 401\n    at CO (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:24:1136)\n    at IncomingMessage.<anonymous> (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:29:9845)\n    at IncomingMessage.emit (node:events:519:35)\n    at IncomingMessage.emit (node:domain:489:12)\n    at endReadableNT (node:internal/streams/readable:1701:12)\n    at process.processTicksAndRejections (node:internal/process/task_queues:90:21)\n    at i81.request (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:31:2129)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)\n    at async DIB (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1497:26166)","timestamp":"2025-10-15T19:28:13.235Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9Y3iC8cCht35n9YGZQB\"}\n    at q4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T19:28:14.754Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9Y3ixmZ7U2yaf6RKqVo\"}\n    at q4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T19:28:14.897Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9Y3jfSKnapmKmHEQCmK\"}\n    at q4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T19:28:15.094Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9YEPsctvvwxy3zLHnPk\"}\n    at q4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:202:83047)\n    at hS.makeStatusError (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:2117)\n    at hS.makeRequest (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:356:5330)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T19:30:39.682Z"},{"error":"SyntaxError: Unexpected token 'A', \"API Error:\"... is not valid JSON\n    at JSON.parse (<anonymous>)\n    at file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:62:719\n    at Q (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:8:15093)\n    at Np2 (file:///opt/homebrew/lib/node_modules/@anthropic-ai/claude-code/cli.js:1056:20444)\n    at process.processTicksAndRejections (node:internal/process/task_queues:105:5)","timestamp":"2025-10-15T19:30:39.683Z"},{"error":"Error: 400 {\"type\":\"error\",\"error\":{\"type\":\"invalid_request_error\",\"message\":\"This credential is only authorized for use with Claude Code and cannot be used for other API requests.\"},\"request_id\":\"req_011CU9YGZKTC4nbBKC3DfkWa\"}\n    at q4.generate (file:///opt/homebrew/lib/node_modules/@anthropic-ai/c

Note: Error logs were truncated.

View original on GitHub ↗

9 Comments

github-actions[bot] · 1 year ago

Found 3 possible duplicate issues:

  1. https://github.com/anthropics/claude-code/issues/3060
  2. https://github.com/anthropics/claude-code/issues/8990
  3. https://github.com/anthropics/claude-code/issues/6924

This issue will be automatically closed as a duplicate in 3 days.

  • If your issue is a duplicate, please close it and 👍 the existing issue instead
  • To prevent auto-closure, add a comment or 👎 this comment

🤖 Generated with Claude Code

cbockman · 1 year ago

This is totally breaking if you have many hooks running--the CLI will fill up with "hooks succeeded" messages, and the scroll goes nuts so that it is impossible to actually track anything in real time.

Labiri · 12 months ago

It has use cases for me and I felt relieved seeing it in the last release, so I hope it will be kept as optional to keep it / hide it instead or removing.

Alex-R-A · 12 months ago

<img width="1318" height="1166" alt="Image" src="https://github.com/user-attachments/assets/7de98469-e90f-4f80-86b0-acd0316fd5b3" />

towc · 11 months ago

Hello! I had the same problem, made a quickfix, and packaged as a plugin: https://github.com/towc/claude-hide-hooks

This should work until Anthropic addresses the issue. Obviously it's a change to code that may change anytime, so use at your own risk, but it works for now at least:

# Add the marketplace
claude plugin marketplace add towc/claude-marketplace

# Install hide-hooks
claude plugin install hide-hooks

# After Claude restarts, apply the patch
/hide-hooks:patch

# Restart Claude to see the changes
github-actions[bot] · 10 months ago

This issue has been inactive for 30 days. If the issue is still occurring, please comment to let us know. Otherwise, this issue will be automatically closed in 30 days for housekeeping purposes.

towc · 10 months ago

Still an issue! My temporary fix plugin breaks every client update, it's not a long-term solution

github-actions[bot] · 9 months ago

This issue has been automatically closed due to 60 days of inactivity. If you're still experiencing this issue, please open a new issue with updated information.

github-actions[bot] · 8 months ago

This issue has been automatically locked since it was closed and has not had any activity for 7 days. If you're experiencing a similar issue, please file a new issue and reference this one if it's relevant.