
Description
This agent skill helps an Apple-platform developer use CryptoTokenKit, the framework for security tokens and smart cards. It covers token driver extensions, which are built with TKTokenDriver or TKSmartCardTokenDriver, along with communication with smart cards, token sessions, token-backed keychain integration and certificate-based authentication. The examples target Swift 6.3. The skill is careful about where each capability works. CryptoTokenKit classes exist across Apple platforms, but what a developer can do depends on the extension point, the entitlement, the hardware and the OS version. The smart-card app extension flow for login and keychain unlock is a macOS feature. The default smart-card slot manager returns nil unless smart-card access is enabled. On iOS and iPadOS 26 and later, NFC smart-card slots and their registration are added. The skill is written for an AI coding agent working on security code, and it is part of the swift-ios-skills repository by dpearson2699, which has about 1.3K stars on GitHub. Because this area involves credentials and hardware, the developer should test on the target device and check the entitlements Apple requires.…
Highlights
- Build TKTokenDriver and TKSmartCardTokenDriver extensions
- Communicate with smart cards
- Manage token sessions
- Integrate tokens with the keychain
- Set up certificate-based authentication
Ratings & Reviews
No ratings yet
Be the first to rate cryptotokenkit.
People also visit
cryptotokenkit FAQ
Which platforms does it cover?
CryptoTokenKit covers several Apple platforms. The skill notes that the smart-card login flow is macOS only, and that NFC smart-card slots arrive on iOS and iPadOS 26 and later.
Why does the slot manager return nil?
The skill says TKSmartCardSlotManager.default returns nil unless smart-card access is enabled.
How do I install it?
Run npx skills add https://github.com/dpearson2699/swift-ios-skills --skill cryptotokenkit.
What security audits has it passed?
Gen Agent Trust Hub: Warn. Socket: Pass. Snyk: Pass.
What are the best cryptotokenkit alternatives?
Popular alternatives to cryptotokenkit include token-integration-analyzer, swift-security and secrets. See all cryptotokenkit alternatives



















