Skip to content

extension_analyze ​

Analyze a BUILT extension on disk: file sizes, declared entry points, permissions, bundle composition, and store-readiness checks.

Quick start ​

What is in the built extension and is anything too big for the store?

Asked what ended up in the bundle, the agent builds and reads the output size by size.

Asked what ended up in the bundle, the agent builds and reads the output size by size.

How the agent uses it ​

This is static only: it reads dist/<browser> from the filesystem and never touches a browser, so build first with extension_build. Use extension_inspect for a running extension's live DOM and console.

Reference ​

Grouplocal, on by default
TierSee
Needsnone
Read onlyyes
Destructiveno
Idempotentyes
Reaches the open webno

Inputs ​

InputTypeRequiredDefaultWhat it does
projectPathstringyesExtension project root
browserstringno"chrome"Browser build to analyze
format"summary" | "tree" | "json"no"summary"

Next ​

  • MCP server: install, the two groups and the session gates
  • Install in your client
  • extension_doctor: Diagnose a dev session end to end: ready contract, dev-server process, control-port agreement, control channel, eval token, executor, browser liveness.
  • extension_dom_snapshot: Take a shallow structured DOM snapshot of one chosen surface through the agent bridge (localhost only; the snapshot itself needs no CDP, but listTargets and tabUrl resolution...
  • extension_inspect: Inspect a running extension deeply over the browser's debugger protocol: full HTML (open shadow roots of #extension-root and [data-extension-root] hosts inlined; other shadow ro...
  • extension_list_extensions: List the extensions in the running dev browser: id, name, version, and, on Chromium, live contexts.
  • extension_logs: Read or stream logs from every context of a running dev session (service worker, content scripts, popup, options, sidebar, devtools, pages) in one ordered timeline.
  • extension_manifest_validate: Validate a manifest.json across browsers.
  • extension_theme_verify: Verify a Chrome theme manifest before it ships.