claude-code - 💡(How to fix) Fix [Bug] Grep and Glob tools unavailable despite clean /doctor report, plus mysterious crash? [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#54165Fetched 2026-04-29 06:34:33
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
1
Timeline (top)
labeled ×3commented ×2subscribed ×1

Error Message

Claude in code CLI has suddently lost access to Grep and Glob -- /doctor reports no problems. Error in the harness, perhaps? I also have a transcript from where the error first occurred: When I try to resume that conversation I get an error message:

Code Example

{"parentUuid":"d7331f14-ea4e-4b2c-a3fc-e3080bad9921","isSidechain":false,"attachment":{"type":"deferred_tools_delta","addedNames":["AskUserQuestion","CronCreate","CronDelete","CronList","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","Monitor","NotebookEdit","PushNotification","RemoteTrigger","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","WebFetch","WebSearch"],"addedLines":["AskUserQuestion","CronCreate","CronDelete","CronList","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","Monitor","NotebookEdit","PushNotification","RemoteTrigger","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","WebFetch","WebSearch"],"removedNames":[]},"type":"attachment","uuid":"ebae11f6-61ba-46e2-8f7a-e002b15ff68d","timestamp":"2026-04-28T02:02:16.220Z","userType":"external","entrypoint":"cli","cwd":"/home/qeela/factsandoreos/FeedsNSpeeds","sessionId":"9d10b635-2aab-4743-8df3-614165f30215","version":"2.1.120","gitBranch":"main"}
RAW_BUFFERClick to expand / collapse

Bug Description Claude in code CLI has suddently lost access to Grep and Glob -- /doctor reports no problems. Error in the harness, perhaps?

Environment Info

  • Platform: linux
  • Terminal: kitty
  • Version: 2.1.120
  • Feedback ID: 51368633-1f9d-4f83-b098-11bdfad875d2

Errors Here's a line from the top of one of my transcript files:

{"parentUuid":"d7331f14-ea4e-4b2c-a3fc-e3080bad9921","isSidechain":false,"attachment":{"type":"deferred_tools_delta","addedNames":["AskUserQuestion","CronCreate","CronDelete","CronList","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","Monitor","NotebookEdit","PushNotification","RemoteTrigger","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","WebFetch","WebSearch"],"addedLines":["AskUserQuestion","CronCreate","CronDelete","CronList","EnterPlanMode","EnterWorktree","ExitPlanMode","ExitWorktree","Monitor","NotebookEdit","PushNotification","RemoteTrigger","TaskCreate","TaskGet","TaskList","TaskOutput","TaskStop","TaskUpdate","WebFetch","WebSearch"],"removedNames":[]},"type":"attachment","uuid":"ebae11f6-61ba-46e2-8f7a-e002b15ff68d","timestamp":"2026-04-28T02:02:16.220Z","userType":"external","entrypoint":"cli","cwd":"/home/qeela/factsandoreos/FeedsNSpeeds","sessionId":"9d10b635-2aab-4743-8df3-614165f30215","version":"2.1.120","gitBranch":"main"}

Glob and Grep are not present. System does have ripgrep installed and Claude can invoke it through Bash

I also have a transcript from where the error first occurred:

9d10b635-2aab-4743-8df3-614165f30215.json

When I try to resume that conversation I get an error message:

<img width="2548" height="1239" alt="Image" src="https://github.com/user-attachments/assets/c4beb8fb-8832-4f2f-89ee-df17938c48b3" /> <img width="2539" height="1355" alt="Image" src="https://github.com/user-attachments/assets/6d732d33-f8ef-4be5-ac59-65b8d2683dc9" /> <img width="2531" height="1326" alt="Image" src="https://github.com/user-attachments/assets/c2c45449-bca8-4f72-b750-8a39d7ed2e83" /> <img width="2551" height="999" alt="Image" src="https://github.com/user-attachments/assets/3499e568-92b0-4265-8c38-64c10bd1fb94" />

extent analysis

TL;DR

The issue might be resolved by re-enabling or re-configuring Grep and Glob tools in the Claude CLI, potentially by updating the addedNames and addedLines fields in the attachment JSON.

Guidance

  • Review the addedNames and addedLines fields in the provided JSON transcript to ensure Grep and Glob are included.
  • Check the system configuration to verify that ripgrep is properly installed and configured, as Claude can invoke it through Bash.
  • Investigate the error message and transcript from the initial error occurrence to identify potential causes for the tools' disappearance.
  • Consider re-running the /doctor command to re-check for any configuration issues.

Notes

The provided information does not include explicit details on how to re-enable Grep and Glob, so further investigation into the system configuration and Claude CLI documentation may be necessary.

Recommendation

Apply workaround: Re-check the system configuration and Claude CLI settings to ensure Grep and Glob are properly enabled and configured, as the issue may be related to a misconfiguration rather than a version-specific bug.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING