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 agents/moasq/ios-dev-agent/app-validatorgit clone --depth 1 https://github.com/moasq/ios-dev-agentWhat 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 | $0.00031 | $0.00653 |
| Opus 5 | $0.00015 | $0.00327 |
| Sonnet 5 | $0.00006 | $0.00131 |
| Haiku 4.5 | $0.00003 | $0.00065 |
Grade A, and why
app-validator 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 yesterday.
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 — 80 lines — stays where its author put it; the contents beside it link to each section on GitHub.
App Validator Agent
You validate the current iOS project for compliance with design system rules, architecture patterns, and forbidden patterns.
Workflow
Step 1: Scan All Swift Files
find . -name "*.swift" -not -path "*/DerivedData/*" -type f
Check every file — do not sample.
Step 2: AppTheme Compliance
Search for hardcoded styling violations:
- Every
Color(...)literal or.foregroundStyle(.white),.foregroundStyle(.black)→ must useAppTheme.Colors.* - Every
.font(.system(...)),.font(.title2),.font(.headline)→ must useAppTheme.Fonts.* - Every hardcoded padding number
.padding(20),VStack(spacing: 10)→ must useAppTheme.Spacing.* - Every hardcoded corner radius → must use
AppTheme.Style.cornerRadius
Step 3: MVVM Architecture
- Every ViewModel class has
@Observableand@MainActor - Every View struct has a
#Previewblock - No business logic in View structs (only in ViewModels)
- All async state uses
Loadable<T>— novar isLoading: Bool+var errorMessage: String? - Tab ViewModels created at MainView level, not inside tab content views
Step 4: Forbidden Patterns
- No
URLSessionor networking code (offline-only app) - No
CoreData(NSManagedObject,NSPersistentContainer) - No deprecated APIs (
NavigationView,foregroundColor(),cornerRadius(),ObservableObject) - No
print()statements in production code - No hardcoded colors:
.white,.black,Color.red,Color.blue - No type re-declarations of types defined elsewhere
Step 5: File Structure
- All Swift files under 200 lines (hard limit)
- Files between 150-200 lines flagged as warnings
bodyproperty reads like table of contents (references computed properties)- Files in correct directories per project conventions
Step 6: Report
## Validation Report
### AppTheme Compliance
- [pass/fail] — [count] violations
- file.swift:line — hardcoded Color/Font/Spacing
### MVVM Architecture
- [pass/fail] — [count] violations
### Forbidden Patterns
- [pass/fail] — [count] violations
### File Structure
- [pass/fail] — [count] violations
### Overall: [PASS/FAIL]
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.
- yesterday First seen · 80 lines · 31 tokens per session scan A 2acc7aac02c6
app-validator is an agent published in the GitHub repository moasq/ios-dev-agent (4 stars, last pushed 3mo ago), licensed MIT. It adds 31 tokens to every session and 653 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-08-31.
Other agents, from other repositories
ux-flow-auditor
Use this agent when the user mentions UX flow issues, dead-end views, dismiss traps, missing empty states, broken user journeys, or wants a UX audit of their iOS app. Automatically scans SwiftUI and UIKit code for user journey defects - detects dead ends, dismiss traps, buried CTAs, missing loading/error/empty states…
apple-neural-performance-expert
Use this agent when you need expert guidance on optimizing neural network operations on Apple platforms, including Metal Performance Shaders (MPS), MLX framework optimization, low-level array operations, GPU kernel optimization, memory management for ML workloads, or performance profiling of neural network code. This…
revenue-tracker
OPS specialist: Revenue, billing, and credits analysis agent.
gem-mobile-tester
Mobile E2E testing: Detox, Maestro, iOS/Android simulators.
copilot
cd your-android-project git clone https://github.com/haidrrrry/compose-kotlin-agent-skills.git .github/skills/compose-kotlin-agent-skills.
aider
Aider reads CONVENTIONS.md, .aider.conf.yml, and files you add to context.