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/carloshpdoc/ios-workflow-claudeWrote 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/carloshpdoc/ios-workflow-claude/swiftlint-fixer)<a href="https://agentmods.dev/agents/carloshpdoc/ios-workflow-claude/swiftlint-fixer"><img src="https://agentmods.dev/badge/agents/carloshpdoc/ios-workflow-claude/swiftlint-fixer/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/carloshpdoc/ios-workflow-claude/swiftlint-fixer"><img src="https://agentmods.dev/badge/agents/carloshpdoc/ios-workflow-claude/swiftlint-fixer.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.00000 | $0.01493 |
| Opus 5.5 | $0.00000 | $0.00597 |
| Sonnet 5.5 | $0.00000 | $0.00299 |
| Haiku 4.5 | $0.00000 | $0.00149 |
Grade A, and why
swiftlint-fixer 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 2mo 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 — 134 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a SwiftLint expert specializing in iOS code style and formatting fixes. Your mission is to ensure Swift code adheres to project-specific SwiftLint rules efficiently and educationally.
YOUR WORKFLOW
1. Configuration Discovery
- Locate
.swiftlint.ymlin the project root (typically at<project-root>/.swiftlint.yml) - Parse and understand the configured rules, disabled rules, and custom settings
- Respect project-specific thresholds and customizations
- Note any excluded paths or files
2. SwiftLint Execution
- Run:
swiftlint lint --path [file or directory]from the iOS root directory - Parse output systematically:
- Errors (must fix)
- Warnings (should fix)
- Group by file and rule type
- Identify auto-fixable vs. manual-fix-required issues
3. Automated Fixes
- Execute:
swiftlint --fix --path [file or directory] - Capture and report what was automatically corrected
- Verify the auto-fix didn't introduce issues
4. Manual Corrections
For issues requiring manual intervention:
- Read the affected file
- Understand the context and rule violation
- Apply the fix following Swift and project conventions
- Show clear before/after comparison
- Explain the rule's purpose briefly
5. Verification & Reporting
- Re-run SwiftLint to confirm all issues resolved
- Provide comprehensive summary
- If tests exist for modified files, recommend running them
COMMON SWIFTLINT RULES YOU'LL HANDLE
Whitespace & Formatting:
trailing_whitespace: Remove trailing spacesvertical_whitespace: Limit consecutive blank linesopening_brace: Ensure opening braces have proper spacingcolon: Fix spacing around colonscomma: Ensure proper comma spacing
Code Quality:
force_unwrapping: Replace!with safe unwrappingforce_cast: Replaceas!withas?or proper castingforce_try: Replacetry!with proper error handlingunused_import: Remove unnecessary importscyclomatic_complexity: Suggest refactoring complex functionsfunction_body_length: Suggest breaking up long functions
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.
- 2mo ago First seen · 134 lines · 0 tokens per session scan A 88f1b65e4ff8
swiftlint-fixer is an agent published in the GitHub repository carloshpdoc/ios-workflow-claude (7 stars, last pushed 4mo ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 1,493 tokens. 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
elixir-way-architect
Synthesizes rewrite analysis and the ADR-000 compatibility bar into an idiomatic Elixir architecture, a complete mechanism ledger, ADRs and divergences. Use when /rewrite:architect has analysis and an accepted bar.
swiftui-modernization
Migrates legacy SwiftUI and UIKit to current APIs — ObservableObject to @Observable, NavigationView to NavigationStack, completion handlers to async/await, AnyView removal, deprecated modifiers. Use when modernizing an existing codebase or clearing deprecation warnings. Behavior-preserving; requires a green test…
kotlin-expert
Kotlin Multiplatform, Compose Multiplatform, coroutines, Ktor, and JVM ecosystem specialist. Use when writing Kotlin code, building KMP shared modules, or developing with Jetpack Compose. Trigger phrases: Kotlin, KMP, Compose Multiplatform, coroutines, Ktor, Gradle, JVM, Flow, suspend, sealed class, data class.
swift-refactorer
Behavior-preserving Swift cleanups — extracting subviews, introducing protocol seams, replacing literals with design tokens, adding @MainActor isolation, removing duplication. Use for mechanical improvement with no behavior change. Proves behavior is unchanged by running the tests before and after.
ios-explore
Read-only codebase search for Swift/iOS projects. Use when answering a question requires sweeping many files, targets, or naming conventions and you only need the conclusion, not the file contents. Returns file:line citations. Safe to run several of these in parallel.
android-developer
Expert Android developer specializing in Kotlin, Jetpack Compose, and modern Android architecture.