axiom-cryptokit

axiom-cryptokit is a skill for Claude Code, Codex from ComeOnOliver/skillshub. It costs 84 tokens per session (5,432 once invoked), scanned A, original, MIT.

A guide to using CryptoKit for protecting data and communications in iOS apps. It covers encryption, signatures, key exchange, Secure Enclave key storage, migration from CommonCrypto, and post-quantum methods.

In plain words
What is it for?
Use it to encrypt stored or transmitted data, sign and verify payloads, generate and protect keys, implement end-to-end key exchange, migrate from CommonCrypto, and explore quantum-resistant algorithms.
Why use it?
It helps replace low-level cryptography code with Apple’s supported APIs and avoid mistakes when apps and servers exchange keys, signatures, or encrypted data.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to encrypt stored or transmitted data, sign and verify payloads, generate and protect keys, implement end-to-end key exchange, migrate from CommonCrypto, and explore quantum-resistant algorithms.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/comeonoliver/skillshub/axiom-cryptokit
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-cryptokit
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-cryptokit

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-cryptokit"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-cryptokit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 84 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,432 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.00084 $0.05432
Opus 5 $0.00042 $0.02716
Sonnet 5 $0.00017 $0.01086
Haiku 4.5 $0.00008 $0.00543

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

Security

Grade A, and why

axiom-cryptokit 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-cryptokit/SKILL.md · 433 lines

How it starts

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

CryptoKit

Authenticated encryption, digital signatures, key agreement, Secure Enclave key management, and quantum-secure cryptography for iOS apps.

When to Use This Skill

Use when you need to:

  • ☑ Encrypt data at rest or in transit beyond what TLS/Data Protection provides
  • ☑ Sign payloads for integrity verification (receipts, tokens, API requests)
  • ☑ Generate or manage cryptographic keys (including Secure Enclave hardware keys)
  • ☑ Migrate from CommonCrypto C API to CryptoKit
  • ☑ Implement key agreement (ECDH) for end-to-end encryption
  • ☑ Use HPKE for modern asymmetric encryption
  • ☑ Adopt quantum-secure algorithms (ML-KEM, ML-DSA) for post-quantum readiness
  • ☑ Interoperate with server-side Swift Crypto or non-Apple platforms

Example Prompts

"How do I encrypt user data with AES-GCM?" "How do I sign a payload and verify it on my server?" "How do I use the Secure Enclave to protect a signing key?" "I'm using CommonCrypto — should I migrate to CryptoKit?" "How do I do ECDH key agreement for end-to-end encryption?" "How do I make my app quantum-secure?" "My server can't verify signatures from my iOS app" "What's the difference between P256 and Curve25519?"

Red Flags

Signs you're making this harder or less secure than it needs to be:

  • ❌ Using CommonCrypto C API when CryptoKit exists — Buffer management nightmares, no authenticated encryption, manual IV handling. CryptoKit provides memory-safe, authenticated encryption in one call. Migration takes minutes per call site.
  • ❌ AES-CBC without authentication — Ciphertext is malleable. Padding oracle attacks let an attacker decrypt data one byte at a time without the key. AES-GCM (CryptoKit's default) provides authenticated encryption — tampering is detected automatically.
  • ❌ Rolling your own crypto protocol — Timing attacks, padding oracles, nonce reuse. Unless you are a professional cryptographer, use CryptoKit's high-level APIs. Apple's security team designed them to prevent exactly these mistakes.
  • ❌ Ignoring Secure Enclave for signing keys — "Too complex" is wrong. The SE API is nearly identical to software P256. SE keys survive jailbreaks. If the key protects money, health data, or identity, SE is the correct choice at zero extra effort.
  • ❌ Using AES-128 when AES-256 costs nothing extra — Grover's algorithm halves symmetric key strength on quantum computers. AES-128 drops to 64-bit security. AES-256 drops to 128-bit — still safe. The performance difference is negligible.
  • ❌ Force-unwrapping crypto operations — AES.GCM.open and signature verification throw on failure. Force-unwrapping masks authentication failures and turns security errors into crashes. Always use try/catch.
  • ❌ Storing raw private keys in UserDefaults — Readable from device backups, accessible on jailbroken devices, visible in plaintext in the app's plist. Use Keychain for software keys, Secure Enclave for hardware-bound keys.

Read the full file on GitHub · 433 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 · 433 lines · 84 tokens per session scan A 9f67413f31c0

Subscribe to this mod's changes

axiom-cryptokit is a skill published in the GitHub repository ComeOnOliver/skillshub (63 stars, last pushed 2mo ago), licensed MIT. It adds 84 tokens to every session and 5,432 once invoked, about $0.0004 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.