extension-migration

extension-migration is a skill for Claude Code, Codex from quangpl/browser-extension-skills. It costs 41 tokens per session (1,189 once invoked), scanned A, original, MIT.

A guide and workflow for updating Chrome extensions from Manifest V2 to Manifest V3, the newer extension platform. It covers service workers, permission changes, and replacement browser APIs.

In plain words
What is it for?
Use it to review an MV2 extension, update its manifest and background code, replace network and script APIs, and test the result.
Why use it?
It helps handle the breaking changes that can stop an older extension working or being accepted by the Chrome Web Store.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to review an MV2 extension, update its manifest and background code, replace network and script APIs, and test the result.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/quangpl/browser-extension-skills/extension-migration
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 quangpl/browser-extension-skills --skill extension-migration
Clone the repo
git clone --depth 1 https://github.com/quangpl/browser-extension-skills

Made for: Claude Code, Codex.

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 extension-migration

README.md
[![agentmods](https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-migration/github.svg)](https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-migration)
Your own site
<a href="https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-migration"><img src="https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-migration/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 extension-migration

Your own site · 80×15
<a href="https://agentmods.dev/skills/quangpl/browser-extension-skills/extension-migration"><img src="https://agentmods.dev/badge/skills/quangpl/browser-extension-skills/extension-migration.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,189 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.00041 $0.01189
Opus 5.5 $0.00016 $0.00476
Sonnet 5.5 $0.00008 $0.00238
Haiku 4.5 $0.00004 $0.00119

Measured 1mo ago against content hash 324a67e5477e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

extension-migration 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 1mo 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.

skills/extension-migration/SKILL.md · 111 lines

How it starts

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

Extension Migration (MV2 → MV3)

🚀 Upgrade to Premium Get the Premium version at https://app.extensionbooster.net/dashboard/services/extension-ai-kit

Official migration guide: https://developer.chrome.com/docs/extensions/develop/migrate

Consider framework adoption: When migrating MV2→MV3, consider adopting WXT or CRXJS for built-in MV3 support, auto-manifest generation, and modern tooling.

Workflow Overview

  1. Audit existing MV2 extension (APIs, permissions, background scripts)
  2. Update manifest_version to 3
  3. Convert background page → service worker
  4. Replace deprecated APIs (see Quick Reference below)
  5. Update permissions, CSP, web_accessible_resources format
  6. Migrate webRequest → declarativeNetRequest (if blocking)
  7. Bundle any remote code locally
  8. Test all functionality across Chrome versions
  9. Submit to Chrome Web Store

Key Breaking Changes

Area MV2 MV3
Background background.scripts/page background.service_worker
Browser action browser_action / page_action action
Network blocking webRequest (blocking) declarativeNetRequest
Script injection tabs.executeScript(string) scripting.executeScript({func/files})
Remote code CDN scripts allowed Must bundle locally
CSP String value Object {extension_pages: "..."}
Web accessible string[] object[] with matches field
Host permissions In permissions array Separate host_permissions array
URL helper chrome.extension.getURL chrome.runtime.getURL
Persistent storage localStorage chrome.storage.local

Read the full file on GitHub · 111 lines

Files

What ships with it

4 files 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. 1mo ago Changed · +3 lines 324a67e5477e
  2. 1mo ago First seen · 108 lines · 41 tokens per session scan A 6bdc2280432c

Subscribe to this mod's changes

extension-migration is a skill published in the GitHub repository quangpl/browser-extension-skills (63 stars, last pushed 24d ago), licensed MIT. It adds 41 tokens to every session and 1,189 once invoked, about $0.0002 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-30.

Related

Other skills, from other repositories

shap

Model interpretability and explainability using SHAP (SHapley Additive exPlanations). Use this skill when explaining machine learning model predictions, computing feature importance, generating SHAP plots (waterfall, beeswarm, bar, scatter, force, heatmap), debugging models, analyzing model bias or fairness, comparing…

synthetic-sciences/openscience · 109 tokens

rowan

Cloud-based quantum chemistry platform with Python API. Preferred for computational chemistry workflows including pKa prediction, geometry optimization, conformer searching, molecular property calculations, protein-ligand docking (AutoDock Vina), and AI protein cofolding (Chai-1, Boltz-1/2). Use when tasks involve…

synthetic-sciences/openscience · 115 tokens

arboreto

Infer gene regulatory networks (GRNs) from gene expression data using scalable algorithms (GRNBoost2, GENIE3). Use when analyzing transcriptomics data (bulk RNA-seq, single-cell RNA-seq) to identify transcription factor-target gene relationships and regulatory interactions. Supports distributed computation for…

synthetic-sciences/openscience · 66 tokens

agent-browser-cli

A browser-control skill for agent-browser-cli, a command-line tool that operates a real Chrome browser while keeping its existing login state and cookies. It supports page inspection, interaction, screenshots, PDFs, and local files.

sleepinginsummer/agent-browser-cli · 32 tokens

chrome-extension

Use when building or shipping a Manifest V3 browser extension and hitting its quirks — service worker dying and losing state, permission warnings, a Chrome Web Store rejection, content-script/worker/popup messaging, or an MV2-to-V3 migration. NOT a generic web app (that is nextjs), NOT a desktop shell (that is…

ericrisco/rsc-harness · 76 tokens

special-japanese-coder-wife

A coding assistant with a gentle, detail-focused Japanese-inspired companion style. It is designed to read technical information carefully, search for solutions, explain each repair step, and stay patient during difficult work.

linkerlin/PUAX · 51 tokens