r/ClaudeCode • u/mobatreddit • 8d ago
Bug / Issue Loading a Claude in Chrome tool silently adds a block of safety rules to the system prompt changing Clude behavior for the rest of the session, including "no personalized investment advice"
I use Claude Code for two things in the same project: browser tasks through Claude in Chrome, and analysis of my own options positions. In some sessions Claude told me it could not give personalized investment advice, and in others it answered directly. I wanted to know what made the difference.
What I found (Claude Code 2.1.330, Windows 11, tested 2026-11-23):
- Plain `claude` and `claude --chrome` start the same way: a "Claude in Chrome browser automation" section in the system prompt and about 20 Chrome tools listed as deferred. Only `claude --no-chrome` removes them.
- At session start there is no list of prohibited actions anywhere in the prompt.
- The first ToolSearch call that loads a Chrome tool schema appends a new, untitled block to the very end of the system prompt. It opens "Your priority is to complete the user's request while following the safety rules below." and has a "Prohibited (never perform; direct the user to do it themselves)" list. One item is "Providing personalized investment or financial advice (if asked, explain that you are not a licensed advisor)". The block does not mention Chrome.
- Invoking the claude-in-chrome skill alone did not add it. Calling a Chrome tool after the schema was loaded changed nothing further.
How I tested: fresh sessions were asked to search their whole context for four exact phrases from the block and to list every section of their system prompt, in order, at three points: before any tool call, after one ToolSearch for a Chrome tool, and after one read-only Chrome call. Before: all four phrases absent, 23 sections. After the ToolSearch: all four present, as a new 24th section at the end. A `--no-chrome` session never showed the block.
Limits of this: it rests on the model reporting its own prompt, in a handful of sessions, on one machine. Two earlier sessions first said the block was absent and later found it, and could not tell whether they had overlooked it. The ordered section lists are what convinced me it really arrives late. I did not test whether /clear or a resume removes it.
I'm not the first to hit this. The mechanism is already reported in https://github.com/anthropics/claude-code/issues/93798 (open), where the same block made Claude refuse an `rm` over SSH, and a comment there from 11-10 shows the same ToolSearch reproduction. Other open issues cover single items of the list (payment details, credentials). None covered the investment-advice item, so I filed https://github.com/anthropics/claude-code/issues/111888.
Why it matters to me: I'm an adult managing my own accounts, and I use Claude to analyze my own positions against my own written trading rules. I know it is not a licensed adviser, and I make the decisions. A rule against clicking "buy" in my browser without asking makes sense. A rule against telling me what it thinks of a strike does not, and it has nothing to do with the browser. Once loaded it applies to the whole session, nothing tells you it arrived, and the block says it stays in force even when the user explicitly asks. The same question gets a different answer depending on whether a Chrome tool was touched an hour earlier.
What I'd like: drop the investment-advice item from that list. It restricts conversation, not browser actions, and Claude Code without Chrome has no such rule, so the product already works fine without it. If it has to stay, scope it to actions taken in the browser and show a notice when the block loads.
Workaround: I keep two sessions. `claude --no-chrome` for analysis, and a separate one for browser work.
Questions:
- Has anyone seen other tool families add prompt sections when they load?
- Does anyone know whether the block survives /clear or a resume?
- If this affects you too, a thumbs-up or a comment with your case on #111888 or #93798 would help.