axiom-cloud-sync

axiom-cloud-sync is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 38 tokens per session (2,765 once invoked), scanned A, original, MIT.

A guide to choosing among CloudKit, iCloud Drive, and Apple's key-value store based on the kind of data an app needs to sync. It explains offline-first design, where the app continues working without a network connection.

In plain words
What is it for?
Use it to design sync architecture for records, documents, images, videos, app settings, and offline use.
Why use it?
It prevents using file storage for database records, or database sync for files, which can lead to unreliable syncing and lost data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to design sync architecture for records, documents, images, videos, app settings, and offline use.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-cloud-sync
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 ComeOnOliver/skillshub --skill axiom-cloud-sync
Clone the repo
git clone --depth 1 https://github.com/ComeOnOliver/skillshub

Made for: Claude Code, Codex.

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-cloud-sync

README.md
[![agentmods](https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-cloud-sync/github.svg)](https://agentmods.dev/skills/comeonoliver/skillshub/axiom-cloud-sync)
Your own site
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-cloud-sync"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-cloud-sync/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-cloud-sync

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-cloud-sync"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-cloud-sync.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 38 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,765 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.
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.00038 $0.02765
Opus 5 $0.00019 $0.01383
Sonnet 5 $0.00008 $0.00553
Haiku 4.5 $0.00004 $0.00277

Measured 9d ago against content hash 116cf495c728, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

axiom-cloud-sync 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 9d ago.

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.

skills/CharlesWiltgen/Axiom/axiom-cloud-sync/SKILL.md · 404 lines

How it starts

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

Cloud Sync

Overview

Core principle: Choose the right sync technology for the data shape, then implement offline-first patterns that handle network failures gracefully.

Two fundamentally different sync approaches:

  • CloudKit — Structured data (records with fields and relationships)
  • iCloud Drive — File-based data (documents, images, any file format)

Quick Decision Tree

What needs syncing?

├─ Structured data (records, relationships)?
│  ├─ Using SwiftData? → SwiftData + CloudKit (easiest, iOS 17+)
│  ├─ Need shared/public database? → CKSyncEngine or raw CloudKit
│  └─ Custom persistence (GRDB, SQLite)? → CKSyncEngine (iOS 17+)
│
├─ Documents/files users expect in Files app?
│  └─ iCloud Drive (UIDocument or FileManager)
│
├─ Large binary blobs (images, videos)?
│  ├─ Associated with structured data? → CKAsset in CloudKit
│  └─ Standalone files? → iCloud Drive
│
└─ App settings/preferences?
   └─ NSUbiquitousKeyValueStore (simple key-value, 1MB limit)

CloudKit vs iCloud Drive

Aspect CloudKit iCloud Drive
Data shape Structured records Files/documents
Query support Full query language Filename only
Relationships Native support None (manual)
Conflict resolution Record-level File-level
User visibility Hidden from user Visible in Files app
Sharing Record/database sharing File sharing
Offline Local cache required Automatic download

Red Flags

If ANY of these appear, STOP and reconsider:

  • ❌ "Store JSON files in CloudKit" — Wrong tool. Use iCloud Drive for files
  • ❌ "Build relationships manually in iCloud Drive" — Wrong tool. Use CloudKit
  • ❌ "Assume sync is instant" — Network fails. Design offline-first
  • ❌ "Skip conflict handling" — Conflicts WILL happen on multiple devices
  • ❌ "Use CloudKit for user documents" — Users can't see them. Use iCloud Drive
  • ❌ "Sync on app launch only" — Users expect continuous sync

Read the full file on GitHub · 404 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. 9d ago First seen · 404 lines · 38 tokens per session scan A 116cf495c728

Subscribe to this mod's changes

axiom-cloud-sync is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 38 tokens to every session and 2,765 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-03.