claude-flet-plugin: Skill for Claude Code

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

flet-imperative is a skill for Claude Code, Codex from brunobrown/claude-flet-plugin. It costs 100 tokens per session (2,537 once invoked), scanned A, original, MIT.

Reference material for building Flet applications with procedural Python code, where you add controls to a page and update it directly.

In plain words
What is it for?
Use it to build or troubleshoot Flet apps, handle navigation and screenshots, and work with newer controls and settings.
Why use it?
It helps avoid errors caused by Flet version changes, automatic updates, and easy-to-miss API rules.

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-imperative/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-imperative

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

agentmods 80×15 button for flet-imperative

Your own site · 80×15
<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>
Per session 100 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,537 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.00100 $0.02537
Opus 5 $0.00050 $0.01269
Sonnet 5 $0.00020 $0.00507
Haiku 4.5 $0.00010 $0.00254

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

Security

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.

The scan reads SKILL.md. This mod also ships 20 executable files (examples/01_basic_app.py, examples/02_async_clock.py, examples/03_form_validation.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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-imperative/SKILL.md · 269 lines

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/

Read the full file on GitHub · 269 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. 10d ago First seen · 269 lines · 100 tokens per session scan A 4b63bb4ba5a4

Subscribe to this mod's changes

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.

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