/odin-web:native-messaging-host-conflictsfrom ODIN Web
Diagnoses and resolves browser extension native messaging host failures caused by conflicting manifests, wrong host processes, or stale sockets.
Ships in ODIN Web. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
| Field | Bound contract |
|---|---|
| Trigger | A browser extension's native messaging fails: disconnected extension, tool timeouts, or the wrong host answers after two clients for the same host name were installed or switched between. |
| Authority | Reversible local: mutates only native-messaging manifests, the host wrapper, stale host processes, and sockets; rollback is renaming the .disabled manifest back and restoring the backed-up wrapper. No remote mutation. |
| Side effect | Native-messaging manifest selection, host wrapper, host process, and socket state. |
| Done | Exactly one intended host is active, its expected socket exists, and a freshly restarted client connects through the extension. |
A browser launches whichever binary its NativeMessagingHosts manifest names for the host id an extension requests. When two client applications ship a manifest for the same host name (a CLI and a desktop app being the common pair), the browser can spawn either, both can run, and each client can connect to the other one's socket. A client connects only at startup, so a client that starts against the wrong or absent host fails for its whole session. Reconciliation is therefore: diagnose, keep exactly one manifest active, clear stale processes and sockets, restart the browser, then restart the client.
Manifest locations for the Chrome family; other Chromium browsers use the same layout under their own user-data directory:
~/Library/Application Support/Google/Chrome/NativeMessagingHosts/~/.config/google-chrome/NativeMessagingHosts/HKCU\Software\Google\Chrome\NativeMessagingHosts\<host-name>, whose default value points at the manifest path.ps aux | grep <host-binary-name> and note each binary path; a versioned install path means a wrapper may pin a stale version.$TMPDIR; on macOS $(getconf DARWIN_USER_TEMP_DIR)). One client may use a single file, another per-PID files under a shared directory. lsof -U | grep <socket-prefix> shows the holder.ls <manifest-dir>/<prefix>*.json (on Windows, read the registry key).
Done when: the active host process, socket holder, and active manifests are named.<name>.json.disabled (rollback: rename it back). Both active at once is the defect this skill fixes. Done when: exactly one manifest is active and the other is .disabled.ls -t <versions-dir> | head -1), then chmod +x. Rollback: restore the backup. Done when: the wrapper resolves the latest binary, or is skipped because it is already version-independent.pkill -f <host-binary-name>), then remove stale socket files and per-PID socket directories. Done when: no stale host process or socket remains.TMPDIR set and consistent with the socket path the client expects (echo $TMPDIR); if unset, the client looks in the wrong place, so export it in the shell rc.
Done when: secondary causes are resolved, or the done predicate holds.TMPDIR value. Never report done while the socket is absent or the wrong host is running.A terminal classification stating which host is active, whether its expected socket exists, and whether a restarted client connects, with the one active manifest and the one .disabled manifest named. No partial success is reported as done.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub outlinedriven/odin-claude-plugin --plugin odin-web13 skills in this plugin
/browser-cookie-storeUse when the user runs /browser-cookie-store to populate the session cookie store from installed browsers. Not for remote, credential, publish, deploy, or irreversible changes./browser-testingUse when building, debugging, or verifying browser-rendered code, or running browser tests for PR- or branch-affected pages. Not for source, remote-system, credential, publish, or deploy changes./chrome-extensionUse when the user explicitly asks to build, modify, or publish a Manifest V3 Chrome extension. Not for store submission without human-gated credentials./diff-scoped-browser-qaUse when asked to run branch-diff browser QA against a PR or branch. Not for live-URL visual audit: use web-design-review. No remote, credential, publish, deploy, or irreversible changes./first-load-byte-reductionUse when a first screen needs lower transfer bytes without visual or behavioral change. Not for visual redesign or behavioral changes./headed-browser-takeoverUse when the user asks to open or take over a visible browser session by hand, for example to solve a CAPTCHA or authenticate. Not for headless scraping or unattended automation.Other plugins' skills for the same job