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.
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-inference@git:20261030.68195f3Pins 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
mdr add denisovav/flutter_edge_ai/flutter-edge-ai-inference@sha256:ad772e171af1005aThe 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.
[](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.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| git:20261030.68195f3 latest | 2026-10-30 | 68195f3 | 30,675 B | A | view · diff |
| git:20261027.02500de | 2026-10-27 | 02500de | 29,908 B | A | view · diff |
| git:20261025.56f5ef0 | 2026-10-25 | 56f5ef0 | 29,850 B | A | view · diff |
| git:20261025.980f3ff | 2026-10-25 | 980f3ff | 28,714 B | A | view · diff |
| git:20261021.6c5517f | 2026-10-21 | 6c5517f | 28,635 B | A | view · diff |
| git:20261021.f225e60 | 2026-10-21 | f225e60 | 28,128 B | A | view |
Audit of the latest version
- 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
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.