fix-chrome-connection

fix-chrome-connection is a skill for Claude Code from MSApps-Mobile/claude-plugins. It costs 25 tokens per session (547 once invoked), scanned A, original, MIT.

A repair guide for a Chrome connection used by Claude after changing macOS users. Chrome is the web browser, and an MCP connection lets Claude interact with it.

In plain words
What is it for?
Use it to test the connection, inspect the desktop when needed, open Chrome, and restart Chrome if that fixes the connection.
Why use it?
It helps restore the connection when Chrome is open but Claude cannot communicate with it.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the fix-chrome-connection plugin — 3 skills shipped together

Good fit Use it to test the connection, inspect the desktop when needed, open Chrome, and restart Chrome if that fixes the connection.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/msapps-mobile/claude-plugins/fix-chrome-connection
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add MSApps-Mobile/claude-plugins --skill fix-chrome-connection
Clone the repo
git clone --depth 1 https://github.com/MSApps-Mobile/claude-plugins

Made for: Claude Code.

Or install fix-chrome-connection, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for fix-chrome-connection

README.md
[![agentmods](https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/fix-chrome-connection/github.svg)](https://agentmods.dev/skills/msapps-mobile/claude-plugins/fix-chrome-connection)
Your own site
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/fix-chrome-connection"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/fix-chrome-connection/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for fix-chrome-connection

Your own site · 80×15
<a href="https://agentmods.dev/skills/msapps-mobile/claude-plugins/fix-chrome-connection"><img src="https://agentmods.dev/badge/skills/msapps-mobile/claude-plugins/fix-chrome-connection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 547 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00025 $0.00547
Opus 5.5 $0.00010 $0.00219
Sonnet 5.5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

Measured 2d ago against content hash 65ed6d5e653b, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

fix-chrome-connection scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/fix-chrome-connection/scheduled/fix-chrome-connection/SKILL.md · 69 lines

How it starts

The opening of the file, as written. The whole thing — 69 lines — stays where its author put it; the contents beside it link to each section on GitHub.

This task exists only if the user created it (see the plugin README; delete it in Cowork's Scheduled tasks list to remove it). It is local-only and sends nothing anywhere.

This is an automated run of a scheduled task. The user is not present to answer questions. Make reasonable choices autonomously and note them in your output. For "write" actions, only take them if explicitly required by the task. When in doubt, produce a report of what you found.

You are fixing a broken Chrome MCP connection. Work through these steps in order, stopping as soon as the connection works.

Step 1: Test current connection

Call tabs_context_mcp with createIfEmpty: false.

  • If it responds (any response other than a connection error) → report "Chrome is already connected!" and stop.
  • If it fails with a connection error → note it and continue.

Step 2: Check whether Chrome is running

pgrep -x "Google Chrome" >/dev/null && echo "Chrome running" || echo "Chrome not running"

Do not take screenshots of the user's desktop. Report only the running/not-running result.

Step 3: Open Chrome

open -a "Google Chrome"
sleep 3

Retry connection test. If connected → report success and stop.

Step 4: Quit and relaunch Chrome ← MOST RELIABLE FIX (only if the user opted in to unattended relaunch when creating this task)

Do NOT attempt to click UI elements on chrome://extensions — the Claude desktop app steals focus from Chrome, making coordinate-based clicking fail. Go straight to quit+relaunch:

osascript -e 'tell application "Google Chrome" to quit'
sleep 5
open -a "Google Chrome"
sleep 8

Retry connection test. If connected → report success and stop.

Step 5: Report failure and ask the user

If all automated steps failed, report:

  • Every step attempted and what happened
  • Current state of Chrome (from last screenshot)
  • Ask: "Are you logged into the correct Chrome profile? After switching macOS users, Chrome may open under a different profile where the extension isn't installed."

Read the full file on GitHub · 69 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago Changed · +1 lines 65ed6d5e653b
  2. 3mo ago First seen · 68 lines · 25 tokens per session scan A 90e769c85b32

Subscribe to this mod's changes

fix-chrome-connection is a skill published in the GitHub repository MSApps-Mobile/claude-plugins (14 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 547 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

fix-chrome-connection compared with skills from other repositories

fix-chrome-connection next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
fix-chrome-connectionMSApps-Mobile/claude-pluginsSkill14yesterdayMITA25Claude Code
postmortemSethGammon/CitadelSkill9435d agoMITA58Claude Code
systematic-debuggingSethGammon/CitadelSkill9435d agoMITA45Claude Code
ai-diagnosticmodu-ai/moai-coworkSkill3201mo agoApache-2.0A151Claude Code
azure-mcp-observabilityWYRE-AI/msp-claude-pluginsSkill57todayApache-2.0A66Claude Code
diagnose-skill-runrunxhq/runxSkill1062d agoApache-2.0A35Claude Code, Codex
postmortem-draftrunxhq/runxSkill1062d agoApache-2.0A32Claude Code, Codex