metabase-modular-embedding-to-modular-embedding-sdk-upgrade

metabase-modular-embedding-to-modular-embedding-sdk-upgrade is a skill for Claude Code from metabase/agent-skills. It costs 78 tokens per session (3,895 once invoked), scanned A, original, MIT.

A migration guide for replacing Metabase's embed.js web components with its React embedding SDK. Embedding means showing Metabase dashboards inside another application.

In plain words
What is it for?
Use it to scan a React project, map the old embedding code to SDK components, apply file changes, and run type checks.
Why use it?
It provides a required, evidence-based sequence for changing the integration without treating the migration as a simple version update.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter; mentions subagents; names the AskUserQuestion tool.

Good fit Use it to scan a React project, map the old embedding code to SDK components, apply file changes, and run type checks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade
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 metabase/agent-skills --skill metabase-modular-embedding-to-modular-embedding-sdk-upgrade
Clone the repo
git clone --depth 1 https://github.com/metabase/agent-skills

Made for: Claude Code.

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 metabase-modular-embedding-to-modular-embedding-sdk-upgrade

README.md
[![agentmods](https://agentmods.dev/badge/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade/github.svg)](https://agentmods.dev/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade)
Your own site
<a href="https://agentmods.dev/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade"><img src="https://agentmods.dev/badge/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade/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 metabase-modular-embedding-to-modular-embedding-sdk-upgrade

Your own site · 80×15
<a href="https://agentmods.dev/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade"><img src="https://agentmods.dev/badge/skills/metabase/agent-skills/metabase-modular-embedding-to-modular-embedding-sdk-upgrade.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 78 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,895 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00078 $0.03895
Opus 5.5 $0.00031 $0.01558
Sonnet 5.5 $0.00016 $0.00779
Haiku 4.5 $0.00008 $0.00390

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

Security

Grade A, and why

metabase-modular-embedding-to-modular-embedding-sdk-upgrade 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 3mo ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/prepare.sh, scripts/read-sources.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/metabase-modular-embedding-to-modular-embedding-sdk-upgrade/SKILL.md · 342 lines

How it starts

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

Execution contract

Follow the workflow steps in order — do not skip any step. Create the checklist first, then execute each step and explicitly mark it done with evidence. Each step's output feeds into the next, so skipping steps produces wrong migrations.

If you cannot complete a step due to missing info or tool failure, you must:

  1. record the step as ❌ blocked,
  2. explain exactly what is missing / what failed,
  3. stop (do not proceed to later steps).

Required output structure

Your response should contain these sections in this order:

  1. Step 0: Prerequisites Check
  2. Step 0.1: Migration Plan Checklist
  3. Step 1: Project Scan
  4. Step 2: Target SDK API
  5. Step 3: Migration Mapping
  6. Step 4: Applied Code Changes
  7. Step 5: Typecheck Validation
  8. Step 6: Final Summary

Each step section should end with a status line:

  • Status: ✅ complete or Status: ❌ blocked

Evidence requirements

  • Step 0: React detected (dependency + version), Metabase instance version, target SDK version, package manager.
  • Step 1: every file with Modular embedding usage (web components, metabaseConfig, embed.js script tag), with matching grep lines.
  • Step 2: confirm d.ts loaded in context. List exported components, their props, and the MetabaseProvider config type.
  • Step 3: the structured migration mapping — every web component → React component with prop conversions, auth config mapping, and embed.js removal plan.
  • Step 4: per file — what was changed and exact diffs applied.
  • Step 5: the exact typecheck command run and error summary if any remain.

Credential safety

This migration touches code that may contain API keys, JWTs, or auth configuration values (e.g., window.metabaseConfig). Rules:

  • Never output literal secret values — if you encounter a hardcoded API key, token, or secret in the code, reference it by variable name or file location (e.g., "the key in config.js:12"), never echo the value itself
  • In code diffs and summaries, use variable references — not the resolved values
  • If you find hardcoded secrets, flag them to the user and recommend moving them to environment variables as part of the migration

Read the full file on GitHub · 342 lines

Files

What ships with it

2 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. 3mo ago First seen · 342 lines · 78 tokens per session scan A 54c02988a44d

Subscribe to this mod's changes

metabase-modular-embedding-to-modular-embedding-sdk-upgrade is a skill published in the GitHub repository metabase/agent-skills (60 stars, last pushed 12d ago), licensed MIT. It adds 78 tokens to every session and 3,895 once invoked, about $0.0003 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

metabase-modular-embedding-to-modular-embedding-sdk-upgrade compared with skills from other repositories

metabase-modular-embedding-to-modular-embedding-sdk-upgrade next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
metabase-modular-embedding-to-modular-embedding-sdk-upgrademetabase/agent-skillsSkill6012d agoMITA78Claude Code
build-ghost-appTryGhost/GhostSkill56ktodayMITA44Claude Code, Codex
material-ui-tailwindmui/material-uiSkill99kyesterdayMITA67Claude Code, Codex
fuzzy-rankingTanStack/tableSkill29k7d agoMITA62Claude Code, Codex
r3f-best-practiceszebbern/claude-code-guideSkill4.7ktodayMITA74Claude Code, Codex
git-safetytamagui/tamaguiSkill14k4d agoMITA42Claude Code
onchainkitalsk1992/CloddsBotSkill3.1k17d agoMITA24Claude Code, Codex