bridge-ui-setup

A setup guide for adding Bridge UI to a React application, including its theme, provider, icons, translations, date handling, and global hosts.

In plain words
What is it for?
Use it when installing Bridge UI, starting a new project with it, or fixing missing theme, icon, translation, date, provider, or overlay setup.
Why use it?
It helps avoid incomplete setup, such as missing styles, providers, adapters, or infrastructure needed by other Bridge UI elements.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bridge-ui/core/bridge-ui-setup
Any agent
npx skills add Bridge-UI/core --skill bridge-ui-setup
Clone the repo
git clone --depth 1 https://github.com/Bridge-UI/core

Made for: Claude Code, Codex.

Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 372 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00062 $0.00372
Opus 5 $0.00031 $0.00186
Sonnet 5 $0.00012 $0.00074
Haiku 4.5 $0.00006 $0.00037

Measured 2d ago against content hash 8e25f7efd122, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

bridge-ui-setup 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 2d 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.

packages/react/ai/skills/bridge-ui-setup/SKILL.md · 37 lines

What it actually says

Bridge UI (React) — setup

Do not invent APIs. Read the package docs (after install: .ai/docs/; in this package: docs/).

Install

npm install @bridge-ui/react
npx bridge-ui-react-ai install

Required reading

Topic Doc
Provider, global, components, icons, i18n, dates .ai/docs/components/BridgeUIProvider.md
Icon adapter usage .ai/docs/components/Icon.md
i18n adapter .ai/docs/components/I18n.md
Breakpoints .ai/docs/components/useBreakpoint.md
Adapter sample code .ai/docs/examples/

Hard rules

  1. Tailwind CSS v4 + @import "@bridge-ui/react/theme.css".
  2. Wrap the app with BridgeUIProvider.
  3. Mount BridgeUIHosts inside the provider when using action hooks (useDialogAction, useModalAction, useDrawerAction, useSnackbarAction).
  4. Semantic icon names, chrome strings, and date libs need global.icons / global.i18n / global.dates — copy samples from .ai/docs/examples/.
  5. Prefer deep imports: @bridge-ui/react/Components/{Name}.
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. 2d ago First seen · 37 lines · 62 tokens per session scan A 8e25f7efd122

Subscribe to this mod's changes

bridge-ui-setup is a skill published in the GitHub repository Bridge-UI/core (3 stars, last pushed 2d ago), licensed MIT. It adds 62 tokens to every session and 372 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-patterns

Frontend development patterns for React, Next.js, state management, performance optimization, and UI best practices. Use when building or reviewing React or Next.js components, state, or render performance.

affaan-m/ECC · 41 tokens

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

row-selection

Maintain rowSelection ID state with stable getRowId, single, multi, subrow, and Shift-range rules, selected row models, handler anchors, and manual-pagination semantics. Load when implementing getToggleSelectedHandler, enableRowRangeSelection, selectChildren, deselectParents, or selected IDs that outlive loaded Row…

TanStack/table · 68 tokens

material-ui-tailwind

Integrates Material UI with Tailwind CSS v4 using cascade layers (enableCssLayer, @layer order) and documents Tailwind v3 interoperability (preflight, important, injectFirst, portals). Use when combining MUI with Tailwind utilities, slotProps className, or theme token bridges.

mui/material-ui · 67 tokens

extract-errors

Use when adding new error messages to React, or seeing "unknown error code" warnings.

react/react · 21 tokens

r3f-animation

React Three Fiber animation - useFrame, useAnimations, spring physics, keyframes. Use when animating objects, playing GLTF animations, creating procedural motion, or implementing physics-based movement.

zebbern/claude-code-guide · 43 tokens