flutter-design

flutter-design is a skill for Claude Code, Codex from obiwancenobi/klamben. It costs 91 tokens per session (1,108 once invoked), scanned A, original, Apache-2.0.

A set of rules for designing Flutter, a toolkit for building mobile apps, with consistent layouts, colors, text, and platform-specific behavior.

In plain words
What is it for?
It guides the writing, review, and refactoring of Flutter screens and widgets, including themes, spacing, typography, responsive layouts, motion, and interactions.
Why use it?
It helps prevent inconsistent interfaces, inaccessible choices, and code that looks wrong on iPhone or Android.

Skill for Claude CodeCodex

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

Good fit It guides the writing, review, and refactoring of Flutter screens and widgets, including themes, spacing, typography, responsive layouts, motion, and interactions.

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

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 flutter-design

README.md
[![agentmods](https://agentmods.dev/badge/skills/obiwancenobi/klamben/skill/github.svg)](https://agentmods.dev/skills/obiwancenobi/klamben/skill)
Your own site
<a href="https://agentmods.dev/skills/obiwancenobi/klamben/skill"><img src="https://agentmods.dev/badge/skills/obiwancenobi/klamben/skill/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 flutter-design

Your own site · 80×15
<a href="https://agentmods.dev/skills/obiwancenobi/klamben/skill"><img src="https://agentmods.dev/badge/skills/obiwancenobi/klamben/skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 91 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,108 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.00091 $0.01108
Opus 5 $0.00046 $0.00554
Sonnet 5 $0.00018 $0.00222
Haiku 4.5 $0.00009 $0.00111

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

Security

Grade A, and why

flutter-design 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 8d 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.

src/skill/SKILL.md · 108 lines

How it starts

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

Flutter Design

You are working in a Flutter mobile project. Apply the rules below to every widget you create, read, or modify. When the user asks for UI work, read the relevant reference module first.

Getting started

Run /teach once when you first add klamben to a project. It scans your codebase and asks a few questions to build a design context file (.klamben.md). All other commands reference this context for project-specific guidance.

If .klamben.md doesn't exist, commands still work but give generic Flutter advice instead of project-tailored suggestions.

Design context

Before doing any UI work, check if .klamben.md exists in the project root. If it does, read it and apply the project's brand, platform targets, accessibility tier, and existing patterns to your work.

Core principles

  1. Theme over hardcode. Never write Colors.purple, Color(0xFF...), or inline TextStyle(fontSize: ...). Always reach for Theme.of(context).colorScheme.* and .textTheme.*.
  2. Platform-adaptive by default. On screens that render cross-platform, branch on Platform.isIOS or use .adaptive constructors (Switch.adaptive, Icon.adaptive) when they exist.
  3. Safe by construction. Every Scaffold body with visible content at the top needs a SafeArea (or an AppBar which handles the inset).
  4. Widget economy. No Container wrapping Padding wrapping Container. One widget per responsibility.
  5. Performance is a design decision. const constructors wherever possible. ListView.builder for long lists. RepaintBoundary for expensive subtrees.
  6. Accessibility is non-negotiable. Every icon-only button has a tooltip. Touch targets are ≥48dp Material / ≥44pt iOS. Text contrast meets WCAG AA.
  7. Localize from day one. No hardcoded user-facing strings. Wire flutter_localizations + ARB files before shipping Text widgets.

Reference modules

When a task touches one of these areas, read the corresponding file:

Read the full file on GitHub · 108 lines

Files

What ships with it

7 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. 8d ago First seen · 108 lines · 91 tokens per session scan A e0f265a1f1b0

Subscribe to this mod's changes

flutter-design is a skill published in the GitHub repository obiwancenobi/klamben (2 stars, last pushed 5mo ago), licensed Apache-2.0. It adds 91 tokens to every session and 1,108 once invoked, about $0.0005 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

android-edge-to-edge

Migrate a Jetpack Compose app to edge-to-edge display and fix system bar inset issues. Use when UI components are obscured by navigation/status bars, fixing IME insets, or enabling edge-to-edge for SDK 35+.

HoangNguyen0403/agent-skills-standard · 52 tokens

common-mobile-animation

Apply motion design principles for mobile apps covering timing curves, transitions, gestures, and performance-conscious animations. Use when implementing screen transitions, gesture-driven interactions, shared-element animations, or optimizing animation frame rates on iOS, Android, or Flutter.

HoangNguyen0403/agent-skills-standard · 52 tokens

common-mobile-ux-core

Enforce universal mobile UX principles for touch-first interfaces including touch targets, safe areas, and mobile-specific interaction patterns. Use when building mobile screens, handling touch interactions, or validating safe area compliance.

HoangNguyen0403/agent-skills-standard · 45 tokens

android-design-system

Enforce Material Design 3 theming and design token usage in Jetpack Compose. Use when implementing M3 components, color schemes, typography, or design tokens.

HoangNguyen0403/agent-skills-standard · 37 tokens

ux-mobile-responsiveness-audit

Run a structured mobile-responsiveness audit on a design, screen, or component — viewport adaptation and reflow, orientation, touch-target size and spacing, thumb reachability, mobile input ergonomics, gesture safety, and mobile readability/content priority. Produces a severity-rated issue list with concrete fixes.…

Uxcel-Lab/product-skills · 92 tokens

building-shadcn-flutter-ui

Build beautiful, accessible, and highly customizable user interfaces in Flutter using the Shadcn UI design system. This skill ensures proper framework integration (Pure, Material, or Cupertino), consistent theming, and effective use of the 30+ responsive components available in the library.

Poorgramer-Zack/dart-expert-skills · 43 tokens