claude-flet-plugin: Skill for Claude Code

.agents/skills/flet-app/SKILL.md

flet-app is a skill for Claude Code, Codex from brunobrown/claude-flet-plugin. It costs 107 tokens per session (16,234 once invoked), scanned A, original, MIT.

A reference for building multi-platform Python apps with Flet, a framework for making user interfaces in Python. It covers Flet's declarative interface style, where the app describes what the interface should look like.

In plain words
What is it for?
Use it to build or update Flet apps with routing, dialogs, forms, validation, scrolling, theming, reusable components, and mobile navigation.
Why use it?
It helps developers handle Flet's current APIs, navigation, state, validation, asynchronous code, and changes that can break older applications. The reference is based on Flet 0.85.x.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents).

This is brunobrown/claude-flet-plugin's own configuration. It tells Claude Code and Codex how to work on claude-flet-plugin itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything claude-flet-plugin configures →

Part of the flet plugin — 6 skills, 3 commands, 2 agents shipped together

Reuse

Borrowing it

Nothing to install: this file belongs to brunobrown/claude-flet-plugin. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/brunobrown/claude-flet-plugin/main/.agents/skills/flet-app/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/brunobrown/claude-flet-plugin

Made for: Claude Code, Codex.

Or install flet, the plugin that ships this one along with the rest of its 6 skills, 3 commands, 2 agents.

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 flet-app

README.md
[![agentmods](https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-app/github.svg)](https://agentmods.dev/skills/brunobrown/claude-flet-plugin/flet-app)
Your own site
<a href="https://agentmods.dev/skills/brunobrown/claude-flet-plugin/flet-app"><img src="https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-app/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 flet-app

Your own site · 80×15
<a href="https://agentmods.dev/skills/brunobrown/claude-flet-plugin/flet-app"><img src="https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 107 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 16,234 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.00107 $0.16234
Opus 5 $0.00053 $0.08117
Sonnet 5 $0.00021 $0.03247
Haiku 4.5 $0.00011 $0.01623

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

Security

Grade A, and why

flet-app 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 9d 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.

.agents/skills/flet-app/SKILL.md · 2,297 lines

How it starts

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

Flet App Development — Complete Reference

Flet 0.85.x | Declarative mode | Validated against real production apps and Flet 0.85.0 source


What's New in Flet 0.85.x

Feature Details
ft.Router Declarative router with nested routes, layout outlets, dynamic/optional/splat segments, regex constraints, per-route data loaders, hooks (use_route_params, use_route_location, use_view_path, use_route_outlet, use_route_loader_data, is_route_active), and mobile view-stack mode (manage_views=True) with swipe-back, system back button, and implicit AppBar back arrow
ft.use_dialog(dialog) Reactive dialog hook — portals a DialogControl to the page's dialog overlay. Pass None to dismiss. Preserves Flutter widget identity (e.g., TextField cursor) across re-renders via frozen diff
page.navigate(route, **kwargs) Sync wrapper for page.push_route() — use in on_click and other sync callbacks where awaiting is impossible
page.pop_views_until(route, result=None) Pops views from the navigation stack until a view with the given route. Result delivered via new on_views_pop_until (ViewsPopUntilEvent)
page.take_animation(...) Captures animated PNG frame sequence in a single round-trip (no Python↔Flutter RPC latency between frames). Requires page.enable_screenshots = True
Screenshot control New control with content + capture(pixel_ratio, delay) method for subtree screenshots
DragTargetEvent migration .x, .y, .offset deprecated in 0.85.0 (removal in 0.88.0) — use local_position (target-relative) or global_position (global)

Flet 0.83.x Foundations (still applicable)

Feature Details
6.7x faster diffing Prop descriptor tracks only modified properties; @value decorator enables content-based comparison for ~150 data types
Smart update() Framework tracks explicit .update() calls during handlers — skips auto-update to avoid redundant renders
Field validation Annotated[type, V.rule()] for declarative field constraints (e.g., V.between(0, 1), V.ge(0), V.instance_of(...))
Customizable scrollbars Scrollbar(thumb_visibility=, track_visibility=, thickness=, radius=, interactive=, orientation=) on any scrollable control
Scrollable ExpansionPanelList Now inherits ScrollableControl — supports scroll, auto_scroll, on_scroll, scroll_to()
SharedPreferences expanded Now supports int, float, bool, list[str] (not just str)
Padding functions removed ft.padding.all() / .symmetric() / .only() removed — use ft.Padding.all() class methods
Desktop packaging Desktop binaries moved from PyPI to GitHub Releases, cached at ~/.flet/client/

Read the full file on GitHub · 2,297 lines

Files

What ships with it

6 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. 9d ago First seen · 2,297 lines · 107 tokens per session scan A 0cf04b2adf96

Subscribe to this mod's changes

flet-app is a skill published in the GitHub repository brunobrown/claude-flet-plugin (3 stars, last pushed 4mo ago), licensed MIT. It adds 107 tokens to every session and 16,234 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

huggingface-gradio

Build Gradio web UIs and demos in Python. Use when creating or editing Gradio apps, components, event listeners, layouts, or chatbots.

huggingface/skills · 37 tokens

shiny-for-python

Building, styling, testing, debugging, or observing a Shiny for Python (py-shiny) reactive web app - from shiny import ..., shiny run app.py. Index skill: read this, then open the linked reference for the task. Covers dashboard design and visual QA; card toolbars and accessible icons; interactive Plotly charts and…

posit-dev/py-shiny · 209 tokens

gpui-toolkit

Use when building or modifying GPUI applications in the gpui-toolkit workspace, especially when choosing reusable toolkit crates, composing UI, adding components, charts, themes, layouts, audio controls, mobile surfaces, or validation coverage. Prefer existing toolkit APIs over custom one-off implementations.

pierreaubert/gpui-toolkit · 60 tokens

fast-dash

Build a Fast Dash web app from a Python function. Use when the user wants to turn a function into an interactive app, add a UI to an existing function, or build a dashboard / form / wizard. Fast Dash infers UI components from type hints, so a well-typed function becomes an app with one decorator.

dkedar7/fast_dash · 69 tokens

streamlit

Streamlit Python web application framework. Covers session state, caching, layouts, widgets, multipage apps, and deployment. Use when building interactive Python data apps or dashboards. USE WHEN: user mentions "streamlit", "st.sessionstate", "st.cachedata", "streamlit app", "python dashboard", "python web app"…

claude-dev-suite/claude-dev-suite · 107 tokens

textual-builder

Build Text User Interface (TUI) applications using the Textual Python framework (v0.86.0+). Use when creating terminal-based applications, prototyping card games or interactive CLIs, or when the user mentions Textual, TUI, or terminal UI. Includes comprehensive reference documentation, card game starter template, and…

YPares/agent-skills · 73 tokens