document-scan-flutter

document-scan-flutter is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 53 tokens per session (14,429 once invoked), scanned A, original, MIT.

A guide for using the document_scan Flutter package to find document edges, straighten photographed pages, and process scans. It covers Apple Vision on iOS and OpenCV on Android.

In plain words
What is it for?
It is for adding, configuring, testing, upgrading, and debugging camera- or gallery-based document scanning in Flutter apps.
Why use it?
It helps diagnose failed edge detection, skewed or blank results, unstable live overlays, crashes, and performance problems in document-scanning features.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit It is for adding, configuring, testing, upgrading, and debugging camera- or gallery-based document scanning in Flutter apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/document-scan-flutter
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ariaramin/flutter-skills --skill document-scan-flutter
Clone the repo
git clone --depth 1 https://github.com/ariaramin/flutter-skills

Made for: Claude Code, Codex.

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 document-scan-flutter

README.md
[![agentmods](https://agentmods.dev/badge/skills/ariaramin/flutter-skills/document-scan-flutter/github.svg)](https://agentmods.dev/skills/ariaramin/flutter-skills/document-scan-flutter)
Your own site
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/document-scan-flutter"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/document-scan-flutter/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 document-scan-flutter

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/document-scan-flutter"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/document-scan-flutter.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 14,429 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.00053 $0.14429
Opus 5.5 $0.00021 $0.05772
Sonnet 5.5 $0.00011 $0.02886
Haiku 4.5 $0.00005 $0.01443

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

Security

Grade A, and why

document-scan-flutter 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 15d 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.

skills/document-scan-flutter/SKILL.md · 1,201 lines

How it starts

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

document_scan Flutter Skill

Purpose

Activate this skill whenever a task in a Flutter repository touches the document_scan package (pub.dev), including:

  • Adding document_scan to a new or existing project.
  • Writing or modifying code that calls DocumentScanner, DocumentDetector, DocumentProcessor, AutoCaptureAnalyzer, CornerStabilizer, ScanInput, ScanSession, or any other type from the document_scan library.
  • Building a camera-based or gallery-based document-capture flow that is expected to use, or already uses, this package.
  • Debugging: corners not detected, wrong/blank crops, distorted/skewed scans, filters producing unexpected output, auto-capture firing too often or not at all, jittery live overlays, or crashes/exceptions referencing document_scan, DocumentDetector, or a MissingPluginException on a document-scan call.
  • Performance problems in a scanning flow (UI jank during capture, high memory use with multi-page sessions, excessive battery drain from a live camera overlay).
  • Writing tests for scanning logic.
  • Upgrading the package to a newer version.

Do not reach for this skill for generic camera-permission handling, for the camera package's own API, or for OCR — document_scan does none of those; see "Package Capabilities" below.

Research Baseline

  • Package version researched: 0.3.1 (published ~Sep 22, 2026).
  • Research date: September 2026.
  • Supported platforms (verified): Android, iOS only. No macOS, Windows, Linux, or Web plugin registration exists in pubspec.yaml.
  • SDK constraints (verified from pubspec.yaml): Dart ^3.12.0, Flutter >=3.3.0.
  • Dependencies (verified): image ^4.5.4, meta ^1.16.0, pdf ^3.13.0.
  • Authoritative sources: the package's own pub.dev listing, published README (tied to the 0.3.1 release), CHANGELOG.md, ROADMAP.md, pubspec.yaml, the generated dartdoc API reference (including embedded "Implementation" source snippets pulled directly from the released source), and the pub.dev package-analysis (pana) report. See "Sources" at the end of this file.

Read the full file on GitHub · 1,201 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. 15d ago First seen · 1,201 lines · 53 tokens per session scan A f2bce605c766

Subscribe to this mod's changes

document-scan-flutter is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed today), licensed MIT. It adds 53 tokens to every session and 14,429 once invoked, about $0.0002 per session on Opus 5.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-10-11.

Related

Other skills, from other repositories

omh-apple-design

This is an OMH apple-design workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

rlaope/oh-my-hermes · 83 tokens

android-pentest

A guide for authorized security testing of Android apps, covering APK inspection, runtime testing, traffic capture, code review, and function hooking. An APK is the installable package used by an Android app.

Netw0rkNoob/VulnClaw · 32 tokens

platform-conventions

Design to iOS and Android conventions — what each OS mandates, where they diverge, and when to unify. Use when shipping native apps. For breakpoint adaptation use responsive-design; for matching competitor patterns use jakobs-law (interaction-design).

Owl-Listener/designer-skills · 55 tokens

flutter-mobile

Build and upgrade Flutter applications with typed state, navigation, platform plugins and device verification. Use when implementing Flutter screens or resolving Flutter/Dart integration; distinguish stable SDK releases from future branch schedules.

WrongStack/WrongStack · 41 tokens

kotlin-android

Build and upgrade native Android applications with Kotlin, Compose/View UI and lifecycle-aware work. Use when implementing Android screens, navigation, permissions or background jobs; coordinate Kotlin, Gradle, AGP and SDK compatibility.

WrongStack/WrongStack · 47 tokens

mobile-performance

Measure and improve mobile startup, scrolling, animation and resource usage on representative devices. Use when diagnosing React Native/Flutter/native performance; compare release builds under matched conditions rather than promising a universal frame rate.

WrongStack/WrongStack · 43 tokens