axiom-audit-iap

axiom-audit-iap is a skill for Claude Code, Codex from CharlesWiltgen/Axiom. It costs 35 tokens per session (4,356 once invoked), scanned A, original, MIT.

A review guide for in-app purchases, which let users buy digital goods or subscriptions inside an app through Apple's StoreKit system. It checks purchase and subscription code for common problems.

In plain words
What is it for?
Use it to review product loading, transaction handling, entitlements, and subscription management in Apple apps.
Why use it?
It helps find bugs that can lose sales, mishandle transactions, or lead to App Store review problems.

Skill for Claude CodeCodex

Written for Claude Code and Codex: Claude Code plugin machinery, but also agents/openai.yaml present. Also seen: positional $N argument.

Good fit Use it to review product loading, transaction handling, entitlements, and subscription management in Apple apps.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/charleswiltgen/axiom/axiom-audit-iap
About the project

Axiom is a toolkit of instructions, agents, commands, and development tools that give coding assistants specialized guidance for Apple operating-system development. It covers Swift, SwiftUI, interface design, data, concurrency, performance, networking, accessibility, logging, crash analysis, simulator testing, and profiling for iOS, iPadOS, watchOS, and tvOS. The catalogue contains 42 agents, 16 commands, and one plugin from this toolkit.

CharlesWiltgen/Axiom · 1,155 stars · on GitHub · charleswiltgen.github.io

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 CharlesWiltgen/Axiom --skill axiom-audit-iap
Clone the repo
git clone --depth 1 https://github.com/CharlesWiltgen/Axiom

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-audit-iap

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/charleswiltgen/axiom/axiom-audit-iap"><img src="https://agentmods.dev/badge/skills/charleswiltgen/axiom/axiom-audit-iap.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,356 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 88
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Rogue Agent · line 201
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
How audits are shown
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.00035 $0.04356
Opus 5 $0.00017 $0.02178
Sonnet 5 $0.00007 $0.00871
Haiku 4.5 $0.00003 $0.00436

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

Security

Grade A, and why

axiom-audit-iap 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 6d 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.

axiom-codex/skills/axiom-audit-iap/SKILL.md · 304 lines

How it starts

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

In-App Purchase Auditor Agent

You are an expert at detecting in-app purchase issues — both known anti-patterns AND missing/incomplete patterns that cause revenue loss, App Store rejections, and customer support problems.

Tool Use Is Mandatory

Run every Glob, Grep, and Read this prompt lists. Do not reason from training data instead of scanning.

  • Run each Grep pattern as written; do not collapse them into one mega-regex.
  • Run the Read verifications each section calls for.
  • "Build a mental model" / "map the architecture" means with tool output in hand, not from memory.

Files to Exclude

Skip: *Tests.swift, *Previews.swift, */Pods/*, */Carthage/*, */.build/*, */DerivedData/*, */scratch/*, */docs/*, */.claude/*, */.claude-plugin/*

Phase 1: Map IAP Architecture

Step 1: Identify StoreKit Version and Entry Points

Glob: **/*.swift (excluding test/vendor paths)
Grep for:
  - `import StoreKit` — StoreKit usage
  - `Product.products(for:)` — StoreKit 2 product loading
  - `SKProductsRequest`, `SKPaymentQueue` — StoreKit 1 (legacy)
  - `Transaction.updates`, `Transaction.all`, `Transaction.currentEntitlements` — StoreKit 2 lifecycle
  - `SKPaymentTransactionObserver` — StoreKit 1 transaction observer
  - `paymentQueue\(_:shouldAddStorePayment:` — promoted-purchase handler (SK1)

StoreKit 1 is not deprecated but is legacy — note if the codebase mixes both. Also note whether classes adopting SKPaymentTransactionObserver implement the optional paymentQueue(_:shouldAddStorePayment:) method (entry point for promoted purchases from the App Store product page).

Step 2: Identify Product Types in Use

Grep for:
  - `.consumable`, `.nonConsumable` — Consumable / non-consumable IAP
  - `.autoRenewable`, `.nonRenewable` — Subscription types
  - `SubscriptionInfo`, `subscriptionGroupID` — Subscription group usage
  - `RenewalInfo`, `renewalInfo` — Renewal metadata access
  - `subscription\?\.status`, `\.subscriptionStatus`, `Product\.SubscriptionInfo\.Status` — subscription-state read sites
  - `scenePhase`, `\.onChange\(of: scenePhase`, `willEnterForegroundNotification` — foreground re-check triggers

Read the full file on GitHub · 304 lines

Files

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.

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. 6d ago First seen · 304 lines · 35 tokens per session scan A a4acafbd95c3

Subscribe to this mod's changes

axiom-audit-iap is a skill published in the GitHub repository CharlesWiltgen/Axiom (1,155 stars, last pushed 3d ago), licensed MIT. It adds 35 tokens to every session and 4,356 once invoked, about $0.0002 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-06.

Related

Other skills, from other repositories

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…

avelikiy/great_cto · 119 tokens

vfx

Build real-time 2D effects in-engine — explosions, hit sparks, trails, smoke, pickups, shockwaves, weather — with particle recipes, readability rules and mobile budgets.

kyh/vibedgames · 39 tokens

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.

Xopoko/build-swift-apps · 43 tokens

subscription-manager

Subscription and credit management architecture with RevenueCat. Use when implementing subscription state, credit balance, or feature gating.

Abdullah4AI/apple-developer-toolkit · 25 tokens

bitcoin-infrastructure-electrum-wallet

Electrum Wallet: classic Python desktop wallet. Lightweight, runs on most platforms, plugin ecosystem, hardware wallet support. USE WHEN: evaluating mature Bitcoin wallet, integrating Electrum protocol clients.

claude-dev-suite/claude-dev-suite · 46 tokens

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.

TalissonVitorino/kmp-ios-skills · 178 tokens