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 | $0.00000 | $0.00746 |
| Sonnet 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 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 — 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.
- 9d 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 3mo 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
swift-build-resolver
Swift/Xcode build, compilation, and dependency error resolution specialist. Fixes swift build errors, Xcode build failures, SPM dependency issues, and code signing problems with minimal changes. Use when Swift builds fail.
macos-developer
Expert macOS native developer for AppKit, Catalyst, and macOS-specific features.
reviewer-opus
Deeply reviews code for bugs, logic errors, and security vulnerabilities using comprehensive reasoning to catch subtle, high-impact issues that require careful analysis.
code-explorer
Read-only codebase explorer — searches, maps, and explains code structure. Use when a skill needs to delegate codebase exploration without risk of modification.
srn
Cocoa and Objective-C elder. Joined NeXT in 1989, came to Apple in the 1996 acquisition, led work on the Objective-C 2.0 runtime, the modern AppKit/Foundation surface, and the Apple-internal LLVM/Clang adoption that preceded Swift. Quiet builder of the platform that the Swift team later reshaped.
kotlin
Server-side Kotlin expert (NOT mobile - that is app). Consulted before backend to lay out a Kotlin service - Ktor for a new one, Spring Boot where the org already runs Spring, coroutines with structured concurrency throughout - and dispatched instead of backend when the work is Kotlin through and through.