# Axiom data

> Axiom data is an open-source agent skill for databases. Routes Apple-app persistence work to guidance on SwiftData, Core Data, GRDB, CloudKit. 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-cursor/skills/axiom-data
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-data
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [databases](https://ai-powered.com/categories/databases), [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill acts as a router for data persistence in Apple apps. It maps common storage problems to a set of more specific reference documents covering SwiftData, Core Data, GRDB, SQLiteData, Realm migration, full-text search, JSON in SQLite, CloudKit and CKSyncEngine, iCloud Drive, Codable, file storage and cloud sync diagnostics. A decision tree and a symptom table tell the agent which reference to open for a given task, and it points schema changes to a migration safety reference before any column is altered.

The skill also names several audit workflows, such as Core Data, Codable, iCloud, storage location, database schema, GRDB performance and SwiftData checks, which are run through separate auditor agents or slash commands. Some topics, including Keychain, CryptoKit and file protection, are delegated to a separate security skill, and tvOS persistence is linked to a platform skill.

The skill expects an Apple platform codebase, with Swift as the implementation language. The references it links to are not included in this folder's listing content, so their depth cannot be judged from here.

## When your agent uses it

> Use when working with ANY data persistence, database, storage, CloudKit, migration, or serialization in an Apple app. Covers SwiftData, Core Data, GRDB, SQLite, Realm, CloudKit sync, file storage, Codable, migrations.

## 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-cursor/skills/axiom-data)
- [License: MIT](https://github.com/CharlesWiltgen/Axiom/tree/HEAD/axiom-cursor/skills/axiom-data)

## Features

- **Persistence task routing:** A symptom table and decision tree map storage tasks to the right reference document.
- **Schema migration safety:** Directs any schema change to a migration guide before columns are altered.
- **Database framework coverage:** Covers SwiftData, Core Data, GRDB, SQLiteData and Realm migration paths.
- **CloudKit and iCloud guidance:** References CloudKit sync, CKSyncEngine, iCloud Drive and sync error diagnosis.
- **Codable and storage strategy:** Covers JSON encoding and decoding plus choosing where app data should live.
- **Auditor workflows:** Lists scan tasks for Core Data, Codable, iCloud, storage, database and SwiftData code.

## Good for

- Add a new column to a SwiftData model without losing user data
- Diagnose why CloudKit sync is failing or conflicting
- Speed up slow GRDB queries with indexes and query plans
- Choose between SwiftData and SQLiteData for a new app
- Keep a database shared between an app and its widget
- Audit Codable code for silent decoding failures

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/axiom-data` 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-data &&
cp -R "$tmp/axiom-cursor/skills/axiom-data" ~/.claude/skills/axiom-data &&
rm -rf "$tmp"
```

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

### Codex

Copy the skill folder to `~/.agents/skills/axiom-data` 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-data &&
cp -R "$tmp/axiom-cursor/skills/axiom-data" ~/.agents/skills/axiom-data &&
rm -rf "$tmp"
```

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

### Cursor

Copy the skill folder to `~/.cursor/skills/axiom-data` 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-data &&
cp -R "$tmp/axiom-cursor/skills/axiom-data" ~/.cursor/skills/axiom-data &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/axiom-data` 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-cursor/skills/axiom-data
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

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

## FAQ

### What does Axiom data need to run?

It is written for Apple app projects and references Swift frameworks such as SwiftData, Core Data, GRDB, SQLiteData and CloudKit. It declares no scripts and no allowed tools.

### Does Axiom data change my code or files?

It does not include scripts. It guides the agent to read reference documents and, for some tasks, to run separate auditor agents.

### When does Axiom data trigger?

It is meant for any data persistence, database, storage, CloudKit, migration or serialization work in an Apple app, as described in its frontmatter.

### Is Keychain or encryption covered?

Those topics are routed to a separate axiom-security skill rather than documented here.

### How do I install Axiom data in Claude Code?

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

### Does Axiom data 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 data?

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 data?

The closest alternatives to Axiom data are Axiom audit core data, Axiom integration, Axiom apple docs, Axiom macOS and Axiom swiftui.

## Where this comes from

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

## Alternatives

- [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 integration](https://ai-powered.com/skills/axiom-integration-charleswiltgen-2): Axiom integration is an open-source agent skill for developer tools.
- [Axiom apple docs](https://ai-powered.com/skills/axiom-apple-docs-charleswiltgen): Axiom apple docs is an open-source agent skill for developer tools.
- [Axiom macOS](https://ai-powered.com/skills/axiom-macos-charleswiltgen-2): Axiom macOS is an open-source agent skill for developer tools.
- [Axiom swiftui](https://ai-powered.com/skills/axiom-swiftui-charleswiltgen-2): Axiom swiftui 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 health](https://ai-powered.com/skills/axiom-health-charleswiltgen): Axiom health is an open-source agent skill for developer tools.
- [Axiom audit grdb performance](https://ai-powered.com/skills/axiom-audit-grdb-performance): Axiom audit grdb performance is an open-source agent skill for databases.

---
Source: https://ai-powered.com/skills/axiom-data-charleswiltgen-2
