Most coding agents read a project or user instructions file on startup. Add the block below to it and the agent will check every website for AIP first, and only fall back to browser automation when a site doesn’t support it.

The instructions block

Where to put it

Pick your agent. Project files apply to one repository; global files apply everywhere you use that agent.
Claude Code loads both on startup. Run /memory inside a session to check which files are active.If you use Claude in Chrome for browser automation, you can name it in the block: replace “browser automation” with “claude-in-chrome”.
Using several agents in one repo? Put the block in AGENTS.md. Codex, Cursor, GitHub Copilot’s coding agent and a growing list of other tools read it. Then point the others at it, for example add @AGENTS.md to CLAUDE.md.

What the agent needs

The instructions only help if the agent can act on them:
  • HTTP tools: authenticated GET and JSON POST (for example curl in a shell, or a fetch tool). A read-only web browsing tool can discover manifests but can’t invoke actions.
  • A browser, for session-scoped pages: the human (or the agent’s browser tool) must open the page so its bridge connects, then hand over the displayed token.
See Build an agent client for the full protocol loop.