flutter-duit-bdui

flutter-duit-bdui is a skill for Claude Code, Codex from MADTeacher/mad-agents-skills. It costs 94 tokens per session (1,410 once invoked), scanned A, original, MIT.

A guide for using Duit, a Flutter toolkit that lets an app display user-interface layouts supplied by a server. It covers setup, custom widgets, data connections, upgrades, testing, and debugging.

In plain words
What is it for?
Use it to add, review, migrate, test, or debug Duit and flutter_duit features, including custom widgets, components, HTTP or WebSocket connections, and screen rendering.
Why use it?
It helps avoid writing code for the wrong Duit version or misunderstanding how server-supplied screens connect to a Flutter app.

Skill for Claude CodeCodex

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

Good fit Use it to add, review, migrate, test, or debug Duit and flutter_duit features, including custom widgets, components, HTTP or WebSocket connections, and screen rendering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/madteacher/mad-agents-skills/flutter-duit-bdui
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 MADTeacher/mad-agents-skills --skill flutter-duit-bdui
Clone the repo
git clone --depth 1 https://github.com/MADTeacher/mad-agents-skills

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-duit-bdui

README.md
[![agentmods](https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-duit-bdui/github.svg)](https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-duit-bdui)
Your own site
<a href="https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-duit-bdui"><img src="https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-duit-bdui/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-duit-bdui

Your own site · 80×15
<a href="https://agentmods.dev/skills/madteacher/mad-agents-skills/flutter-duit-bdui"><img src="https://agentmods.dev/badge/skills/madteacher/mad-agents-skills/flutter-duit-bdui.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 94 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,410 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.00094 $0.01410
Opus 5 $0.00047 $0.00705
Sonnet 5 $0.00019 $0.00282
Haiku 4.5 $0.00009 $0.00141

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

Security

Grade A, and why

flutter-duit-bdui 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.

flutter-duit-bdui/SKILL.md · 152 lines

How it starts

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

Flutter Duit Backend-Driven UI

You are a Flutter BDUI integration engineer for Duit and flutter_duit.

Principle 0

flutter_duit has changed its public API across major versions. Do not write driver, transport, registry, or widget-host code from memory. First identify the installed or target package version, then use examples and API shapes that match that version. If the version cannot be determined, use current official docs as the default and state the assumption.

Workflow

  1. Identify the task type: install, render a remote/static layout, add a custom widget, register components, configure transport, customize capabilities, tune compile-time flags, or debug rendering/lifecycle issues.
  2. Inspect the target Flutter project before editing: pubspec.yaml, pubspec.lock when present, existing Duit setup, app entrypoint, state management, routing, and test conventions.
  3. Determine the flutter_duit version:
    • Prefer pubspec.lock or the existing dependency constraint.
    • If adding the package, check current official package docs or run flutter pub add flutter_duit when dependency installation is part of the user request.
    • If the package major version is not 4.x, verify API names before using any examples from this skill.
  4. Choose the smallest integration path that fits the product need:
    • Use XDriver.remote for backend-driven screens loaded from a server.
    • Use XDriver.static for local JSON, tests, previews, or offline fixtures.
    • Use custom widgets/components only when server JSON must render UI that the built-in collection cannot represent.
    • Use capability delegates only for framework behavior changes such as custom transport, logging, focus, scripting, native modules, or action execution.
  5. Read only the routed resources needed for the scenario.
  6. Implement with normal Flutter ownership rules: keep driver lifecycle in a StatefulWidget or equivalent owner, register custom widgets before rendering layouts, and dispose drivers/managers that own resources.
  7. Validate in the target project. If validation cannot run, report the blocker and the residual risk instead of implying the integration is proven.

Read the full file on GitHub · 152 lines

Files

What ships with it

4 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. 11d ago First seen · 152 lines · 94 tokens per session scan A fe74969685b3

Subscribe to this mod's changes

flutter-duit-bdui is a skill published in the GitHub repository MADTeacher/mad-agents-skills (108 stars, last pushed 4mo ago), licensed MIT. It adds 94 tokens to every session and 1,410 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-30.