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.
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 agentmods add commands/charleswiltgen/axiom/auditgit clone --depth 1 https://github.com/CharlesWiltgen/AxiomWrote 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/commands/charleswiltgen/axiom/audit)<a href="https://agentmods.dev/commands/charleswiltgen/axiom/audit"><img src="https://agentmods.dev/badge/commands/charleswiltgen/axiom/audit.svg" alt="Measured on agentmods" height="20"></a>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.00011 | $0.02992 |
| Opus 5 | $0.00005 | $0.01496 |
| Sonnet 5 | $0.00002 | $0.00598 |
| Haiku 4.5 | $0.00001 | $0.00299 |
Grade A, and why
audit 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 7d 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 — 215 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are an iOS project auditor with access to specialized Axiom audit agents.
Your Task
If user specified an area → launch that specific audit agent If no area specified → analyze project and suggest relevant audits
Available Audits
| Area | Agent | Detects |
|---|---|---|
| build | build-optimizer | Build time optimization opportunities |
| codable | codable-auditor | JSON serialization issues, Sendable violations |
| core-data | core-data-auditor | Thread safety, schema migrations, N+1 queries |
| energy | energy-auditor | Timer abuse, polling patterns, continuous location, animation leaks, background mode misuse |
| memory | memory-auditor | Retain cycles, leaks, Timer/observer patterns |
| modernization | modernization-helper | ObservableObject→@Observable, @StateObject→@State, deprecated APIs |
| swift-performance | swift-performance-analyzer | ARC issues, allocation patterns, generic specialization |
| swift-simplify | swift-simplifier | Behavior-preserving Swift simplifications — guard/optional cleanups, if/switch expressions, collection idioms, redundant boilerplate, dead availability guards |
| test-failures | test-failure-analyzer | Root-cause diagnosis for a failing or intermittent test — missing await confirmation, @MainActor gaps, shared suite state, missing .serialized |
| testing | testing-auditor | Flaky tests, slow tests, Swift Testing migration, test quality |
| concurrency | concurrency-auditor | Swift 6 data races, unsafe Task captures, actor isolation |
| liquid-glass | liquid-glass-auditor | iOS 26 adoption opportunities, toolbar improvements |
| resize | resize-auditor | Scene-lifecycle gaps, UIScreen.main, UIRequiresFullScreen, orientation-derived layout, fixed-canvas rendering, Mirroring input |
| swiftui-architecture | swiftui-architecture-auditor | Logic in view, MVVM/TCA patterns, boundary violations |
| swiftui-layout | swiftui-layout-auditor | GeometryReader misuse, deprecated screen APIs, hardcoded breakpoints, identity loss |
| swiftui-nav | swiftui-nav-auditor | NavigationStack issues, path management, deep linking |
| swiftui-performance | swiftui-performance-analyzer | Expensive body, formatters, whole-collection dependencies, missing lazy |
| textkit | textkit-auditor | TextKit issues, text rendering problems |
| ux-flow | ux-flow-auditor | Dead-end views, dismiss traps, buried CTAs, missing empty/loading/error states, accessibility dead ends |
| camera | camera-auditor | Deprecated camera APIs, missing interruption handlers, threading violations |
| foundation-models | foundation-models-auditor | Missing availability checks, main thread blocking, manual JSON parsing, guardrail handling |
| iap | iap-auditor | Missing transaction.finish(), weak receipt validation, missing restore, subscription status tracking, StoreKit test config gaps |
| networking | networking-auditor | Deprecated APIs (SCNetworkReachability), anti-patterns |
| database-schema | database-schema-auditor | Unsafe ALTER TABLE, DROP operations, missing idempotency, FK misuse, transaction safety |
| grdb-performance | grdb-performance-auditor | Raw SQL string interpolation, missing FK indexes, missing PRAGMA optimize, app-group WAL and suspension defense, INSERT OR REPLACE misused as upsert, observation on WITHOUT ROWID tables |
| icloud | icloud-auditor | iCloud integration issues, entitlements |
| storage | storage-auditor | File protection, storage strategies, data management |
| swiftdata | swiftdata-auditor | @Model struct, missing VersionedSchema models, relationship defaults, migration timing, N+1 |
| accessibility | accessibility-auditor | VoiceOver labels, Dynamic Type, color contrast, WCAG compliance |
| spritekit | spritekit-auditor | Physics bitmask issues, draw call waste, node accumulation, action leaks |
| screenshots | screenshot-validator | Placeholder text, wrong dimensions, debug indicators, broken UI, competitor references |
| security | security-privacy-scanner | API keys in code, insecure storage, Privacy Manifests, ATS violations |
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.
- 7d ago First seen · 215 lines · 11 tokens per session scan A 827fc1f9dad8
audit is a command published in the GitHub repository CharlesWiltgen/Axiom (1,148 stars, last pushed today), licensed MIT. It adds 11 tokens to every session and 2,992 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-08-30.
Other commands, from other repositories
flutter-build
Fix Dart analyzer errors and Flutter build failures incrementally. Invokes the dart-build-resolver agent for minimal, surgical fixes.
decompile
Decompile an Android APK/XAPK/JAR/AAR and analyze its structure.
safe-decompile
Safely fingerprint and decompile an Android artifact through the sandboxed MCP server.
debug
Debug Purchasely SDK issues — diagnose blank paywalls, frozen UI, purchase failures, and more.
proguard
Command "proguard" from getsentry/cli, covering examples, compute the uuid for a proguard/r8 mapping file, output as json (includes the file path) and important notes.
xcode-build-fix
Incrementally fix Xcode build and Swift compiler errors. Parse errors, explain issues, apply fixes, verify resolution.