axiom-storage-management-ref

Reference iOS storage APIs for capacity checks, backup exclusions, and purgeable files.

Updated Dec 3, 2025
One-click install
npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storage-management-ref
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: axiom-storage-management-ref
Source: https://github.com/tuliopc23/flying-dutchman-app/tree/main/.claude/skills/axiom-storage-management-ref
Command: npx skills add https://github.com/tuliopc23/flying-dutchman-app --skill axiom-storage-management-ref

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

This Skill provides a comprehensive reference for managing storage on iOS devices, helping developers understand and implement strategies for disk space, backup exclusion, and file purging.

Core Features & Use Cases

  • Storage Capacity APIs: Learn how to check volumeAvailableCapacityForImportantUsage and volumeAvailableCapacityForOpportunisticUsage.
  • Backup Management: Understand how to use isExcludedFromBackupKey to control iCloud/iTunes backups.
  • Purgeable Files: Implement strategies for marking files as purgeable using isPurgeableKey.
  • Use Case: A developer needs to store large, re-downloadable assets on an iOS device. They can use this Skill's reference to ensure these assets are correctly marked as isExcludedFromBackup and stored in an appropriate location like Caches/ to be purged by the system when storage is low.

Quick Start

Consult the reference for how to check available storage space for essential files on iOS.

Frequently Asked Questions about axiom-storage-management-ref

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I check available iOS storage space for important files?

To check available iOS storage space, use the volumeAvailableCapacityForImportantUsage and volumeAvailableCapacityForOpportunisticUsage APIs. These URL resource values help detect low storage conditions and determine if sufficient disk space exists for essential file operations.

How do I exclude files from iCloud or iTunes backup on iOS?

To exclude files from iCloud or iTunes backup, use the isExcludedFromBackupKey URL resource value. This prevents large re-downloadable assets from consuming backup storage, ensuring only essential local data is synced to iCloud.

What is the best way to mark iOS files as purgeable for cache cleanup?

The best way to mark iOS files as purgeable is by using the isPurgeableKey URL resource value or storing them in the Caches directory. The system automatically purges these files based on implicit priority and file location during low storage conditions.

How does iOS decide which purgeable files to delete when disk space is low?

iOS decides which purgeable files to delete based on implicit purge priority determined by file location. Files stored in the Caches directory or marked with isPurgeableKey are automatically cleared by the system during low storage conditions.

How do I calculate file size using URL resource values in iOS?

To calculate file size in iOS, query the URL resource values for the specific file attributes. This approach allows developers to accurately measure file sizes for smart downloads and implement effective cache cleanup strategies.