claude-code - 💡(How to fix) Fix [BUG] Claude.md and other XXX.md instructions being ignored from context [2 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

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#54686Fetched 2026-04-30 06:38:50
View on GitHub
Comments
2
Participants
2
Timeline
6
Reactions
0
Author
Participants
Timeline (top)
labeled ×4commented ×2

Error Message

Error Messages/Logs

RAW_BUFFERClick to expand / collapse

Preflight Checklist

  • I have searched existing issues and this hasn't been reported yet
  • This is a single bug report (please file separate reports for different bugs)
  • I am using the latest version of Claude Code

What's Wrong?

<img width="876" height="1077" alt="Image" src="https://github.com/user-attachments/assets/11e61b1f-f895-4006-8113-1fd36474f1ea" />

What Should Happen?

Claude should have ingested context from Claude .md and other XXX.md files before outputting responses to my questions.

Error Messages/Logs

Steps to Reproduce

Create a claude.md file in parent folder. Specify multiple specific files using '@' references that are in the same folder as an XXX.md instructional file. Ask Claude if it considered the XXX.md instructions.

Claude Model

Sonnet (default)

Is this a regression?

I don't know

Last Working Version

No response

Claude Code Version

claude isn't on the PATH in this shell environment. You'd need to run that from a terminal where the Claude Code CLI is installed — typically a regular Command Prompt or PowerShell session outside this context.

Platform

Anthropic API

Operating System

Windows

Terminal/Shell

Other

Additional Information

No response

extent analysis

TL;DR

The issue may be resolved by ensuring the Claude Code CLI is installed and accessible in the current shell environment.

Guidance

  • Verify that the Claude Code CLI is installed and added to the system's PATH environment variable.
  • Try running the command from a regular Command Prompt or PowerShell session outside the current context.
  • Check the documentation for the Anthropic API and Claude Code CLI to ensure correct usage and configuration.
  • If the issue persists, try specifying the full path to the Claude Code CLI executable when running the command.

Notes

The provided information lacks specific error messages or logs, making it difficult to pinpoint the exact cause of the issue. The guidance provided is based on the information given and may not fully resolve the issue.

Recommendation

Apply workaround: Run the command from a terminal where the Claude Code CLI is installed, such as a regular Command Prompt or PowerShell session. This is recommended because the issue seems to be related to the CLI not being accessible in the current shell environment.

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

claude-code - 💡(How to fix) Fix [BUG] Claude.md and other XXX.md instructions being ignored from context [2 comments, 2 participants]