Using AI Hotkey inside an AI chat
Why an AI assistant may treat your rewritten message as pasted text, and the one-paragraph instruction that fixes it.
AI Hotkey works in almost any Windows app, and that includes the chat box of an AI assistant. Write your request, select it, press your hotkey, and the cleaned-up version replaces what you typed. Then you send it.
Most of the time that just works. But a few assistants now look closely at how a message arrived, and that can cause a surprise.
What happens
AI Hotkey puts its rewrite in place by pasting it. So when you rewrite a whole message before sending it, the assistant receives a message that is entirely pasted text.
Some AI assistants treat a fully pasted message with caution. Pasted text can carry instructions from someone else, for example from a web page or an email, and a careful assistant won't follow those blindly. So it may ask you to confirm, or decline to act, even though every word was yours.
We've seen this in Claude Code, Anthropic's coding assistant. Other assistants may do something similar.
Why it's a good thing
That caution protects you. If you paste a chunk of a web page into a chat and it contains a hidden line like "ignore your instructions and…", you want the assistant to notice. The fix below keeps that protection while telling the assistant that your own rewritten messages are fine.
The fix: one custom instruction
Most AI assistants have a place for standing instructions that apply to every chat, usually called custom instructions or personal preferences. Add this to it:
Keep the last sentence. Without it, you'd be telling the assistant to trust anything pasted, which switches off the protection described above.
Where it goes
- Claude Code: add it to your personal instructions file,
~/.claude/CLAUDE.md(Anthropic's documentation calls this "User instructions", and it applies to all your projects). - Other assistants: look for custom instructions or personal preferences in the assistant's settings. The name varies from app to app, so check its own help pages.
That's it. Rewrite away, and the assistant will treat your message as your own.
Was this helpful?