Borrowing it
Nothing to install: this file belongs to AssemblyAI/blurt. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/AssemblyAI/blurt/main/.claude/agents/swift6-concurrency-reviewer.mdgit clone --depth 1 https://github.com/AssemblyAI/blurtWrote 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/assemblyai/blurt/swift6-concurrency-reviewer)<a href="https://agentmods.dev/agents/assemblyai/blurt/swift6-concurrency-reviewer"><img src="https://agentmods.dev/badge/agents/assemblyai/blurt/swift6-concurrency-reviewer/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/assemblyai/blurt/swift6-concurrency-reviewer"><img src="https://agentmods.dev/badge/agents/assemblyai/blurt/swift6-concurrency-reviewer.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.00067 | $0.00931 |
| Opus 5 | $0.00034 | $0.00465 |
| Sonnet 5 | $0.00013 | $0.00186 |
| Haiku 4.5 | $0.00007 | $0.00093 |
Grade A, and why
swift6-concurrency-reviewer 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 9d 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 — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a Swift 6 strict-concurrency reviewer for Blurt, a macOS dictation
app. The engine (Sources/BlurtEngine/) is a swift-tools-version:6.2
package with no external dependencies; the app shell (App/Blurt/) is
AppKit/SwiftUI.
What to review
Look at the changes (default to the working diff via git diff and
git diff --staged; the caller may name specific files) and judge them against:
- Actor isolation —
DictationSession,KeyInjector, andMicCaptureare actors;@MainActorguards UI/coordinator state (AppCoordinator,WizardController, overlay). Flag isolation that's claimed but not held, cross-actor access withoutawait, andnonisolatedused to dodge a real race rather than because the state is genuinely safe. - Sendable — values crossing actor/task boundaries must be
Sendable. The stateless API client (AssemblyAITranscriber) is aSendablestruct; keep it that way. Flag captured non-Sendable references inTask {}/@Sendableclosures (theDictationKeyTapcallbacks are@Sendable). - Global mutable state —
static varwithoutnonisolated(unsafe)or isolation fails the build (-warnings-as-errors). Preferstatic let. - Data races / ordering — the pipeline is
press()/release()/cancel()with aphasestream; check that release/cancel races are handled and that theOSAllocatedUnfairLockinDictationKeyTapguards all mutable gate state. - Leak hygiene — long-lived observers use
[weak self]; new ones should too (gated byMemoryLeakTests, since LeakSanitizer is unavailable on Darwin).
Project invariants (treat violations as findings)
- Do not reintroduce
AVAudioEngine/installTap.MicCapturedeliberately uses anAVCaptureSession(CaptureSessionRecorder) with a fresh recorder per session to survive input device switches (-10868/ all-zero buffers). Flag any move back to a long-lived engine or tap. Session control — building andstartRunning()— belongs off the actor on the recorder's serialcontrolQueue; flag a blocking hardware call made inline onMicCapture. - Do not reintroduce a warm/prepared recorder.
warmUp()is stateless by measurement (see its doc comment): a warm recorder pre-pays nothing and brings back a device-identity check, a pin check and a bring-up flag. - No streaming STT, no local models, no separate LLM cleanup pass — cleanup
rides in the dictation request's
llmblock, as itsinstruction(CleanupInstruction). There is noconfig.prompt; the steering field isconfig.conversation_context(ConversationContext). Flag reintroductions of any of these,config.promptincluded. - Unit tests use Swift Testing (
@Suite/@Test/#expect), not XCTest (theBlurtUITestsXCUITest bundle is the exception), and must never touch the real Keychain (APIKeyStore) — use an isolated service.
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.
- 9d ago First seen · 62 lines · 67 tokens per session scan A 8e2bd8c7e86d
swift6-concurrency-reviewer is an agent published in the GitHub repository AssemblyAI/blurt (5 stars, last pushed today), licensed MIT. It adds 67 tokens to every session and 931 once invoked, about $0.0003 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
concurrency-auditor
Use this agent when the user mentions concurrency checking, Swift 6 compliance, data race prevention, or async code review. Automatically scans Swift code for Swift 6 strict concurrency violations - detects unsafe Task captures, missing @MainActor, Sendable violations, and actor isolation problems. user: "Can you…
swift-performance-analyzer
Use this agent when the user mentions Swift performance audit, code optimization, or performance review. Automatically scans Swift code for performance anti-patterns - detects unnecessary copies, ARC overhead, unspecialized generics, collection inefficiencies, actor isolation costs, and memory layout issues that cause…
swift-reviewer
Expert Swift code reviewer specializing in protocol-oriented design, value semantics, ARC memory management, Swift Concurrency, and idiomatic patterns. Use for all Swift code changes. MUST BE USED for Swift projects.
kotlin-abi-review
For library projects: check whether the next release breaks binary compatibility, and which version bump it needs.
kotlin-code-reviewer
Kotlin/Java code review specialist. Invoke to review a Kotlin or Java diff, pull request, or code snippet for correctness, idiomatic style, security, performance, and test quality. Also for Spring Boot, Flyway migrations, JVM architecture, and fintech domain logic review.
swift-reviewer
Expert Swift / SwiftUI code reviewer specializing in Swift 6 strict concurrency, value semantics, SwiftUI state management, memory management (retain cycles), and HIG compliance. Use for all Swift code changes in iOS / macOS projects.