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.
npx skills add Poorgramer-Zack/dart-expert-skills --skill flutter-genuigit clone --depth 1 https://github.com/Poorgramer-Zack/dart-expert-skillsWrote 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.
[](https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/flutter-genui)<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/flutter-genui"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/flutter-genui/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.
<a href="https://agentmods.dev/skills/poorgramer-zack/dart-expert-skills/flutter-genui"><img src="https://agentmods.dev/badge/skills/poorgramer-zack/dart-expert-skills/flutter-genui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00121 | $0.01247 |
| Opus 5 | $0.00060 | $0.00624 |
| Sonnet 5 | $0.00024 | $0.00249 |
| Haiku 4.5 | $0.00012 | $0.00125 |
Grade A, and why
generating-flutter-ui 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 11d 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.
How it starts
The opening of the file, as written. The whole thing — 126 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flutter Generative UI (GenUI) Best Practices
Goal
Implement a dynamic user interface generated by AI using the genui package. This is the recommended approach when an application needs to build reactive screens or components directly from AI responses without hardcoding the layout.
Instructions
The genui package orchestrates a conversational loop between the user, the AI (via ContentGenerator), and the Flutter UI (via A2uiMessageProcessor and DataModel).
1. Project Setup
Add the necessary packages to your pubspec.yaml:
flutter pub add genui
# For Gemini integration via Firebase:
flutter pub add genui_firebase_ai
If targeting macOS/iOS, enable outbound network requests in entitlements:
<key>com.apple.security.network.client</key>
<true/>
2. Core Integration Structure
To connect your Flutter application to the AI agent, you need to instantiate three main components:
A2uiMessageProcessor: Handles the UI side, translating AI messages into UI actions. Supply it with aCatalogof widgets the AI is allowed to use.ContentGenerator: Handles communication with the AI. Supply it with system instructions and tools.GenUiConversation: The facade coordinating the processor and generator.
Example Setup in a StatefulWidget:
import 'package:flutter/material.dart';
import 'package:genui/genui.dart';
import 'package:genui_firebase_ai/genui_firebase_ai.dart';
class GenUIPage extends StatefulWidget {
const GenUIPage({super.key});
@override
State<GenUIPage> createState() => _GenUIPageState();
}
class _GenUIPageState extends State<GenUIPage> {
late final A2uiMessageProcessor _a2uiMessageProcessor;
late final GenUiConversation _genUiConversation;
@override
void initState() {
super.initState();
// 1. Initialize Message Processor with predefined catalog widgets
_a2uiMessageProcessor = A2uiMessageProcessor(
catalogs: [CoreCatalogItems.asCatalog()],
);
// 2. Initialize Content Generator (e.g., Firebase AI / Gemini)
final contentGenerator = FirebaseAiContentGenerator(
catalog: CoreCatalogItems.asCatalog(),
systemInstruction: '''
You are an AI assistant. You must generate UI by responding with JSON
matching the provided widget schemas. Always output valid UI structures.
''',
tools: _a2uiMessageProcessor.getTools(),
);
// 3. Orchestrate the Conversation
_genUiConversation = GenUiConversation(
a2uiMessageProcessor: _a2uiMessageProcessor,
contentGenerator: contentGenerator,
// Implement your handlers for rendering generated surfaces
onSurfaceAdded: (surfaceId) { /* Handle surface creation */ },
onSurfaceDeleted: (surfaceId) { /* Handle surface deletion */ },
onTextResponse: (text) { /* Optional: show text explicitly */ },
onError: (error) { /* Handle generation errors */ },
);
}
@override
void dispose() {
_genUiConversation.dispose();
super.dispose();
}
@override
Widget build(BuildContext context) {
// UI Implementation interacting with _genUiConversation.sendRequest()
return const Scaffold();
}
}
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.
- 11d ago First seen · 126 lines · 121 tokens per session scan A e7dbb016d69b
generating-flutter-ui is a skill published in the GitHub repository Poorgramer-Zack/dart-expert-skills (7 stars, last pushed 1mo ago), licensed MIT. It adds 121 tokens to every session and 1,247 once invoked, about $0.0006 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.
Other skills, from other repositories
signals-flutter
Highly optimized Flutter UI bindings and GPU rendering for reactive signals.
flutter-use-column-row-first
Use when building any Flutter screen or component to choose responsive Row, Column, Expanded, Flexible, and Spacer layouts before fixed-size or coordinate-based alternatives.
flutter-mcp-toolkit-maintain-web
Maintains fluttertestapp and intentcall web targets (Chrome, web codegen, WebMCP bootstrap, web-showcase, webmcp verify). Use when editing web/index.html, agentmanifest.json, intentcallwebmcp.generated.js, web platform sync, Chrome dogfood, or WebMCP modelContext.
flutter
Build Flutter widget interfaces, organize state and async behavior, and prepare platform integrations and release builds.
flutter-animations
Add, fix, refactor, debug, test, or explain Flutter animations and motion effects. Use when working with implicit animations such as AnimatedContainer, AnimatedOpacity, AnimatedSwitcher, and TweenAnimationBuilder; explicit animations using AnimationController, Tween, CurvedAnimation, AnimatedWidget, AnimatedBuilder…
flutter-navigation
Implement, fix, refactor, review, migrate, or validate Flutter navigation and routing. Use when working with Navigator, MaterialPageRoute, Router API, gorouter, route guards, redirects, ShellRoute or StatefulShellRoute, nested Navigators, passing and returning route data, deep links, Android App Links, iOS Universal…