axiom-cryptokit-ref

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

An API reference for CryptoKit, Apple’s framework for hashing, encrypting data, signing messages, agreeing on keys, and protecting keys with the Secure Enclave.

In plain words
What is it for?
Use it to implement AES-GCM or ChaChaPoly encryption, hashes, HMACs, digital signatures, ECDH key exchange, Secure Enclave keys, HPKE, and post-quantum cryptography.
Why use it?
It provides the details needed to choose cryptographic operations and represent keys correctly. It also covers interoperability with servers, Swift Crypto, and newer post-quantum algorithms.

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 implement AES-GCM or ChaChaPoly encryption, hashes, HMACs, digital signatures, ECDH key exchange, Secure Enclave keys, HPKE, and post-quantum cryptography.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/comeonoliver/skillshub/axiom-cryptokit-ref"><img src="https://agentmods.dev/badge/skills/comeonoliver/skillshub/axiom-cryptokit-ref.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 101 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,585 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.00101 $0.05585
Opus 5 $0.00051 $0.02792
Sonnet 5 $0.00020 $0.01117
Haiku 4.5 $0.00010 $0.00558

Measured 9d ago against content hash 2c818ad36cbf, 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-ref 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-ref/SKILL.md · 710 lines

How it starts

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

CryptoKit API Reference

Complete API reference for Apple CryptoKit: hashing, HMAC, symmetric encryption, key agreement, digital signatures, post-quantum cryptography, HPKE, Secure Enclave, key derivation, and Swift Crypto cross-platform parity.

Quick Reference

import CryptoKit

// Generate a symmetric key
let key = SymmetricKey(size: .bits256)

// AES-GCM encrypt
let sealed = try AES.GCM.seal(plaintext, using: key)
let combined = sealed.combined!  // nonce + ciphertext + tag

// AES-GCM decrypt
let sealedBox = try AES.GCM.SealedBox(combined: combined)
let decrypted = try AES.GCM.open(sealedBox, using: key)

// ECDSA sign (P256)
let signingKey = P256.Signing.PrivateKey()
let signature = try signingKey.signature(for: data)
let valid = signingKey.publicKey.isValidSignature(signature, for: data)

// Secure Enclave key
let seKey = try SecureEnclave.P256.Signing.PrivateKey()
let seSignature = try seKey.signature(for: data)

Hashing

Hash Functions

Algorithm Type Output Size Use
SHA256 SHA256 32 bytes General purpose, most common
SHA384 SHA384 48 bytes TLS, certificate chains
SHA512 SHA512 64 bytes High-security contexts
SHA3_256 SHA3_256 32 bytes NIST post-quantum companion
SHA3_384 SHA3_384 48 bytes Post-quantum companion
SHA3_512 SHA3_512 64 bytes Post-quantum companion
Insecure.MD5 Insecure.MD5 16 bytes Legacy interop only
Insecure.SHA1 Insecure.SHA1 20 bytes Legacy interop only

Single-Call Hashing

let digest = SHA256.hash(data: data)
// digest conforms to Sequence of UInt8
let hex = digest.map { String(format: "%02x", $0) }.joined()

Streaming (Incremental) Hashing

var hasher = SHA256()
hasher.update(data: chunk1)
hasher.update(data: chunk2)
hasher.update(bufferPointer: unsafePointer)
let digest = hasher.finalize()  // SHA256Digest

HashFunction Protocol

All hash types conform to HashFunction with: byteCount, blockByteCount, init(), update(data:), update(bufferPointer:), finalize(), and hash(data:).

Read the full file on GitHub · 710 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 · 710 lines · 101 tokens per session scan A 2c818ad36cbf

Subscribe to this mod's changes

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