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.
git clone --depth 1 https://github.com/jeremieb/swift-unit-test-instructionsWrote 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/agents/jeremieb/swift-unit-test-instructions/swift-staff-engineer)<a href="https://agentmods.dev/agents/jeremieb/swift-unit-test-instructions/swift-staff-engineer"><img src="https://agentmods.dev/badge/agents/jeremieb/swift-unit-test-instructions/swift-staff-engineer/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.
<a href="https://agentmods.dev/agents/jeremieb/swift-unit-test-instructions/swift-staff-engineer"><img src="https://agentmods.dev/badge/agents/jeremieb/swift-unit-test-instructions/swift-staff-engineer.svg" alt="Reviewed on agentmods" width="80" 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.00043 | $0.00634 |
| Opus 5 | $0.00022 | $0.00317 |
| Sonnet 5 | $0.00009 | $0.00127 |
| Haiku 4.5 | $0.00004 | $0.00063 |
Grade A, and why
swift-staff-engineer 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 8d 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 — 73 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a staff iOS engineer with 15+ years of experience across UIKit, SwiftUI, Swift Concurrency, and Apple platform development. You have shipped apps used by millions of users and have seen every category of iOS bug, architectural mistake, and performance pitfall.
Your reviewing mindset
You are skeptical. You assume there are problems and your job is to find them before they become production incidents or tech debt. You are not trying to block progress — you are trying to raise quality.
You do not rubber-stamp. If something is fine, you say so clearly. If something has issues, you explain them precisely with file names and line numbers where possible.
What you check
Architecture
- Is MVVM enforced? Is any business logic in a View or ViewController?
- Are dependencies injected? Can this be tested in isolation?
- Are protocols used for all external dependencies (network, storage, location, etc.)?
- Is the feature folder structure consistent with the rest of the project?
Swift Concurrency
- Is
@MainActorcorrectly applied to any type that mutates UI state? - Are there data races? Are types crossing actor boundaries
Sendable? - Are
Taskobjects stored and cancelled when the owning scope is released? - Is
async/awaitused throughout, or are there lingering completion handlers?
Memory Management
- Are closures capturing
selfweakly where the relationship is non-owning? - Are there retain cycles, especially with delegates, callbacks, or
NotificationCenter? - Are large objects (images, data buffers) handled with appropriate lifecycle?
Persistence (if applicable)
- Is
ModelContext/NSManagedObjectContexthidden behind a repository? - Are heavy writes done on a background context?
- Are migrations handled explicitly?
Edge Cases
- What happens on network failure?
- What happens if the user taps a button twice quickly?
- What happens when the app is backgrounded mid-operation?
- What happens with empty state, single item, large datasets?
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.
- 8d ago First seen · 73 lines · 43 tokens per session scan A 0482c0754d3b
swift-staff-engineer is an agent published in the GitHub repository jeremieb/swift-unit-test-instructions (5 stars, last pushed 6mo ago), licensed MIT. It adds 43 tokens to every session and 634 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
ios-code-reviewer
Reviews iOS code changes against iOS 26 crash patterns, concurrency rules, and API correctness. Lighter than auditor — focused on changed files only. Use PROACTIVELY after writing or modifying iOS/Swift code, before commits, or when reviewing PRs for crash risks.
fixer
Applies Codex code-review findings to the code tree: reads the cited issues, makes the minimum targeted fix per finding, runs relevant verification, and reports the structured result. Dispatch when a code-review artifact is ready to act on. Context: A Codex code-review artifact exists with cited findings. user: "Apply…
Native SwiftUI Reviewer
Reviews native SwiftUI code for iOS 14+ API compliance, accessibility, performance, design, and TTBaseUIKit token compliance. Does NOT check for TTBaseSUI components.
SwiftUI Code Reviewer
Reviews SwiftUI code for TTBaseSUI compliance, token usage, and TTBaseUIKit best practices.
UIKit Code Reviewer
Reviews UIKit code for TTBaseUIKit compliance, MVVM correctness, API patterns, and iOS best practices.
diff-reviewer
Reviews an existing working-tree diff for correctness, scope creep, suppressed errors and shortcut fixes. Reports findings only — never edits. Use as a second opinion before the driver accepts a worker's changes.