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 jeremieb/swift-unit-test-instructions --skill swift-project-setupgit 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/skills/jeremieb/swift-unit-test-instructions/swift-project-setup)<a href="https://agentmods.dev/skills/jeremieb/swift-unit-test-instructions/swift-project-setup"><img src="https://agentmods.dev/badge/skills/jeremieb/swift-unit-test-instructions/swift-project-setup/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/jeremieb/swift-unit-test-instructions/swift-project-setup"><img src="https://agentmods.dev/badge/skills/jeremieb/swift-unit-test-instructions/swift-project-setup.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.00080 | $0.01308 |
| Opus 5 | $0.00040 | $0.00654 |
| Sonnet 5 | $0.00016 | $0.00262 |
| Haiku 4.5 | $0.00008 | $0.00131 |
Grade A, and why
swift-project-setup 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 — 193 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Swift Project Setup
Instructions
Step 1: Gather Requirements
Ask the user (if not already provided):
- Project name and bundle identifier
- Target platforms (iOS, macOS, watchOS, visionOS)
- Minimum iOS version
- UI framework: SwiftUI, UIKit, or both
- Testing mode: enterprise or indie (see
references/inswift-testingskill) - Persistence: None / SwiftData (iOS 17+) / CoreData
- Any SPM dependencies to add upfront
Step 2: Define Folder Structure
Ask if not already provided: SwiftUI, UIKit, or Mixed (SwiftUI + UIKit)?
Then load the matching reference:
- SwiftUI →
references/structure-swiftui.md - UIKit →
references/structure-uikit.md - Mixed →
references/structure-mixed.md
Apply the template exactly. Then consult references/file-naming.md for group naming rules and the "What Never Goes Where" table before placing any file.
Step 3: Generate Architecture Skeleton
Create core protocol files:
// Core/Protocols/ViewModelProtocol.swift
import Foundation
@MainActor
protocol ViewModelProtocol: AnyObject {
func onAppear() async
}
// Core/Protocols/RepositoryProtocol.swift
import Foundation
protocol RepositoryProtocol {
associatedtype Model
func fetch() async throws -> [Model]
}
Generate a placeholder feature (e.g., Home):
// Features/Home/HomeView.swift
import SwiftUI
struct HomeView: View {
@State private var viewModel = HomeViewModel()
var body: some View {
Text("Hello, \(viewModel.title)")
.task { await viewModel.onAppear() }
}
}
#Preview {
HomeView()
}
// Features/Home/HomeViewModel.swift
import Foundation
import Observation
@MainActor
@Observable
final class HomeViewModel {
private(set) var title: String = ""
func onAppear() async {
title = "World"
}
}
Step 4: CLAUDE.md Setup
Copy CLAUDE.md from swift-unit-test-instructions into the project root.
Fill in the Project Configuration block:
- Project Name
- Testing Mode (enterprise or indie)
- UI Framework
- Min iOS Version
What ships with it
6 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.
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 · 193 lines · 80 tokens per session scan A ed400c95d993
swift-project-setup is a skill published in the GitHub repository jeremieb/swift-unit-test-instructions (5 stars, last pushed 6mo ago), licensed MIT. It adds 80 tokens to every session and 1,308 once invoked, about $0.0004 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 skills, from other repositories
xcode-makefiles
Install strict Xcode Makefile tooling for iOS/macOS projects, including build/run/test scripts with AGENTNAME-based per-agent isolation under build/. Use when a project needs reproducible local CLI builds without full app scaffolding.
kmp-mvi-setup
Interactive skill for scaffolding a complete Kotlin Multiplatform (KMP) project using MVI architecture. Covers State/Event/Effect pattern, Compose Multiplatform, DI, type-safe navigation, and image loading. Asks user for preferences before generating any code.
neo-swift-ui
Use this skill when building, debugging, refactoring, or reviewing SwiftUI apps or views for iOS 16+ and related Apple platforms. Trigger for NavigationStack, Observation/state flow, view composition, previews, performance, accessibility, and SwiftUI architecture.
neo-swift
Use this skill when writing, reviewing, debugging, or modernizing Swift code for iOS, macOS, server-side Swift, or shared packages. Trigger for Swift 5+ language features, structured concurrency, memory safety, protocols/generics, SwiftUI integration, and performance-sensitive code.
kotlin-specialist
Provides idiomatic Kotlin implementation patterns including coroutine concurrency, Flow stream handling, multiplatform architecture, Compose UI construction, Ktor server setup, and type-safe DSL design. Use when building Kotlin applications requiring coroutines, multiplatform development, or Android with Compose.…
kotlin-patterns
Kotlin: coroutines, Flow, sealed/data classes, null safety, Ktor, Compose, KMP. Triggers: Kotlin, coroutine, Flow, suspend, Ktor, Jetpack Compose, KMP, kotlinx.