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 skills add pproenca/dot-skills --skill swift-optimisegit clone --depth 1 https://github.com/pproenca/dot-skillsWrote 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/skills/pproenca/dot-skills/swift-optimise)<a href="https://agentmods.dev/skills/pproenca/dot-skills/swift-optimise"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/swift-optimise/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/skills/pproenca/dot-skills/swift-optimise"><img src="https://agentmods.dev/badge/skills/pproenca/dot-skills/swift-optimise.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00077 | $0.01111 |
| Opus 5.5 | $0.00031 | $0.00444 |
| Sonnet 5.5 | $0.00015 | $0.00222 |
| Haiku 4.5 | $0.00008 | $0.00111 |
Grade A, and why
swift-optimise 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 — 85 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Apple Swift/SwiftUI Performance Optimization Best Practices
Comprehensive guide for Swift and SwiftUI performance optimization. Contains 19 rules across 3 categories covering modern concurrency, render performance, and animation performance. Targets iOS 26 / Swift 6.2 with @Observable and Swift 6 strict concurrency.
Clinic Architecture Contract (iOS 26 / Swift 6.2)
All guidance in this skill assumes the clinic modular MVVM-C architecture:
- Feature modules import
Domain+DesignSystemonly (neverData, never sibling features) - App target is the convergence point and owns
DependencyContainer, concrete coordinators, and Route Shell wiring Domainstays pure Swift and defines models plus repository,*Coordinating,ErrorRouting, andAppErrorcontractsDataowns SwiftData/network/sync/retry/background I/O and implements Domain protocols- Read/write flow defaults to stale-while-revalidate reads and optimistic queued writes
- ViewModels call repository protocols directly (no default use-case/interactor layer)
When to Apply
Reference these guidelines when:
- Migrating to Swift 6 strict concurrency (Sendable, actor isolation)
- Replacing Combine publishers with async/await
- Implementing @MainActor isolation and actor-based concurrency
- Decomposing views to reduce state invalidation blast radius
- Optimizing scroll and render performance with lazy containers
- Using Canvas/TimelineView for high-performance rendering
- Profiling with SwiftUI Instruments before optimizing
- Building performant spring animations and transitions
Rule Categories by Priority
| Priority | Category | Impact | Prefix |
|---|---|---|---|
| 1 | Concurrency & Async | CRITICAL | conc- |
| 2 | Render & Scroll Performance | HIGH | perf- |
| 3 | Animation Performance | MEDIUM | anim- |
Quick Reference
1. Concurrency & Async (CRITICAL)
conc-combine-to-async- Replace Combine publishers with async/awaitconc-mainactor-isolation- Use @MainActor instead of DispatchQueue.mainconc-swift6-sendable- Adopt Sendable and Swift 6 strict concurrencyconc-task-id-pattern- Use .task(id:) for reactive data loadingconc-actor-for-shared-state- Replace lock-based shared state with actorsconc-asyncsequence-streams- Replace NotificationCenter observers with AsyncSequence
What ships with it
22 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/templates/_template.md 1007 B
- metadata.json 1.0 KB
- references/_sections.md 1005 B
- references/anim-gesture-driven.md 3.1 KB
- references/anim-matchedgeometry.md 3.8 KB
- references/anim-spring.md 2.6 KB
- references/anim-transition-effects.md 1.7 KB
- references/anim-with-animation.md 2.3 KB
- references/conc-actor-for-shared-state.md 1.9 KB
- references/conc-asyncsequence-streams.md 2.2 KB
- references/conc-combine-to-async.md 3.3 KB
- references/conc-mainactor-isolation.md 2.5 KB
- references/conc-swift6-sendable.md 3.0 KB
- references/conc-task-id-pattern.md 2.6 KB
- references/perf-async-image.md 3.0 KB
- references/perf-canvas-timeline.md 3.5 KB
- references/perf-drawinggroup.md 3.5 KB
- references/perf-equatable-views.md 4.4 KB
- references/perf-instruments-profiling.md 3.4 KB
- references/perf-lazy-containers.md 3.1 KB
- references/perf-task-modifier.md 2.7 KB
- references/perf-view-decomposition.md 4.6 KB
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 · 85 lines · 77 tokens per session scan A 8d154b68e4b3
swift-optimise is a skill published in the GitHub repository pproenca/dot-skills (231 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 1,111 once invoked, about $0.0003 per session on Opus 5.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-09-03.
swift-optimise compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swift-optimisepproenca/dot-skills | Skill | 231 | 3mo ago | MIT | A | 77 | Claude Code, Codex |
| kotlin-specialistJeffallan/claude-skills | Skill | 13k | today | MIT | A | 86 | Claude Code |
| wear-compose-m3android/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 108 | Claude Code |
| ink-custom-brush-builderandroid/skills | Skill | 11k | 8d ago | Apache-2.0 | A | 159 | Claude Code |
| swiftui-devOrkas-AI/Orkas | Skill | 8.1k | today | MIT | A | 3 | Claude Code, Codex |
| build-android-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 150 | Claude Code |
| kotlin-androidericrisco/rsc-harness | Skill | 691 | 6d ago | MIT | A | 78 | Claude Code, Codex |