axiom-data

axiom-data is a skill for Claude Code from CharlesWiltgen/Axiom. It costs 49 tokens per session (3,294 once invoked), scanned A, original, MIT.

A Swift data-storage guide covering databases, files, cloud syncing, encryption, and converting data to formats such as JSON. CloudKit is Apple's service for storing and syncing app data through iCloud.

In plain words
What is it for?
Use it when working with SwiftData, Core Data, SQLite, Realm, CloudKit, file storage, Codable, migrations, or secure credentials.
Why use it?
It keeps storage choices, migrations, syncing, and secure data handling in one place instead of treating each system separately.

Skill for Claude Code

Written for Claude Code: a Claude Code plugin manifest. Also seen: mentions Claude Code.

Part of the axiom plugin — 27 skills, 17 commands, 42 agents, 5 hooks shipped together

Good fit Use it when working with SwiftData, Core Data, SQLite, Realm, CloudKit, file storage, Codable, migrations, or secure credentials.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charleswiltgen/axiom/axiom-data
About the project

Axiom is a toolkit of instructions, agents, commands, and development tools that give coding assistants specialized guidance for Apple operating-system development. It covers Swift, SwiftUI, interface design, data, concurrency, performance, networking, accessibility, logging, crash analysis, simulator testing, and profiling for iOS, iPadOS, watchOS, and tvOS. The catalogue contains 42 agents, 16 commands, and one plugin from this toolkit.

CharlesWiltgen/Axiom · 1,151 stars · on GitHub · charleswiltgen.github.io

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CharlesWiltgen/Axiom --skill axiom-data
Clone the repo
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom

Made for: Claude Code.

Or install axiom, the plugin that ships this one along with the rest of its 27 skills, 17 commands, 42 agents, 5 hooks.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for axiom-data

README.md
[![agentmods](https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-data/github.svg)](https://agentmods.dev/skills/charleswiltgen/axiom/axiom-data)
Your own site
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-data"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-data/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for axiom-data

Your own site · 80×15
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-data"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-data.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,294 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 16 May 2026
  • Snyk pass 16 May 2026
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Privilege Escalation · line 124
    Code accesses credential files (SSH keys, AWS credentials, etc.). This could indicate credential theft attempts.
    Fix: Remove references to credential paths. Use environment variables or secrets managers. For docs, use placeholder paths (e.g., /path/to/config). Never load .env or token files in production code paths.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00049 $0.03294
Opus 5 $0.00024 $0.01647
Sonnet 5 $0.00010 $0.00659
Haiku 4.5 $0.00005 $0.00329

Measured today against content hash ccd7417451c8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

axiom-data scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured today.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude-plugin/plugins/axiom/skills/axiom-data/SKILL.md · 212 lines

How it starts

The opening of the file, as written. The whole thing — 212 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Data & Persistence

You MUST use this skill for ANY data persistence, database, storage, CloudKit, or serialization work.

Not on Claude Code? Where this router says "Launch some-auditor agent", read that auditor's file in this suite and follow it inline — the same procedure, needing only file search and read.

Available here: skills/codable-auditor.md, skills/core-data-auditor.md, skills/database-schema-auditor.md, skills/grdb-performance-auditor.md, skills/icloud-auditor.md, skills/storage-auditor.md, skills/swiftdata-auditor.md.

Agents that need Bash — builds, tests, simulators, crash symbolication — stay Claude Code-only; there is no inline equivalent for those.

When to Use

Use this skill when working with:

  • Databases (SwiftData, Core Data, GRDB, SQLiteData)
  • Schema migrations
  • CloudKit sync
  • File storage (iCloud Drive, local storage)
  • Data serialization (Codable, JSON)
  • Storage strategy decisions
  • Keychain / secure credential storage
  • Encryption, signing, key management (CryptoKit)

Quick Reference

Symptom / Task Reference
SwiftData @Model, @Query, ModelContext, sectioned queries / ResultsObserver / @Attribute(.codable) / dynamic compound predicates (OS27) See skills/swiftdata.md
SwiftData schema migration, VersionedSchema See skills/swiftdata-migration.md
SwiftData migration crashes, data loss See skills/swiftdata-migration-diag.md
Migrating from Realm to SwiftData See skills/realm-migration-ref.md
SwiftData vs SQLiteData decision See skills/sqlitedata-migration.md
GRDB queries, upsert, ValueObservation, DatabaseMigrator, encryption See skills/grdb.md
GRDB performance, indexes, EXPLAIN QUERY PLAN, cursors, observation not firing See skills/grdb-performance.md
Full-text search (FTS5) in GRDB or SQLiteData See skills/sqlite-fts-ref.md
Storing or querying JSON inside a SQLite column (JSON1, JSONB) See skills/sql-json-ref.md
GRDB shared across app + widget/extension (App Group) See skills/grdb-app-groups.md
SQLiteData @Table, CRUD, SyncEngine See skills/sqlitedata.md
SQLiteData advanced patterns, CTEs, views See skills/sqlitedata-ref.md
@Shared / @SharedReader, appStorage or fileStorage persistence, custom SharedKey, isLoading / loadError on @FetchAll See skills/swift-sharing.md
Core Data stack, relationships, concurrency See skills/core-data.md
Core Data migration crashes, thread errors See skills/core-data-diag.md
ANY schema migration safety See skills/database-migration.md
Codable, JSON encoding/decoding See skills/codable.md
Cloud sync architecture, offline-first See skills/cloud-sync.md
CloudKit, CKSyncEngine, CKRecord See skills/cloudkit-ref.md
iCloud Drive, ubiquitous containers See skills/icloud-drive-ref.md
Cloud sync errors, conflict resolution See skills/cloud-sync-diag.md
Storage strategy, where to store data See skills/storage.md
Storage issues, files disappeared See skills/storage-diag.md
Storage management, disk pressure See skills/storage-management-ref.md
Keychain / secure credential storage See axiom-security (skills/keychain.md)
Keychain errors (errSecDuplicateItem) See axiom-security (skills/keychain-diag.md)
Keychain API reference See axiom-security (skills/keychain-ref.md)
Encryption / signing / key management See axiom-security (skills/cryptokit.md)
CryptoKit API reference See axiom-security (skills/cryptokit-ref.md)
File protection, NSFileProtection See axiom-security (skills/file-protection-ref.md)
tvOS data persistence (no local storage) See axiom-swift (skills/tvos.md)
tvOS + CloudKit SyncEngine See skills/sqlitedata.md

Read the full file on GitHub · 212 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. today Changed · +9 lines ccd7417451c8
  2. 4d ago First seen · 203 lines · 49 tokens per session scan A 3f5bcf3f4aa7

Subscribe to this mod's changes

axiom-data is a skill published in the GitHub repository CharlesWiltgen/Axiom (1,151 stars, last pushed yesterday), licensed MIT. It adds 49 tokens to every session and 3,294 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-06.

Related

Other skills, from other repositories

alloydb-basics

Manages clusters, instances, and backups for AlloyDB for PostgreSQL, and integrates with AlloyDB Model Context Protocol (MCP) tools for automated database operations. Use when creating, configuring, or administering AlloyDB databases. Do NOT use for general PostgreSQL instances (e.g. Cloud SQL) or other GCP databases.

google/skills · 72 tokens

postgresql-table-design

Use this skill when designing or reviewing a PostgreSQL-specific schema. Covers best-practices, data types, indexing, constraints, performance patterns, and advanced features.

wshobson/agents · 37 tokens

db-repair

Auto-fix gbrain's Postgres access so the brain stays available. When any gbrain command or MCP tool result carries a GBRAINDBACCESS marker (or an operator reports the brain database is down), run the hardcoded gbrain db-repair ladder: diagnose, apply the safe tier, verify. The action is ALWAYS the hardcoded command …

garrytan/gbrain · 96 tokens

dsql

Build with Aurora DSQL — manage schemas, execute queries, handle migrations, diagnose query plans, diagnose cluster performance, load data, and develop applications with a serverless, distributed SQL database. Covers IAM auth, multi-tenant patterns, MySQL-to-DSQL and PostgreSQL-to-DSQL schema conversion, foreign key…

awslabs/agent-plugins · 229 tokens

volcengine-rds-postgresql

A tool for operating PostgreSQL databases hosted by Volcano Engine's managed database service. PostgreSQL is a relational database used to store structured application data.

bytedance/agentkit-samples · 63 tokens

polar-local-environment

This skill should be used when setting up or managing Polar local development environment with Docker.

fcakyon/claude-codex-settings · 22 tokens