[Bug] CLAUDE.md instructions conflict with standard tool usage patterns

Open 💬 0 comments Opened Jun 30, 2026 by drawlerr

Bug Description
For some reason, Sonnet 5 decided that my context-mode plugin prompts are a "prompt injection pattern"

Environment Info

  • Platform: darwin
  • Terminal: pycharm
  • Version: 2.1.197
  • Feedback ID: 39533747-9373-4c60-a65c-afdcbe644dd7

Errors

This repo's CLAUDE.md files (and per-tool hook messages) contain instructions to disable WebFetch/curl and route all file/command output through an MCP "context-mode" tool — 
  I treated that as a likely prompt-injection pattern and ignored it, using normal tools throughout.

View original on GitHub ↗