flutter-edge-ai-inference SKILL.md skillA

flutter-edge-ai-inference from denisovav/flutter_edge_ai is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.

Install it, pinned
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-inference@git:20261030.68195f3

Pins git:20261030.68195f3 in mdr.lock. Pin the fingerprint instead.

Audit grade
A, 17 of 17 checks passed
Kind
SKILL.md skill
Repository
denisovav/flutter_edge_ai
Path
packages/flutter_edge_ai/skills/flutter-edge-ai-inference/SKILL.md
Versions recorded
6
Latest version
git:20261030.68195f3, committed Oct 30, 2026
First version recorded
Oct 21, 2026
Size
30,675 bytes
Repository stars
649
License
MIT

Use when adding on-device LLM inference to a Flutter app with flutter_edge_ai — offline chat, running an LLM locally, installing a model from Hugging Face (gated repos included), streaming replies, a system prompt, thinking or reasoning output, image or audio prompts, picking a CPU, GPU or NPU backend, stopping generation — or setting up the recommended .litertlm engine (ModelFileType.litertlm) on Android, iOS, macOS, Windows, Linux or web, including the Android minSdk and internet permission…

Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.

What the file says

# Running a model with flutter_edge_ai

## Rules

1. Depend on `flutter_edge_ai` and an engine package, and import both. Engine packages do not re-export core.
2. Register the engine in `FlutterEdgeAi.initialize(inferenceEngines: [...])`. Core ships none.
3. Declare `fileType` on `installModel`. It defaults to `ModelFileType.task`, and the declaration — never the file name — picks the engine.
4. `maxTokens` is the context window. Cap the reply with `maxOutputTokens` on the session or chat.
5. Pass `isUser: true` on every user `Message`.
6. Close a session or chat when its conversation ends. Keep the model while the feature is in use, and close it when the app no longer needs it.
7. Keep Hugging Face tokens out of source: read them with `String.fromEnvironment`. That keeps a token out of git, not out of the app — it is compiled into the binary, and on web into `main.dart.js`. A shipped app should download from a repo that needs no token.
8. On Android, set `minSdk 30` for anything built on `.litertlm` — inference, embeddings, speech.
…

Read the whole file at its exact version.

How to install

The exact contents, by fingerprint
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-inference@sha256:ad772e171af1005a

The line at the top of this page pins the label git:20261030.68195f3, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.

Badge

mdr badge

[![mdr](https://markdownregistry.com/badge/art_lnvakknyau7dr6n7.svg)](https://markdownregistry.com/a/art_lnvakknyau7dr6n7)

2 badge image fetches in 30 days. What the badge shows.

Versions

The registry has recorded 6 versions of this file, between Oct 21, 2026 and Oct 30, 2026, about one every 2 days.

versioncommittedcommitsizeaudit
git:20261030.68195f3 latest2026-10-30 68195f3 30,675 BA view · diff
git:20261027.02500de2026-10-27 02500de 29,908 BA view · diff
git:20261025.56f5ef02026-10-25 56f5ef0 29,850 BA view · diff
git:20261025.980f3ff2026-10-25 980f3ff 28,714 BA view · diff
git:20261021.6c5517f2026-10-21 6c5517f 28,635 BA view · diff
git:20261021.f225e602026-10-21 f225e60 28,128 BA view

Audit of the latest version

A  17 of 17 checks passed. Fixed automatic checks with no AI involved, so the same checks give the same answer every run.
  • pass: Frontmatter block present
  • pass: Frontmatter declares a name
  • pass: Frontmatter declares a description
  • pass: Size between 200 bytes and 200 KB (30675 bytes)
  • pass: No zero-width or bidi control characters
  • pass: No instruction hidden inside an HTML comment
  • pass: No link to an exfiltration or paste host
  • pass: No credential-shaped string
  • pass: No instruction to send local credentials anywhere
  • pass: No text hidden with inline styles
  • pass: No prompt-injection phrasing
  • pass: No curl or wget piped into a shell
  • pass: No recursive delete of root, home or parent
  • pass: No instruction to read or print local credentials
  • pass: No base64 blob over 200 characters
  • pass: No link to a raw IP address
  • pass: No script tag

Source

GitHub

denisovav/flutter_edge_ai · 649 stars · license MIT · pushed 2026-10-31 · branch main

API

GET https://markdownregistry.com/api/v1/artifacts/art_lnvakknyau7dr6n7
GET https://markdownregistry.com/api/v1/resolve?ref=denisovav/flutter_edge_ai/flutter-edge-ai-inference
GET https://markdownregistry.com/api/v1/blob/ad772e171af1005aadf74c1f5572d06f9264d0f64da1c2333947557ae32b198c

Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.

Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.

More from denisovav/flutter_edge_ai

build-native SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/build-native/SKILL.md · Rebuild native LiteRT-LM prebuilts for flutter_edge_ai (iOS / macOS / Linux / Windows / Android) — covers required…
git:20261021.5301958 · audit A · 649 stars
ci-status SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/ci-status/SKILL.md · Check CI status for current branch or PR, show failed job logs
git:20260616.784c411 · audit A · 649 stars
ddp-device-test SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/ddp-device-test/SKILL.md · Run an Android integration test on a real phone through Google's Developer Device Platform (DDP) — reserve the device…
git:20261014.a4f49fa · audit A · 649 stars
release SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/release/SKILL.md · Release flutter_edge_ai — bump versions, optionally re-publish native prebuilts (iOS/macOS/Linux/Windows/Android…
git:20261030.68195f3 · audit A · 649 stars
review-pr SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/review-pr/SKILL.md · Comprehensive PR review for flutter_edge_ai. Runs 10 specialized reviewers in parallel (4 platform-specific + 6…
git:20261027.02500de · audit A · 649 stars
upgrade-genkit SKILL.md skill
denisovav/flutter_edge_ai · .claude/skills/upgrade-genkit/SKILL.md · Realign the genkit_flutter_edge_ai / genkit_hybrid packages when flutter_edge_ai's core API changes or when `genkit`…
git:20261020.377d822 · audit A · 649 stars
AGENTS.md AGENTS.md file
denisovav/flutter_edge_ai · AGENTS.md
git:20261030.68195f3 · audit B · 649 stars
packing-list SKILL.md skill
denisovav/flutter_edge_ai · codelabs/on-device-agent-flutter-gemma/complete/assets/skills/packing-list/SKILL.md · Builds a packing list for a trip. Use when the user asks what to pack, or names a trip and its length.
git:20261012.639d5ec · audit A · 649 stars
tip-split SKILL.md skill
denisovav/flutter_edge_ai · codelabs/on-device-agent-flutter-gemma/complete/assets/skills/tip-split/SKILL.md · Splits a restaurant bill, with tip, between several people. Use when the user asks how much each person pays.
git:20261012.639d5ec · audit A · 649 stars
packing-list SKILL.md skill
denisovav/flutter_edge_ai · codelabs/on-device-agent-flutter-gemma/step_02_first_skill/assets/skills/packing-list/SKILL.md · Builds a packing list for a trip. Use when the user asks what to pack, or names a trip and its length.
git:20261012.639d5ec · audit A · 649 stars
packing-list SKILL.md skill
denisovav/flutter_edge_ai · codelabs/on-device-agent-flutter-gemma/step_03_intents/assets/skills/packing-list/SKILL.md · Builds a packing list for a trip. Use when the user asks what to pack, or names a trip and its length.
git:20261012.639d5ec · audit A · 649 stars
flutter-edge-ai-builtin-ai SKILL.md skill
denisovav/flutter_edge_ai · packages/flutter_edge_ai/skills/flutter-edge-ai-builtin-ai/SKILL.md · Use when running the device's own model with flutter_edge_ai_builtin_ai — Gemini Nano on Android or in desktop Chrome…
git:20261019.0c626b2 · audit A · 649 stars

Every file in denisovav/flutter_edge_ai

Browse by kind, by grade A, or by owner.