nylo-widgets

A collection of ready-made Nylo v7 Flutter interface components. It includes controls and layouts for alerts, dialogs, buttons, lists, grids, loading states, text, spacing, translation, and connection status.

In plain words
What is it for?
Use it to show toasts or bottom sheets, create animated or loading buttons, display paginated lists and grids, handle asynchronous data, add pull-to-refresh, translate text, or react to network connectivity.
Why use it?
It reduces the need to build common mobile interface behaviors from scratch and helps keep them aligned with Nylo’s theme and state systems.

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/nylo-core/claude-code/nylo-widgets
Any agent
npx skills add nylo-core/claude-code --skill nylo-widgets
Clone the repo
git clone --depth 1 https://github.com/nylo-core/claude-code

Made for: Claude Code, Codex.

Per session 70 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,918 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.00070 $0.03918
Opus 5 $0.00035 $0.01959
Sonnet 5 $0.00014 $0.00784
Haiku 4.5 $0.00007 $0.00392

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

Security

Grade A, and why

nylo-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 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.

skills/nylo-widgets/SKILL.md · 596 lines

How it starts

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

Nylo Built-in Widgets

Overview

Nylo v7 provides a rich widget library covering common UI patterns: toast notifications, bottom sheet modals, styled buttons with animation, list/grid rendering with pagination, async data display, pull-to-refresh, rich text, spacing, localization, and connectivity-aware layouts. These widgets integrate with Nylo's theme and state systems.

When to Use

  • Showing toast notifications or alert dialogs
  • Displaying bottom sheet modals
  • Creating buttons with loading states, animations, or form submission
  • Rendering lists or grids with pagination, sorting, and filtering
  • Loading async data with loading/error states
  • Adding pull-to-refresh to scrollable content
  • Building rich text with mixed styles and tap handlers
  • Adding consistent spacing between elements
  • Translating text or switching languages
  • Showing different UI based on network connectivity
  • When NOT to use: for custom widgets unrelated to Nylo's built-in library, use standard Flutter widgets

Quick Reference

Widget Purpose
showToastSuccess() Success toast notification
showToastDanger() Error toast notification
BottomSheetModal Bottom sheet modal dialog
Button.primary() Primary styled button
CollectionView<T>() Type-safe list rendering
CollectionView<T>.pullable() List with pagination + pull-to-refresh
CollectionView<T>.grid() Grid layout
FutureWidget<T>() Async data loader with loading state
FadeOverlay() Gradient fade overlay on images
Pullable() Pull-to-refresh wrapper
StyledText() Rich text with mixed styles
StyledText.template() Template-based rich text
Spacing.md 16px vertical space
TextTr("key") Translated text widget
LanguageSwitcher() Language selection dropdown
Connective() Connectivity-aware widget

Alerts & Toast Notifications

Convenience Methods (in NyState/NyController)

showToastSuccess(description: "Saved successfully");
showToastWarning(description: "Check your input");
showToastInfo(description: "New update available");
showToastDanger(description: "Something went wrong");
showToastOops(description: "Oops!");    // danger style
showToastSorry(description: "Sorry!");  // danger style

Read the full file on GitHub · 596 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. 2d ago First seen · 596 lines · 70 tokens per session scan A 3bf16ca98f6d

Subscribe to this mod's changes

nylo-widgets is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 4mo ago), licensed MIT. It adds 70 tokens to every session and 3,918 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

flutter-adaptive-ui

Build, fix, review, and validate adaptive or responsive Flutter UIs for mobile, tablet, desktop, web, large screens, foldables, and mixed input devices. Use when creating breakpoint-driven layouts, responsive navigation, adaptive dialogs/lists/grids, keyboard/mouse/touch behavior, window-size decisions with MediaQuery…

MADTeacher/mad-agents-skills · 83 tokens

at_client_skills-sdk

Use this skill when a developer is building a Dart or Flutter app that depends on atclient or atclientflutter from pub.dev, stores or shares data via the Atsign Protocol, needs onboarding (CRAM new-atsign, atKeys file, keychain, APKAM) or APKAM enrollment, or asks about AtCollection , CItem , Query , sub-collections…

atsign-foundation/at_client_sdk · 232 tokens

flutter-pre-caching

Use when preloading fonts, asset/network images, Lottie/Rive animations, local JSON/config, warming initial API data, or optimizing Flutter Web startup.

evanca/flutter-ai-rules · 36 tokens

firebase-messaging

Use when setting up Firebase Cloud Messaging, managing permissions and tokens, handling background/foreground notification taps, or dispatching messages server-side (HTTP v1).

evanca/flutter-ai-rules · 35 tokens

bloc

Use when creating a Cubit or Bloc, modeling state with sealed classes or status enums, wiring BlocBuilder/BlocListener/BlocProvider, writing bloc tests, or choosing between Cubit and Bloc.

evanca/flutter-ai-rules · 42 tokens

firebase-auth

Use when setting up auth, managing auth state, implementing email/password or social sign-in, handling auth errors, or managing users.

evanca/flutter-ai-rules · 29 tokens