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.
curl -O https://raw.githubusercontent.com/brunobrown/claude-flet-plugin/main/.agents/skills/flet-imperative/SKILL.mdgit clone --depth 1 https://github.com/brunobrown/claude-flet-pluginWrote 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/brunobrown/claude-flet-plugin/flet-imperative)<a href="https://agentmods.dev/skills/brunobrown/claude-flet-plugin/flet-imperative"><img src="https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-imperative/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/brunobrown/claude-flet-plugin/flet-imperative"><img src="https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-imperative.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.00100 | $0.02537 |
| Opus 5 | $0.00050 | $0.01269 |
| Sonnet 5 | $0.00020 | $0.00507 |
| Haiku 4.5 | $0.00010 | $0.00254 |
Grade A, and why
flet-imperative 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 10d 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 — 269 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Flet Imperative Mode — Complete Reference
Flet 0.85.x+ | Imperative (procedural) mode | All APIs verified against Flet 0.85.0 source
What's New in Flet 0.85.x (Imperative-Relevant)
| Feature | Details |
|---|---|
page.navigate(route) |
Sync wrapper for page.push_route() — use in on_click and other sync callbacks |
page.pop_views_until(route, result=None) |
Pop views to a target route. Result delivered via new on_views_pop_until (ViewsPopUntilEvent) |
page.take_animation(name, frame_delays_ms, pixel_ratio) |
Capture animated PNG sequence in one round-trip; requires page.enable_screenshots = True |
Screenshot control |
New control with content + async capture() for subtree screenshots |
DragTargetEvent deprecations |
.x, .y, .offset deprecated (removal in 0.88.0) — use local_position / global_position |
ft.Router (also imperative-friendly) |
While ft.Router lives in components, you can still mount one inside page.render(App) from imperative code |
Flet 0.83.x Foundations
| Feature | Details |
|---|---|
| 6.7x faster diffing | Prop descriptor tracks only modified properties — imperative apps benefit directly |
| Smart update() | If you call .update() explicitly, the framework skips automatic post-handler update (no double renders) |
| Customizable scrollbars | Scrollbar(thumb_visibility=, thickness=, radius=, interactive=, orientation=) on Column, Row, ListView, GridView, ExpansionPanelList |
| Scrollable ExpansionPanelList | Now inherits ScrollableControl |
| 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 |
| Field validation | Controls use Annotated[type, V.rule()] for declarative constraints |
| Desktop packaging | Desktop binaries moved from PyPI to GitHub Releases, cached at ~/.flet/client/ |
What ships with it
26 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.
- agents/openai.yaml 1.0 KB
- examples/01_basic_app.py 1.3 KB runs code
- examples/02_async_clock.py 2.1 KB runs code
- examples/03_form_validation.py 4.9 KB runs code
- examples/04_file_picker_service.py 6.3 KB runs code
- examples/05_shared_preferences.py 10 KB runs code
- examples/06_animation_effects.py 10 KB runs code
- examples/07_dialog_example.py 11 KB runs code
- examples/08_layout_responsive.py 18 KB runs code
- examples/09_theme_styling.py 13 KB runs code
- examples/10_navigation_menu.py 14 KB runs code
- examples/11_data_table.py 13 KB runs code
- examples/12_window_controls.py 11 KB runs code
- examples/13_drag_drop.py 4.8 KB runs code
- examples/14_keyboard_events.py 4.2 KB runs code
- examples/15_gestures.py 6.5 KB runs code
- examples/16_clipboard.py 5.5 KB runs code
- examples/17_media_player.py 2.9 KB runs code
- examples/18_canvas_custom_paint.py 10 KB runs code
- examples/19_file_operations.py 6.6 KB runs code
- examples/20_charts_canvas_visualization.py 9.5 KB runs code
- references/api-traps.md 6.2 KB
- references/architecture.md 20 KB
- references/breaking-changes.md 8.0 KB
- references/error-guide.md 5.0 KB
- references/new-controls.md 7.9 KB
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.
- 10d ago First seen · 269 lines · 100 tokens per session scan A 4b63bb4ba5a4
flet-imperative is a skill published in the GitHub repository brunobrown/claude-flet-plugin (3 stars, last pushed 4mo ago), licensed MIT. It adds 100 tokens to every session and 2,537 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.
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.
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…
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.
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.
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"…
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…