document-camera-frame

document-camera-frame is a skill for Claude Code, Codex from ariaramin/flutter-skills. It costs 59 tokens per session (7,141 once invoked), scanned A, original, MIT.

A guide for using the document_camera_frame Flutter package to capture paper documents with a framed camera view. It includes edge alignment, on-device text recognition, multi-page exports, and native document scanners.

In plain words
What is it for?
It is for building and maintaining Flutter document-capture flows that export images or multi-page PDFs and can extract text on the device.
Why use it?
It helps address capture alignment, build, camera, recognition, and export problems when scanning identity cards, receipts, passports, or other documents.

Skill for Claude CodeCodex

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

Good fit It is for building and maintaining Flutter document-capture flows that export images or multi-page PDFs and can extract text on the device.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ariaramin/flutter-skills/document-camera-frame
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-camera-frame
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-camera-frame

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ariaramin/flutter-skills/document-camera-frame"><img src="https://agentmods.dev/badge/skills/ariaramin/flutter-skills/document-camera-frame.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,141 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.00059 $0.07141
Opus 5.5 $0.00024 $0.02856
Sonnet 5.5 $0.00012 $0.01428
Haiku 4.5 $0.00006 $0.00714

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

Security

Grade A, and why

document-camera-frame 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 16d 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-camera-frame/SKILL.md · 750 lines

How it starts

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

document_camera_frame Flutter Skill

Purpose and Scope

Activate this skill whenever a Flutter task involves or references the document_camera_frame package (pub.dev), including:

  • Integrating document capture for ID cards, passports, driver's licenses, receipts, or multi-page paper documents.
  • Using or configuring DocumentCameraFrame, DocumentCameraLogic, DocumentCameraController, DocumentCameraUIMode, DocumentCaptureData, DocumentDetectionConfig, DocumentDetectionStatus, CamScannerService, OcrService, PdfGenerationService, or ImageProcessingService.
  • Configuring UI modes: defaultMode, minimal, overlay, kiosk, textExtract, and camScanner.
  • Setting up on-device ML Kit Latin OCR or configuring auto-capture alignment.
  • Exporting scans as JPG, PNG, multi-page PDF (A4/Letter), or TIFF with built-in JPG preview.
  • Delegating document capture to platform-native scanning engines: Google ML Kit Document Scanner on Android and Apple VisionKit (VNDocumentCameraViewController) on iOS.
  • Debugging build errors (such as Android CameraX compileSdk 36 errors, missing iOS microphone usage description, or SPM build failures), capture misalignments, image cropping squashing, or memory issues.
  • Writing unit, widget, or integration tests for document capture flows.

Out of Scope:

  • Standalone generic camera management where no document framing, cropping, or document scanning is required (use camera or camerawesome).
  • Headless, pure image perspective-cropping without UI (use document_scan).
  • Non-Latin OCR (e.g., Arabic, Chinese, Devanagari) — ML Kit on-device model bundled here is strictly Latin-script only; cloud OCR is required for others.
  • Desktop or Web document camera capture — the package officially supports Android and iOS only.

Verified Package Profile

  • Package Identity: document_camera_frame
  • Official pub.dev URL: https://pub.dev/packages/document_camera_frame
  • Official Repository: https://github.com/ahmedzein-dev/document_camera_frame
  • Publisher: ahmedzein.dev (Verified Publisher, 160/160 pub points)
  • Version Researched: 2.6.12 (Published October 2026)
  • SDK Constraints: Dart ^3.8.1, Flutter >=1.17.0
  • Plugin Platform Declarations: Android (io.github.ahmedzein.document_camera_frame), iOS (DocumentCameraFramePlugin).
  • Core Dependencies:
    • camera: ^0.12.0+1 (Pulls camera_android_camerax 0.7.2+ with CameraX 1.6)
    • flutter_animate: ^4.5.2 (Used for UI mode animations and frame flips)
    • google_mlkit_object_detection: ">=0.15.1 <0.18.0" (Auto-capture alignment)
    • google_mlkit_text_recognition: ">=0.15.1 <0.18.0" (Latin on-device OCR)
    • google_mlkit_document_scanner: ">=0.4.1 <0.7.0" (Android native scanner)
    • image: ^4.8.0 (Pure-Dart image decode, center crop, format encoding)
    • pdf: ^3.12.0 (A4/Letter PDF document assembly)
    • path_provider: ^2.1.5 (Temporary and document directories)

Read the full file on GitHub · 750 lines

Files

What ships with it

5 files 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. 16d ago First seen · 750 lines · 59 tokens per session scan A d230d6b42bd5

Subscribe to this mod's changes

document-camera-frame is a skill published in the GitHub repository ariaramin/flutter-skills (6 stars, last pushed yesterday), licensed MIT. It adds 59 tokens to every session and 7,141 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.