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.
npx skills add Abdullah4AI/apple-developer-toolkit --skill subscription-managergit clone --depth 1 https://github.com/Abdullah4AI/apple-developer-toolkitWrote 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.
[](https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/subscription-manager)<a href="https://agentmods.dev/skills/abdullah4ai/apple-developer-toolkit/subscription-manager"><img src="https://agentmods.dev/badge/skills/abdullah4ai/apple-developer-toolkit/subscription-manager.svg" alt="Measured on agentmods" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00025 | $0.01357 |
| Opus 5 | $0.00013 | $0.00678 |
| Sonnet 5 | $0.00005 | $0.00271 |
| Haiku 4.5 | $0.00003 | $0.00136 |
Grade A, and why
subscription-manager 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 4d 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.
How it starts
The opening of the file, as written. The whole thing — 175 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Subscription Manager
Architecture
Single-layer: SubscriptionManager is an @Observable @MainActor singleton that wraps Purchases.shared directly. It holds RevenueCat Package objects — NOT custom plan models.
BANNED Patterns
Do NOT create ANY of these:
enum SubscriptionPlan/enum SubscriptionTier/struct Planwith price properties- Models with
var price: Stringreturning "$X.XX" static let sampleData: [SomePlanType]with hardcoded plans- ViewModels holding
[SubscriptionPlan]or similar custom plan arrays - Any type that maps product identifiers to dollar amount strings
SubscriptionManager (REQUIRED Pattern)
import Foundation
import RevenueCat
@Observable
@MainActor
final class SubscriptionManager {
static let shared = SubscriptionManager()
var isPremium = false
var packages: [Package] = [] // RevenueCat Package objects ONLY
var selectedPackage: Package?
var isLoading = false
var errorMessage: String?
var purchaseSuccess = false // Signals successful purchase for UX feedback
private init() {}
func configure() {
#if DEBUG
Purchases.logLevel = .debug
#endif
Purchases.configure(
with: Configuration.Builder(withAPIKey: AppConfig.revenueCatAPIKey)
.with(storeKitVersion: .storeKit2)
.build()
)
Task { await refreshStatus() }
Task { await listenForChanges() }
}
func loadOfferings() async {
isLoading = true
defer { isLoading = false }
do {
let offerings = try await Purchases.shared.offerings()
packages = offerings.current?.availablePackages ?? []
if selectedPackage == nil { selectedPackage = packages.first }
} catch {
errorMessage = "Could not load plans."
}
}
func purchase(_ package: Package) async {
isLoading = true
defer { isLoading = false }
do {
let result = try await Purchases.shared.purchase(package: package)
if !result.userCancelled {
isPremium = result.customerInfo.entitlements[AppConfig.entitlementID]?.isActive == true
if isPremium { purchaseSuccess = true }
}
} catch {
errorMessage = error.localizedDescription
}
}
func resetPurchaseSuccess() {
purchaseSuccess = false
}
func restore() async {
isLoading = true
defer { isLoading = false }
do {
let info = try await Purchases.shared.restorePurchases()
isPremium = info.entitlements[AppConfig.entitlementID]?.isActive == true
if !isPremium { errorMessage = "No active subscriptions found." }
} catch {
errorMessage = error.localizedDescription
}
}
private func refreshStatus() async {
do {
let info = try await Purchases.shared.customerInfo()
isPremium = info.entitlements[AppConfig.entitlementID]?.isActive == true
} catch {}
}
private func listenForChanges() async {
for try await info in Purchases.shared.customerInfoStream {
isPremium = info.entitlements[AppConfig.entitlementID]?.isActive == true
}
}
}
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 175 lines · 25 tokens per session scan A a7cc561235ad
subscription-manager is a skill published in the GitHub repository Abdullah4AI/apple-developer-toolkit (10 stars, last pushed yesterday), licensed MIT. It adds 25 tokens to every session and 1,357 once invoked, about $0.0001 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.
Other skills, from other repositories
axiom-audit-iap
Use when the user mentions in-app purchase review, IAP audit, StoreKit issues, purchase bugs, transaction problems, or subscription management.
axiom-payments
Use when accepting ANY real-world payment — Apple Pay, Wallet passes, Tap to Pay, Orders in Wallet. NOT in-app purchase / digital content (use axiom-integration). Covers entitlements, certs, signing, App Review payment rules.
vertical-fintech-mobile
Domain-knowledge pack for money on a phone — wallets, payments, custody and signing, transaction lifecycle, KYC/AML gates, and offline reconciliation. The rules that separate a payments app from a CRUD app with a currency symbol: a balance is a claim about a server, an idempotency key must outlive the process that…
appstore-pricing-planner
App Store subscription and IAP pricing by territory with asc, including price points, PPP/localized CSV imports, availability, summaries, and schedules; mutating actions require confirmation.
vfx
Real-time 2D VFX cookbook — layered explosions, hit sparks, muzzle flashes, trails, smoke, pickups, heals, shockwaves, weather — with particle parameter recipes, color/readability rules, and mobile-browser performance budgets, from Diablo's VFX talk, Riot's style guide, saint11, and the GDC VFX bootcamps. Use when…
authentication
User-facing sign-in for a fintech iOS app, built on Apple's AuthenticationServices (ASAuthorization, ASWebAuthenticationSession) and LocalAuthentication (LAContext). Targets the iOS 26 era. This skill covers how the user proves identity; storing the resulting tokens/keys is a separate concern.