android-file-storage-sharing
Skill9 starsChanged 8 months agoNo licenceView on GitHub
File storage and sharing patterns for Android - scoped storage rules, app-specific storage with getExternalFilesDir and cacheDir, MediaStore API for images/video/audio/downloads, Storage Access Framework with ActivityResultContracts.OpenDocument and CreateDocument, FileProvider setup with provider_paths.xml for sharing content:// URIs via Intent.ACTION_SEND, DownloadManager for large background downloads, and safe handling of content:// vs file:// URIs. Use this skill whenever saving, reading, or sharing files, integrating with system file pickers, downloading large files, or configuring FileProvider for URI sharing. Trigger on phrases like "save file", "read file", "share file", "FileProvider", "MediaStore", "scoped storage", "download", "SAF", "content URI", "pick file", or "open document".
In this repository43 other files it gives its agents.
- android-analytics-loggingSkill
- android-app-startup-bootstrapSkill
- android-auth-securitySkill
- android-background-location-geofencingSkill
- android-build-logic-gradleSkill
- android-ci-cd-releaseSkill
- android-compose-uiSkill
- android-coroutines-flowSkill
- android-crash-reportingSkill
- android-data-layerSkill
- android-datastore-preferencesSkill
- android-deep-linksSkill
- android-di-koinSkill
- android-dynamic-feature-modulesSkill
- android-error-handlingSkill
- android-feature-flagsSkill
- android-foldables-adaptive-uiSkill
- android-image-loading-coilSkill
- android-in-app-purchasesSkill
- android-instrumentation-testingSkill
- android-kmp-ktor-serializationSkill
- android-kmp-shared-moduleSkill
- android-kmp-sqldelightSkill
- android-kmp-viewmodelSkill
- android-localization-accessibilitySkill
- android-maps-location-uiSkill
- android-media-playback-cameraSkill
- android-module-structureSkill
- android-navigationSkill
- android-network-monitoringSkill
- android-notifications-pushSkill
- android-obfuscation-r8Skill
- android-paging-offline-syncSkill
- android-performance-profilingSkill
- android-permissions-device-apisSkill
- android-presentation-mviSkill
- android-room-databaseSkill
- android-screenshot-testingSkill
- android-security-encryptionSkill
- android-testingSkill
- android-text-input-formsSkill
- android-widgets-shortcutsSkill
- android-workmanagerSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
13 rules. About 0 are common, 5 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
No licence file, so all rights are reserved — read it at the source. We count its rules but don't quote them. Read them on GitHub.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

