ui-package

ui-package is a skill for Claude Code, Codex from VeryGoodOpenSource/vgv-ai-flutter-plugin. It costs 188 tokens per session (1,890 once invoked), scanned A, original, MIT.

A guide for building a reusable Flutter UI package: a library of app-specific widgets and design settings built on Flutter Material components.

In plain words
What is it for?
Use it to create or extend a Flutter component library, add custom theme values, define widget APIs, and test the widgets.
Why use it?
It helps keep shared widgets, themes, naming, and tests consistent across Flutter apps instead of rebuilding them separately.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the vgv-ai-flutter-plugin plugin — 15 skills, 1 agent, 3 hooks, 2 MCP servers shipped together

Good fit Use it to create or extend a Flutter component library, add custom theme values, define widget APIs, and test the widgets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package
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 VeryGoodOpenSource/vgv-ai-flutter-plugin --skill ui-package
Clone the repo
git clone --depth 1 https://github.com/VeryGoodOpenSource/vgv-ai-flutter-plugin

Made for: Claude Code, Codex.

Or install vgv-ai-flutter-plugin, the plugin that ships this one along with the rest of its 15 skills, 1 agent, 3 hooks, 2 MCP servers.

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 ui-package

README.md
[![agentmods](https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package/github.svg)](https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package)
Your own site
<a href="https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package"><img src="https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package/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 ui-package

Your own site · 80×15
<a href="https://agentmods.dev/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package"><img src="https://agentmods.dev/badge/skills/verygoodopensource/vgv-ai-flutter-plugin/ui-package.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 188 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,890 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 6
    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.00188 $0.01890
Opus 5.5 $0.00075 $0.00756
Sonnet 5.5 $0.00038 $0.00378
Haiku 4.5 $0.00019 $0.00189

Measured 14d ago against content hash ccc320a91e41, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ui-package 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 14d 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/ui-package/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.

UI Package

Best practices for creating a Flutter UI package — a reusable widget library that builds on top of package:flutter/material.dart, extending it with app-specific components, custom design tokens via ThemeExtension, and a consistent API surface.

Theming foundation: This skill focuses on UI package structure, widget APIs, and testing. For foundational Material 3 theming (ColorScheme, TextTheme, component themes, spacing constants, light/dark mode), see the Material Theming skill (/material-theming). The two skills are complementary — Material Theming covers how to set up and use ThemeData; this skill covers how to extend it with ThemeExtension tokens and package reusable widgets around it.

Core Standards

Apply these standards to all UI package work:

  • Scaffold from the app_ui_package template — create the package with the Very Good CLI MCP tool, subcommand: 'app_ui_package'. Never flutter_package, never dart_package, never flutter create --template=package; those produce a bare package with none of the theme, barrel, test-helper, or Widgetbook scaffolding below
  • Build on Material — depend on flutter/material.dart and compose Material widgets; do not rebuild primitives that Material already provides
  • One widget per file — each public widget lives in its own file named after the widget in snake_case (e.g., app_button.dart)
  • Barrel file for public API — expose all public widgets and theme classes through a single barrel file (e.g., lib/my_ui.dart) that also re-exports material.dart, so one import gives a consumer both Material's widgets and the package's own and no second Material import is needed
  • lib/src/ is private — consumers import the barrel and nothing else; a per-file import such as package:my_ui/src/widgets/app_button.dart reaches into private implementation and breaks on any internal rename. Tree shaking already drops unused widgets, so the barrel costs nothing
  • Extend theming with ThemeExtension — use Material's ThemeData, ColorScheme, and TextTheme as the base (see Material Theming skill); add app-specific tokens (spacing, custom colors) via ThemeExtension<T>, register every one of them on ThemeData.extensions, and read them through a BuildContext extension (context.appColors, context.appSpacing)
  • Every widget has a corresponding widget test — behavioral tests verify interactions, callbacks, and state changes, pumped through the package's pumpApp helper rather than an inline MaterialApp
  • Decline anti-patterns with working code — when a request asks for something in the Anti-Patterns table, say why it is wrong and deliver the corrected implementation in the same response. Do not stop at the objection, and do not ask permission to do it the documented way
  • Prefix all public classes — use a consistent prefix (e.g., App, Vg) to avoid naming collisions with Material widgets
  • Use const constructors everywhere possible — all widget constructors must be const when feasible
  • Document every public member — every public class, constructor parameter, and method has a dartdoc comment

Read the full file on GitHub · 111 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. 14d ago Changed · -4 lines · -36 tokens per session ccc320a91e41
  2. 29d ago Changed 56bee8723da7
  3. 1mo ago Changed · +4 lines · +83 tokens per session 0d8f7cdbbebf
  4. 1mo ago Changed · +9 lines · +103 tokens per session bcfab6a18c49
  5. 1mo ago First seen · 102 lines · 38 tokens per session scan A 66be03f31755

Subscribe to this mod's changes

ui-package is a skill published in the GitHub repository VeryGoodOpenSource/vgv-ai-flutter-plugin (173 stars, last pushed yesterday), licensed MIT. It adds 188 tokens to every session and 1,890 once invoked, about $0.0008 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

fl-ui-components

Awareness index of every reusable widget in flui, fltheme, flmedia, and core's commonwidget — name, one-line purpose, when to reach for it instead of writing a new one.

phanbaohuy96/flutter_base_structure · 44 tokens

fl-theme-usage

Applies the fltheme design system via context.themeColor and context.textTheme without hard-coded colors or Material text-style names.

phanbaohuy96/flutter_base_structure · 29 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

chakra-ui-refactor

Review, convert, and improve UI code using Chakra UI v3. Use this skill whenever a user wants to review Chakra UI code for issues, convert plain HTML/CSS, Tailwind, CSS Modules, or styled-components to Chakra UI, clean up messy Chakra components, fix layout structure or token usage, or asks anything like "is this…

chakra-ui/chakra-ui · 139 tokens

figma-a11y-annotations

Rules for generating accessibility annotations on iOS/iPadOS mobile designs in Figma. Enforces a bare-minimum annotation discipline, an iOS vocabulary instead of web ARIA terms, and exact grammar for names, control types, page titles, values, hints, headings, groups, and reading order. Never annotates visible text as…

cvs-health/ios-swiftui-accessibility-techniques · 110 tokens

iOS SwiftUI Accessibility

Enforces WCAG 2.2 accessible coding patterns when writing SwiftUI — labels, traits, Dynamic Type, contrast, touch targets, focus management, orientation, and more. Based on the ios-swiftui-accessibility-techniques project with 41 static analysis rules across 24 WCAG criteria.

cvs-health/ios-swiftui-accessibility-techniques · 67 tokens