flutter-permissions

Guidance for declaring and requesting device permissions in a Flutter app, such as camera, photos, location, microphone, contacts, notifications, and Bluetooth access.

In plain words
What is it for?
Use it to update iOS Info.plist and AndroidManifest.xml and handle runtime permission requests for device features.
Why use it?
It helps prevent permission errors, crashes, and store rejection caused by missing platform declarations or usage explanations.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/nylo-core/claude-code/flutter-permissions
Any agent
npx skills add nylo-core/claude-code --skill flutter-permissions
Clone the repo
git clone --depth 1 https://github.com/nylo-core/claude-code

Made for: Claude Code, Codex.

Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,674 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00051 $0.03674
Opus 5 $0.00026 $0.01837
Sonnet 5 $0.00010 $0.00735
Haiku 4.5 $0.00005 $0.00367

Measured 2d ago against content hash 19335504dd86, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

flutter-permissions 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 2d 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/flutter-permissions/SKILL.md · 416 lines

How it starts

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

Flutter Permissions

Overview

Flutter apps must declare permissions in platform-specific configuration files and request them at runtime. iOS uses Info.plist usage description strings, Android uses AndroidManifest.xml permission declarations. Both platforms require runtime permission requests for sensitive capabilities.

When to Use

  • User needs to access camera, photos, location, microphone, contacts, or other device features
  • App crashes with permission-related errors
  • User is adding a plugin that requires platform permissions (e.g., image_picker, geolocator)
  • Store review rejected the app for missing usage descriptions (iOS) or excessive permissions
  • User wants to implement runtime permission handling
  • NOT for internet permission alone on Android (included by default in Flutter)

Quick Reference: Common Permissions

Feature iOS Info.plist Key Android Manifest Permission
Camera NSCameraUsageDescription android.permission.CAMERA
Photo Library (read) NSPhotoLibraryUsageDescription android.permission.READ_MEDIA_IMAGES (API 33+) / READ_EXTERNAL_STORAGE (older)
Photo Library (write) NSPhotoLibraryAddUsageDescription android.permission.WRITE_EXTERNAL_STORAGE (API < 29)
Microphone NSMicrophoneUsageDescription android.permission.RECORD_AUDIO
Location (when in use) NSLocationWhenInUseUsageDescription android.permission.ACCESS_FINE_LOCATION
Location (always) NSLocationAlwaysAndWhenInUseUsageDescription android.permission.ACCESS_BACKGROUND_LOCATION
Contacts NSContactsUsageDescription android.permission.READ_CONTACTS
Calendar NSCalendarsUsageDescription android.permission.READ_CALENDAR
Reminders NSRemindersUsageDescription (use Calendar permission)
Bluetooth NSBluetoothAlwaysUsageDescription android.permission.BLUETOOTH_CONNECT (API 31+) / BLUETOOTH (older)
Notifications Not in Info.plist (requested via API) android.permission.POST_NOTIFICATIONS (API 33+)
Face ID NSFaceIDUsageDescription N/A
Speech Recognition NSSpeechRecognitionUsageDescription android.permission.RECORD_AUDIO
Motion & Fitness NSMotionUsageDescription android.permission.ACTIVITY_RECOGNITION (API 29+)
Local Network NSLocalNetworkUsageDescription N/A
Tracking (ATT) NSUserTrackingUsageDescription com.google.android.gms.permission.AD_ID

Read the full file on GitHub · 416 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. 2d ago First seen · 416 lines · 51 tokens per session scan A 19335504dd86

Subscribe to this mod's changes

flutter-permissions is a skill published in the GitHub repository nylo-core/claude-code (4 stars, last pushed 4mo ago), licensed MIT. It adds 51 tokens to every session and 3,674 once invoked, about $0.0003 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