Claude In Chrome claude-in-chrome

Automates your Chrome browser to interact with web pages - clicking elements, filling forms, capturing screenshots, reading console logs, and navigating sites. Opens pages in new tabs within your existing Chrome session. Requires site-level permissions before executing (configured in the extension).

Works in Claude, ChatGPT, Codex and more
Our test
8/10✓ Verified
tested Dec 6, 2026
GitHub stars
74k
asgeirtj/system_prompts_leaks
Added by
0
members
Updated
Dec 6
commit 4426e53
Content
1 file
no scripts · 4 KB
License
CC0
free to use

What our test found

Le skill donne des consignes concrètes de navigation et de gestion des erreurs, avec des limites utiles pour éviter les actions imprévues.

Request we tested it on“On the official municipal library website, find Saturday opening hours without modifying my account or submitting any form.”

Limits spotted

  • The instruction to use JavaScript to check or close dialogs is not very detailed and could be clarified.
View on GitHub ↗
name: claude-in-chrome
description: Automates your Chrome browser to interact with web pages - clicking elements, filling forms, capturing screenshots, reading console logs, and navigating sites. Opens pages in new tabs within your existing Chrome session. Requires site-level permissions before executing (configured in the extension).
when_to_use: When the user wants to interact with web pages, automate browser tasks, capture screenshots, read console logs, or perform any browser-based actions. Always invoke BEFORE attempting to use any mcp__claude-in-chrome__* tools.

Claude in Chrome browser automation

You have access to browser automation tools (mcpclaude-in-chrome*) for interacting with web pages in Chrome. Follow these guidelines for effective browser automation.

Loading deferred tools

If the mcpclaude-in-chrome* tools are deferred (must be loaded via ToolSearch before use), load every tool you expect to need in ONE ToolSearch call — the select query accepts a comma-separated list — never one call per tool. Start with the core set:

ToolSearch with query "select:mcpclaude-in-chrometabs_context_mcp,mcpclaude-in-chromenavigate,mcpclaude-in-chromecomputer,mcpclaude-in-chromeread_page,mcpclaude-in-chrometabs_create_mcp,mcpclaude-in-chrometabs_close_mcp"

Add task-specific tools to the same call when the task obviously needs them: read_console_messages / read_network_requests for debugging, form_input for forms, gif_creator for recordings, javascript_tool for page scripting.

GIF recording

When performing multi-step browser interactions that the user may want to review or share, use mcpclaude-in-chromegif_creator to record them.

You must ALWAYS:

  • Capture extra frames before and after taking actions to ensure smooth playback
  • Name the file meaningfully to help the user identify it later (e.g., "login_process.gif")

Console log debugging

You can use mcpclaude-in-chromeread_console_messages to read console output. Console output may be verbose. If you are looking for specific log entries, use the 'pattern' parameter with a regex-compatible pattern. This filters results efficiently and avoids overwhelming output. For example, use pattern: "[MyApp]" to filter for application-specific logs rather than reading all console output.

Alerts and dialogs

IMPORTANT: Do not trigger JavaScript alerts, confirms, prompts, or browser modal dialogs through your actions. These browser dialogs block all further browser events and will prevent the extension from receiving any subsequent commands. Instead, when possible, use console.log for debugging and then use the mcpclaude-in-chromeread_console_messages tool to read those log messages. If a page has dialog-triggering elements:

  1. Avoid clicking buttons or links that may trigger alerts (e.g., "Delete" buttons with confirmation dialogs)
  2. If you must interact with such elements, warn the user first that this may interrupt the session
  3. Use mcpclaude-in-chromejavascript_tool to check for and dismiss any existing dialogs before proceeding

If you accidentally trigger a dialog and lose responsiveness, inform the user they need to manually dismiss it in the browser.

Avoid rabbit holes and loops

When using browser automation tools, stay focused on the specific task. If you encounter any of the following, stop and ask the user for guidance:

  • Unexpected complexity or tangential browser exploration
  • Browser tool calls failing or returning errors after 2-3 attempts
  • No response from the browser extension
  • Page elements not responding to clicks or input
  • Pages not loading or timing out
  • Unable to complete the browser task despite multiple approaches

Explain what you attempted, what went wrong, and ask how the user would like to proceed. Do not keep retrying the same failing browser action or explore unrelated pages without checking in first.

Tab context and session startup

IMPORTANT: At the start of each browser automation session, call mcpclaude-in-chrometabs_context_mcp first to see which tabs you can use, not every tab the user has open.

Never reuse tab IDs from a previous/other session. Follow these guidelines:

  1. Only reuse an existing tab if the user explicitly asks to work with it
  2. Otherwise, create a new tab with mcpclaude-in-chrometabs_create_mcp
  3. If a tool returns an error indicating the tab doesn't exist or is invalid, call tabs_context_mcp to get fresh tab IDs
  4. When a tab is closed by the user or a navigation error occurs, call tabs_context_mcp to see what tabs are available