Skip to main content
skill CX Codex

cryptokit — Claude Code skill: what it does, how to install

Guides Swift cryptography work with Apple CryptoKit for hashes, encryption, signatures, and key exchange.

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add dpearson2699/swift-ios-skills --skill cryptokit -a claude-code
Open on GitHub

What cryptokit does

This skill steers an agent toward Apple CryptoKit when editing Swift cryptography code. It covers SHA-2 and SHA-3 hashing, HMAC, AES-GCM, ChaChaPoly, P256, P384, P521 and Curve25519 signatures, plus ECDH, HPKE, ML-KEM, X-Wing, Secure Enclave keys, and CommonCrypto migration.

Its guidance includes one-shot and incremental hashes, HMAC verification, authenticated encryption with additional data, signing, and HKDF-based symmetric key derivation. For new Swift 6.3+ primitive code, it recommends CryptoKit over CommonCrypto and lower-level Security APIs.

Core primitives start at iOS 13+, while HPKE needs iOS 17+ and SHA-3 or post-quantum APIs need iOS 26+. That makes the deployment target a release blocker for those features.

What it helps with

  • hash Swift data with SHA-256
  • verify an HMAC without manual comparisons
  • encrypt a message with AES-GCM
  • sign data with a P256 key
  • migrate CommonCrypto primitive code

Example prompts for the agent

  • "Write Swift code that hashes a file incrementally with CryptoKit."
  • "Add AES-GCM encryption with authenticated data to this Swift code."
  • "Show P256 ECDH key agreement and derive a key with HKDF."

How to install cryptokit

1Skills CLI (Vercel)

npx skills add dpearson2699/swift-ios-skills --skill cryptokit -a claude-code

2Manually: put the files in place

~/.claude/skills/cryptokit/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/cryptokit/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about cryptokit

How do I install cryptokit in Claude Code?

Run npx skills add dpearson2699/swift-ios-skills --skill cryptokit -a claude-code, then run npx skills add dpearson2699/swift-ios-skills --skill cryptokit -a claude-code again. The skill file is at ~/.claude/skills/cryptokit/SKILL.md.

What does cryptokit do?

It gives an agent instructions for using Apple CryptoKit in Swift. The material covers hashing, HMAC, symmetric encryption, signatures, and key agreement.

Which iOS versions support the CryptoKit APIs?

Core CryptoKit primitives are available from iOS 13+. HPKE requires iOS 17+, while SHA-3 and post-quantum APIs require iOS 26+.

Similar skills

All skills for Security →

From the same set86

Project sponsors

Companies that keep this analytics open
Gold sponsor

Impressions, clicks and code copies — open statistics. We keep the numbers public for the same reason NeBlask itself is public. Become a sponsor