layout-widgets

layout-widgets is a skill for Claude Code from sampaio-tech/iOS-design-system. It costs 27 tokens per session (2,091 once invoked), scanned A, original, MIT.

A set of building blocks for arranging iOS-style app screens, including screen containers, navigation bars, grouped tables, rows, and toolbars. iOS is Apple's mobile operating system.

In plain words
What is it for?
Use it to build settings pages and other iOS-style screens with navigation bars, scrollable content, grouped rows, and bottom toolbars.
Why use it?
It provides a consistent structure for screen content, navigation, spacing, buttons, and light or dark appearance.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to build settings pages and other iOS-style screens with navigation bars, scrollable content, grouped rows, and bottom toolbars.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sampaio-tech/ios-design-system/layout-widgets
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 sampaio-tech/iOS-design-system --skill layout-widgets
Clone the repo
git clone --depth 1 https://github.com/sampaio-tech/iOS-design-system

Made for: Claude Code.

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 layout-widgets

README.md
[![agentmods](https://agentmods.dev/badge/skills/sampaio-tech/ios-design-system/layout-widgets.svg)](https://agentmods.dev/skills/sampaio-tech/ios-design-system/layout-widgets)
Your own site
<a href="https://agentmods.dev/skills/sampaio-tech/ios-design-system/layout-widgets"><img src="https://agentmods.dev/badge/skills/sampaio-tech/ios-design-system/layout-widgets.svg" alt="Measured on agentmods" height="20"></a>
Per session 27 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,091 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.00027 $0.02091
Opus 5 $0.00014 $0.01045
Sonnet 5 $0.00005 $0.00418
Haiku 4.5 $0.00003 $0.00209

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

Security

Grade A, and why

layout-widgets 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.

.claude/skills/layout-widgets/SKILL.md · 383 lines

How it starts

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

Layout Widgets Reference

Core structural widgets for building iOS-style screens with proper spacing and navigation.

ScaffoldWidget

Main screen container with navigation bar and toolbar.

ScaffoldWidget(
  navigationBar: CupertinoNavigatorBarWidget(
    title: 'Settings',
    imageFilter: NavigatorBarImageFilter.enabled,
    leading: null,
    trailing: LabelButtonWidget.label(
      label: 'Done',
      onPressed: () => Navigator.pop(context),
    ),
  ),
  toolBar: ToolBarWidget(
    imageFilter: ToolBarImageFilter.enabled,
    child: ButtonWidget.label(
      size: const LargeButtonSize(),
      color: const BlueButtonColor(),
      label: 'Continue',
      onPressed: () {},
    ),
  ),
  child: SingleChildScrollView(
    child: SafeArea(
      child: Column(
        children: [
          // Content
        ],
      ),
    ),
  ),
)

Background Colors:

  • Light: defaultSystemGroupedBackgroundsColors.primaryLight
  • Dark: defaultSystemBackgroundsColors.primaryDarkBase

CupertinoNavigatorBarWidget

iOS navigation bar with blur effects and auto back button.

CupertinoNavigatorBarWidget(
  title: 'Profile',
  imageFilter: NavigatorBarImageFilter.enabled, // or .disabled
  leading: LabelButtonWidget.label(
    label: 'Cancel',
    onPressed: () => Navigator.pop(context),
  ),
  trailing: LabelButtonWidget.label(
    label: 'Save',
    onPressed: () {},
  ),
)

Features:

  • Auto back button when route can pop
  • Tap title to scroll to top
  • 44pt height (Apple HIG standard)
  • Blur with 80% opacity when enabled

ToolBarWidget

Bottom toolbar for actions and buttons.

ToolBarWidget(
  imageFilter: ToolBarImageFilter.enabled,
  padding: const EdgeInsets.symmetric(horizontal: 16, vertical: 5),
  child: ButtonWidget.label(
    size: const LargeButtonSize(),
    color: const BlueButtonColor(),
    label: 'Continue',
    onPressed: () {},
  ),
)

// Multiple buttons
ToolBarWidget(
  child: Row(
    children: [
      Expanded(
        child: ButtonWidget.label(
          size: const LargeButtonSize(),
          color: const GreyTransparentButtonColor(),
          label: 'Cancel',
          onPressed: () {},
        ),
      ),
      const SizedBox(width: 8),
      Expanded(
        child: ButtonWidget.label(
          size: const LargeButtonSize(),
          color: const BlueButtonColor(),
          label: 'Save',
          onPressed: () {},
        ),
      ),
    ],
  ),
)

Read the full file on GitHub · 383 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. 8d ago First seen · 383 lines · 27 tokens per session scan A d6d446fd39b6

Subscribe to this mod's changes

layout-widgets is a skill published in the GitHub repository sampaio-tech/iOS-design-system (19 stars, last pushed 1mo ago), licensed MIT. It adds 27 tokens to every session and 2,091 once invoked, about $0.0001 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-30.

Related

Other skills, from other repositories

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

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

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