# Axiom audit storage

> Axiom audit storage is an open-source agent skill for security. Audits an iOS app's file storage for data-loss, backup bloat and token exposure risks. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/CharlesWiltgen/Axiom/tree/main/axiom-codex/skills/axiom-audit-storage
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-storage
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [security](https://ai-powered.com/categories/security), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill turns the agent into a storage auditor for Apple-platform codebases. It works through a fixed sequence: it maps where the app writes data (Documents, Caches, Application Support, tmp, App Group containers, iCloud Drive), then checks those writes against five known anti-patterns such as temporary files holding persistent data, large files left in backed-up folders, missing file protection levels and oversized UserDefaults payloads.

Beyond pattern matching, it reviews what is missing, for example whether tokens live in the Keychain, whether extensions can reach shared data, whether caches have a size policy and whether temp files are cleaned up. Findings are cross-referenced for compounding risks and scored as SAFE, FRAGILE or DANGEROUS, with a report that lists severity, file locations and suggested code fixes.

The skill is written around Swift and Xcode projects and relies on the agent searching and reading source files directly. Its size and duration thresholds are presented as tunable audit policy rather than platform limits.

## When your agent uses it

> Use when the user mentions file storage issues, data loss, backup bloat, or asks to audit storage usage.

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-storage)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-codex/skills/axiom-audit-storage)

## Features

- **Storage location mapping:** Builds a summary of which directories and persistence channels the app uses and what data goes where.
- **Known anti-pattern detection:** Searches for temp files holding persistent data, unexcluded backup bloat, missing protection and misused UserDefaults.
- **Completeness review:** Checks for gaps such as Keychain use for credentials, App Group sharing, cache limits and orphaned files.
- **Compound risk analysis:** Raises severity when several weak storage practices combine into a bigger data-loss or exposure risk.
- **Health scoring and report:** Produces a SAFE, FRAGILE or DANGEROUS rating with issues grouped by severity and recommendations.
- **Storage placement guidance:** Provides a decision tree for choosing Keychain, Documents, Caches, Application Support or temporary storage.

## Good for

- Check my app's file storage for data-loss risks
- Find out why my app's iCloud backup is so large
- Review whether auth tokens are stored safely on disk
- Audit where my app keeps downloads and cached images
- Investigate reports of users losing saved files

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-audit-storage` to use it in all your projects:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/axiom-audit-storage &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-storage" ~/.claude/skills/axiom-audit-storage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/axiom-audit-storage` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/axiom-audit-storage` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/axiom-audit-storage &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-storage" ~/.agents/skills/axiom-audit-storage &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/axiom-audit-storage` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-audit-storage` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/axiom-audit-storage &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-storage" ~/.cursor/skills/axiom-audit-storage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-audit-storage` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/CharlesWiltgen/Axiom.git --path axiom-codex/skills/axiom-audit-storage
```

Or copy the folder to `~/.gemini/skills/axiom-audit-storage` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-audit-storage`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/axiom-audit-storage &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-storage" ~/.copilot/skills/axiom-audit-storage &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-audit-storage` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom.git
```

Then copy `Axiom/axiom-codex/skills/axiom-audit-storage` into your agent's skills folder as `axiom-audit-storage`. Agents that support SKILL.md read one folder per skill.

## FAQ

### What does Axiom audit storage need to run?

It relies on the agent running Glob, Grep and Read against the project's Swift source, Info.plist and entitlements files, and it is written for Apple-platform codebases.

### Does Axiom audit storage change any files?

The skill describes an audit that reports findings and suggested fixes. It does not itself describe modifying files beyond showing code examples in the report.

### Are the size thresholds fixed rules?

No. The skill states that its 1MB, 100KB, 10KB and similar numbers are audit policy thresholds that can be tuned for each app, not platform limits.

### Which parts of the project does Axiom audit storage skip?

It excludes test files, preview files, and vendor or build folders such as Pods, Carthage, .build and DerivedData, along with docs and plugin folders.

### How do I install Axiom audit storage in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/axiom-audit-storage to use it in all your projects, or to .claude/skills/axiom-audit-storage in one project.

### Does Axiom audit storage run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Axiom audit storage?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

### What are the best alternatives to Axiom audit storage?

The closest alternatives to Axiom audit storage are Axiom audit icloud, Axiom audit core data, Axiom audit energy, Axiom scan security privacy and Axiom audit iap.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Axiom audit icloud](https://ai-powered.com/skills/axiom-audit-icloud): Axiom audit icloud is an open-source agent skill for developer tools.
- [Axiom audit core data](https://ai-powered.com/skills/axiom-audit-core-data): Axiom audit core data is an open-source agent skill for developer tools.
- [Axiom audit energy](https://ai-powered.com/skills/axiom-audit-energy): Axiom audit energy is an open-source agent skill for developer tools.
- [Axiom scan security privacy](https://ai-powered.com/skills/axiom-scan-security-privacy): Axiom scan security privacy is an open-source agent skill for security.
- [Axiom audit iap](https://ai-powered.com/skills/axiom-audit-iap): Axiom audit iap is an open-source agent skill for developer tools.
- [Axiom audit swiftdata](https://ai-powered.com/skills/axiom-audit-swiftdata): Axiom audit swiftdata is an open-source agent skill for developer tools.
- [Axiom audit memory](https://ai-powered.com/skills/axiom-audit-memory): Axiom audit memory is an open-source agent skill for developer tools.
- [Axiom audit codable](https://ai-powered.com/skills/axiom-audit-codable): Axiom audit codable is an open-source agent skill for developer tools.

---
Source: https://ai-powered.com/skills/axiom-audit-storage
