app-bridge

app-bridge is a skill for Claude Code from khadinakbarlabs/shopify-app-builder. It costs 66 tokens per session (5,067 once invoked), scanned A, original, MIT.

A guide to using Shopify App Bridge 4.x, the toolkit for connecting an embedded app with the Shopify admin.

In plain words
What is it for?
Use it to add save bars, dialogs, notifications, product or customer pickers, session handling, backend request checks, and migrations from App Bridge 3.x.
Why use it?
It helps developers use Shopify's current interface components and app communication methods instead of relying on older patterns.

Skill for Claude Code

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

Part of the shopify-app-builder plugin — 32 skills, 9 commands, 5 agents shipped together

Good fit Use it to add save bars, dialogs, notifications, product or customer pickers, session handling, backend request checks, and migrations from App Bridge 3.x.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/khadinakbarlabs/shopify-app-builder/app-bridge
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 khadinakbarlabs/shopify-app-builder --skill app-bridge
Clone the repo
git clone --depth 1 https://github.com/khadinakbarlabs/shopify-app-builder

Made for: Claude Code.

Or install shopify-app-builder, the plugin that ships this one along with the rest of its 32 skills, 9 commands, 5 agents.

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 app-bridge

README.md
[![agentmods](https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/app-bridge/github.svg)](https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/app-bridge)
Your own site
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/app-bridge"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/app-bridge/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 app-bridge

Your own site · 80×15
<a href="https://agentmods.dev/skills/khadinakbarlabs/shopify-app-builder/app-bridge"><img src="https://agentmods.dev/badge/skills/khadinakbarlabs/shopify-app-builder/app-bridge.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,067 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.00066 $0.05067
Opus 5 $0.00033 $0.02534
Sonnet 5 $0.00013 $0.01013
Haiku 4.5 $0.00007 $0.00507

Measured 9d ago against content hash b6743f4deb46, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

app-bridge 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 9d 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/app-bridge/SKILL.md · 777 lines

How it starts

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

Shopify App Bridge 4.x: Web Components, Sessions & Admin Apps

When Asked...

  • "Build a Shopify admin app" → Use App Bridge 4.x with web components; load via CDN with data-api-key; use shopify global object for actions
  • "Add save/cancel buttons" → Use <ui-save-bar> web component with data-primary-action and data-secondary-action attributes
  • "Show a confirmation modal" → Use <ui-modal> web component with data-open attribute and slot-based content
  • "Display success message" → Use shopify.toast() method with title, message, duration, isError flags
  • "Let user pick products/customers" → Use resource picker API: shopify.resourcePicker({ type: 'product' })
  • "Validate backend requests" → Exchange session token for JWT; verify JWT signature with Shopify's public key
  • "Upgrade from App Bridge 3.x" → Follow migration checklist: remove AppProvider, update component usage, use web components directly

App Bridge 4.x Architecture

App Bridge 4.x is a web components-first framework. The major shift from 3.x:

  • No AppProvider needed — directly use web components and shopify global object
  • Native web components — built-in elements like <ui-modal>, <ui-save-bar>, <ui-toast> instead of React/Vue wrappers
  • shopify global object — replaces AppBridge context; provides toast(), modal(), navigate(), loading(), idToken(), etc.
  • Session tokens — automatic JWT exchange for backend authentication
  • CDN-first delivery — loaded via script tag with data-api-key; works in any HTML/framework

Installation & CDN Setup

CDN Script (Recommended for Admin Apps)

<!DOCTYPE html>
<html>
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Shopify Admin App</title>
</head>
<body>
  <div id="app"></div>

  <script src="https://cdn.shopify.com/shopifycloud/app-bridge.js"
          data-api-key="YOUR_PUBLIC_API_KEY"
          data-host="{{ request.host }}">
  </script>

  <script>
    // shopify global object is now available
    console.log(shopify);
  </script>
</body>
</html>

Read the full file on GitHub · 777 lines

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. 9d ago First seen · 777 lines · 66 tokens per session scan A b6743f4deb46

Subscribe to this mod's changes

app-bridge is a skill published in the GitHub repository khadinakbarlabs/shopify-app-builder (1 stars, last pushed 1mo ago), licensed MIT. It adds 66 tokens to every session and 5,067 once invoked, about $0.0003 per session on Opus 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

Other skills, from other repositories

frontend

Builds, styles, and polishes web UI and UX. Use for any frontend, page, component, styling, layout, animation, or visual-quality task, or when asked to make an interface look or feel a certain way.

code-yeongyu/oh-my-openagent · 49 tokens

interaction-skill

Layer A interaction-mechanics reference anchored to the beui.dev catalog. Stacks on any style skill whenever work adds or changes motion or interaction — micro-interactions, animated components, transitions, gestures, hover/press/state feedback, loading/success/error morphs, 'make it feel alive'. Mandates reading the…

code-yeongyu/oh-my-openagent · 104 tokens

layout-skill

Layer A layout-mechanics reference. Stacks on any style skill when the screen is an app shell, dashboard, settings, list-detail, mail/inbox, or any layout with fixed regions plus a scrolling body — or when a layout breaks under long, empty, or unbroken content. Owns spatial structure and scroll ownership; owns zero…

code-yeongyu/oh-my-openagent · 88 tokens

ui-designer

Elite UI/UX Design Lead & Frontend Architect. Generates distinctive, non-templated interfaces with opinionated aesthetics, deliberate typography, and exact UX copy. Triggers on UI design, frontend styling, or layout creation.

GulajavaMinistudio/awesome-copilot-id · 49 tokens

html-css-responsive

Custom Instructions: HTML5 & CSS3 Responsive Design Expert.

GulajavaMinistudio/awesome-copilot-id · 15 tokens

tray-scripts-externos

API de Scripts Externos da Tray. Utilize quando o desenvolvedor precisar gerenciar scripts JavaScript customizados injetados na vitrine da loja, incluindo listagem, cadastro, atualização e exclusão.

tray-tecnologia/tray-api-ai-plugin · 49 tokens