# Axiom audit core data

> Axiom audit core data is an open-source agent skill for developer tools. Audits Apple Core Data code for migration, threading and data-loss 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-core-data
- **Repository:** https://github.com/charleswiltgen/axiom
- **GitHub stars:** 1,278
- **License:** MIT
- **Skill name:** axiom-audit-core-data
- **Collection:** https://github.com/CharlesWiltgen/Axiom
- **Categories:** [developer tools](https://ai-powered.com/categories/developer-tools)
- **Listing updated:** 2026-12-02

## About

This skill turns the agent into a Core Data reviewer for Swift projects. It first maps the persistence setup, covering the stack type, how contexts are used, migration configuration and how entities relate, then runs targeted searches for known problem patterns such as missing lightweight migration options, managed objects crossing threads, unwrapped try! calls on save or load, and fetch requests that lack batch sizes or prefetching.

Beyond pattern matching, it asks the agent to check for gaps: whether merge policies are set, whether background contexts handle heavy imports, whether delete rules are appropriate and whether UI reads go through fetched results controllers. Findings are grouped by severity, combined where risks compound, and summarized in a health rating that ends as production ready, needs hardening or unsafe. It instructs the agent to skip test, preview and vendored folders and to treat SwiftData and deliberate debug-only store deletion as non-issues.

The skill is written for Swift code that uses Core Data and expects the agent to read the project's own files with search and read tools. It references companion skills for diagnostics, migration patterns and concurrency.

## When your agent uses it

> Use when the user mentions Core Data review, schema migration, production crashes, or data safety checking.

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

## Features

- **Core Data architecture mapping:** Summarizes the persistence stack, context strategy, migration setup and entity complexity before any checks run.
- **Migration safety checks:** Looks for missing automatic migration options on legacy store coordinators that could crash users after a schema change.
- **Thread-confinement detection:** Flags managed objects or contexts used across threads without perform blocks and recommends passing object IDs instead.
- **Data loss risk scan:** Searches for forced try calls on persistence operations and store deletion outside debug builds.
- **Fetch performance review:** Checks for N+1 relationship access, missing prefetching and absent fetch batch sizes.
- **Severity-ranked health report:** Groups findings by severity, combines compound risks and rates the code as production ready, needs hardening or unsafe.

## Good for

- Review my Core Data stack before shipping an app update
- Check whether my schema change needs a migration configuration
- Find thread-safety bugs in my persistence layer
- Spot slow fetches that load relationships in a loop
- Audit my save and load error handling for force-try crashes

## Install

### Claude Code

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

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

### Codex

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

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

### Cursor

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

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

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

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/axiom-audit-core-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-audit-core-data &&
cp -R "$tmp/axiom-codex/skills/axiom-audit-core-data" ~/.copilot/skills/axiom-audit-core-data &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/axiom-audit-core-data` 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-core-data` into your agent's skills folder as `axiom-audit-core-data`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When does Axiom audit core data trigger?

It is invoked when the user mentions Core Data review, schema migration, production crashes or data safety checking.

### Does Axiom audit core data change my code?

No. Its instructions are to scan and report issues with suggested code fixes, leaving edits to the user.

### Does Axiom audit core data cover SwiftData?

No. The skill explicitly excludes SwiftData @Query usage and points to a separate reference for SwiftData.

### Are test and vendor folders scanned?

No. The instructions skip test files, previews, Pods, Carthage, build output, docs and agent configuration folders.

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

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

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

The closest alternatives to Axiom audit core data are Axiom audit swiftdata, Axiom audit storage, Axiom audit database schema, Axiom audit codable and Axiom audit testing.

## Where this comes from

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

## Alternatives

- [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 storage](https://ai-powered.com/skills/axiom-audit-storage): Axiom audit storage is an open-source agent skill for security.
- [Axiom audit database schema](https://ai-powered.com/skills/axiom-audit-database-schema): Axiom audit database schema 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.
- [Axiom audit testing](https://ai-powered.com/skills/axiom-audit-testing): Axiom audit testing is an open-source agent skill for developer tools.
- [Axiom audit icloud](https://ai-powered.com/skills/axiom-audit-icloud): Axiom audit icloud is an open-source agent skill for developer tools.
- [Axiom data](https://ai-powered.com/skills/axiom-data-charleswiltgen-2): Axiom data is an open-source agent skill for databases.
- [Axiom health check](https://ai-powered.com/skills/axiom-health-check): Axiom health check is an open-source agent skill for developer tools.

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