shadcn_ui-getting-started

shadcn_ui-getting-started is a skill for Claude Code, Codex from serverpod/skills-registry. It costs 70 tokens per session (871 once invoked), scanned A, original, BSD-3-Clause.

Setup instructions for using Shadcn UI in Flutter, including installing the package and connecting it to a Shadcn-only, Material, or Cupertino app. Flutter is Google's framework for building apps from one codebase.

In plain words
What is it for?
Use it when starting a Flutter project with shadcnui, adding the dependency, configuring themes, or combining Shadcn components with Material or Cupertino.
Why use it?
It explains the required app wrappers and integration choices before UI components are added. This helps avoid mixing Shadcn with existing Flutter app styles incorrectly.

Skill for Claude CodeCodex

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

Good fit Use it when starting a Flutter project with shadcnui, adding the dependency, configuring themes, or combining Shadcn components with Material or Cupertino.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/serverpod/skills-registry/shadcn_ui-getting-started
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 serverpod/skills-registry --skill shadcn_ui-getting-started
Clone the repo
git clone --depth 1 https://github.com/serverpod/skills-registry

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 shadcn_ui-getting-started

README.md
[![agentmods](https://agentmods.dev/badge/skills/serverpod/skills-registry/shadcn_ui-getting-started/github.svg)](https://agentmods.dev/skills/serverpod/skills-registry/shadcn_ui-getting-started)
Your own site
<a href="https://agentmods.dev/skills/serverpod/skills-registry/shadcn_ui-getting-started"><img src="https://agentmods.dev/badge/skills/serverpod/skills-registry/shadcn_ui-getting-started/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 shadcn_ui-getting-started

Your own site · 80×15
<a href="https://agentmods.dev/skills/serverpod/skills-registry/shadcn_ui-getting-started"><img src="https://agentmods.dev/badge/skills/serverpod/skills-registry/shadcn_ui-getting-started.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 871 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.00070 $0.00871
Opus 5 $0.00035 $0.00436
Sonnet 5 $0.00014 $0.00174
Haiku 4.5 $0.00007 $0.00087

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

Security

Grade A, and why

shadcn_ui-getting-started 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/shadcn_ui/shadcn_ui-getting-started/SKILL.md · 123 lines

How it starts

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

Shadcn UI for Flutter — Getting Started

Instructions

Installation

From the project root:

flutter pub add shadcn_ui

Or add to pubspec.yaml:

dependencies:
  shadcn_ui: ^0.2.4  # use latest version

Shadcn only (pure)

Use ShadApp for apps that use only Shadcn UI components (no Material/Cupertino):

import 'package:shadcn_ui/shadcn_ui.dart';

void main() {
  runApp(const MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({super.key});

  @override
  Widget build(BuildContext context) {
    return ShadApp();
  }
}

For declarative routing use ShadApp.router.

Shadcn + Material

Use ShadApp.custom with appBuilder to wrap MaterialApp and use shadcn and Material together. Wrap the app with ShadAppBuilder in the builder:

import 'package:shadcn_ui/shadcn_ui.dart';
import 'package:flutter/material.dart';

return ShadApp.custom(
  themeMode: ThemeMode.dark,
  darkTheme: ShadThemeData(
    brightness: Brightness.dark,
    colorScheme: const ShadSlateColorScheme.dark(),
  ),
  appBuilder: (context) {
    return MaterialApp(
      theme: Theme.of(context),
      builder: (context, child) {
        return ShadAppBuilder(child: child!);
      },
    );
  },
);

Use MaterialApp.router when using the Router API.

ShadApp builds a default Material ThemeData from ShadThemeData (fontFamily, extensions, colorScheme mapping, dividerTheme, textSelectionTheme, iconTheme, scrollbarTheme). Override with Theme.of(context).copyWith(...) without losing shadcn defaults.

Shadcn + Cupertino

Use CupertinoApp inside appBuilder for Cupertino + shadcn:

import 'package:shadcn_ui/shadcn_ui.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter_localizations/flutter_localizations.dart';

return ShadApp.custom(
  themeMode: ThemeMode.dark,
  darkTheme: ShadThemeData(
    brightness: Brightness.dark,
    colorScheme: const ShadSlateColorScheme.dark(),
  ),
  appBuilder: (context) {
    return CupertinoApp(
      theme: CupertinoTheme.of(context),
      localizationsDelegates: const [
        DefaultMaterialLocalizations.delegate,
        DefaultCupertinoLocalizations.delegate,
        DefaultWidgetsLocalizations.delegate,
      ],
      builder: (context, child) {
        return ShadAppBuilder(child: child!);
      },
    );
  },
);

Read the full file on GitHub · 123 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 · 123 lines · 70 tokens per session scan A 72f3b17f56cd

Subscribe to this mod's changes

shadcn_ui-getting-started is a skill published in the GitHub repository serverpod/skills-registry (9 stars, last pushed 6mo ago), licensed BSD-3-Clause. It adds 70 tokens to every session and 871 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

display-glasses-with-jetpack-compose-glimmer

Provides guidelines for developing projected Android XR apps for display glasses using the Jetpack Compose Glimmer UI toolkit. This skill covers foundational Glimmer design principles, workflows for implementing Jetpack Compose Glimmer, and interaction models for the glasses form factor. Use this skill to build an…

android/skills · 91 tokens

expo-design-system

Framework (OSS). Build and maintain a design system inside an Expo app - a reusable theme of design tokens (color, spacing, typography, radius, shadow, motion), reusable component structure with variant/size/state prop conventions, and rules for when to extract a repeated view into a shared component. Use when…

expo/skills · 181 tokens

flutter-build-responsive-layout

Use LayoutBuilder, MediaQuery, or Expanded/Flexible to create a layout that adapts to different screen sizes. Use when you need the UI to look good on both mobile and tablet/desktop form factors.

flutter/agent-plugins · 51 tokens

omh-apple-design

This is a Hermes-native apple-design workflow skill.

rlaope/oh-my-hermes · 73 tokens

axiom-audit-liquid-glass

Use when the user mentions Liquid Glass review, iOS 26 UI updates, toolbar improvements, or visual effect migration.

CharlesWiltgen/Axiom · 32 tokens

axiom-audit-ux-flow

Use when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app.

CharlesWiltgen/Axiom · 43 tokens