claude-flet-plugin: Skill for Claude Code

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

flet-extension is a skill for Claude Code, Codex from brunobrown/claude-flet-plugin. It costs 79 tokens per session (12,276 once invoked), scanned A, original, MIT.

A reference guide for developing Flet extensions that connect Python code with Flutter services and visual controls.

In plain words
What is it for?
Use it when implementing or reviewing Flet extension packages, including controls, service integrations, compound widgets, and version-specific API changes.
Why use it?
It explains the project patterns, data conversions, events, configuration, and publishing details needed to keep an extension compatible with Flet.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/brunobrown/claude-flet-plugin/flet-extension"><img src="https://agentmods.dev/badge/skills/brunobrown/claude-flet-plugin/flet-extension.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 79 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 12,276 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.00079 $0.12276
Opus 5 $0.00039 $0.06138
Sonnet 5 $0.00016 $0.02455
Haiku 4.5 $0.00008 $0.01228

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

Security

Grade A, and why

flet-extension 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.

.agents/skills/flet-extension/SKILL.md · 1,731 lines

How it starts

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

Flet Extension Development — Complete Reference

Flet 0.85.x | Validated against real production extensions (flet-onesignal, flet-vibration, flet-video, flet-audio)

Flet 0.85.x context for extensions

  • Companion extensions evolved in lockstep with 0.85.0:
    • flet-video — Configurable player controls (show/hide play/pause, seek bar, fullscreen, etc.) and an async take_screenshot() method on the player control
    • flet-audio — New AudioRecorder with PCM16 streaming and direct upload to backend
  • Core APIs your extension may want to integrate with:
    • page.take_screenshot() / page.take_animation() and the new top-level Screenshot control (flet.controls.core.screenshot.Screenshot)
    • ft.Router outlets — if your extension renders a navigator/host, expose hooks for use_route_params / use_view_path interop
    • ft.use_dialog — for UI controls that surface dialogs, prefer this hook over imperative page.show_dialog
  • The deprecated DragTargetEvent.x/y/offset properties (replaced by local_position / global_position in 0.85.0) affect any extension that re-emits or wraps drag targets — update before 0.88.0.

Extension Architecture Overview

Two Extension Types

Aspect ft.Service ft.LayoutControl
Has UI No Yes
Base class (Python) ft.Service ft.LayoutControl
Base class (Dart) FletService StatefulWidget
Add to app page.services.append() page.add() / controls list
Extension handler createService(control) createWidget(control)
width/height No Yes (inherited)
expand No Yes (inherited)
Examples Push notifications, audio, geolocation WebView, video player, map

When to Use Which

  • Service: SDKs that run in background, platform APIs (push, permissions, location, audio)
  • UI Control: Widgets that render on screen and occupy visual space (players, maps, charts)

Directory Structure

Read the full file on GitHub · 1,731 lines

Files

What ships with it

1 file 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. 10d ago First seen · 1,731 lines · 79 tokens per session scan A 2a9f8f0cb031

Subscribe to this mod's changes

flet-extension is a skill published in the GitHub repository brunobrown/claude-flet-plugin (3 stars, last pushed 4mo ago), licensed MIT. It adds 79 tokens to every session and 12,276 once invoked, about $0.0004 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