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 SethCalkins/claude-ios-swift-plugin --skill macos-spm-app-packaginggit clone --depth 1 https://github.com/SethCalkins/claude-ios-swift-pluginWrote 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/sethcalkins/claude-ios-swift-plugin/macos-spm-app-packaging)<a href="https://agentmods.dev/skills/sethcalkins/claude-ios-swift-plugin/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/sethcalkins/claude-ios-swift-plugin/macos-spm-app-packaging/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/sethcalkins/claude-ios-swift-plugin/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/sethcalkins/claude-ios-swift-plugin/macos-spm-app-packaging.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.00065 | $0.00618 |
| Opus 5.5 | $0.00026 | $0.00247 |
| Sonnet 5.5 | $0.00013 | $0.00124 |
| Haiku 4.5 | $0.00006 | $0.00062 |
Grade A, and why
macos-spm-app-packaging 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 3mo 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.
This is a copy
100% identical to macos-spm-app-packaging — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
How it starts
The opening of the file, as written. The whole thing — 41 lines — stays where its author put it; the contents beside it link to each section on GitHub.
macOS SwiftPM App Packaging (No Xcode)
Overview
Bootstrap a complete SwiftPM macOS app folder, then build, package, and run it without Xcode. Use assets/templates/bootstrap/ for the starter layout and references/packaging.md + references/release.md for packaging and release details.
Two-Step Workflow
-
Bootstrap the project folder
- Copy
assets/templates/bootstrap/into a new repo. - Rename
MyAppinPackage.swift,Sources/MyApp/, andversion.env. - Customize
APP_NAME,BUNDLE_ID, and versions.
- Copy
-
Build, package, and run the bootstrapped app
- Copy scripts from
assets/templates/into your repo (for example,Scripts/). - Build/tests:
swift buildandswift test. - Package:
Scripts/package_app.sh. - Run:
Scripts/compile_and_run.sh(preferred) orScripts/launch.sh. - Release (optional):
Scripts/sign-and-notarize.shandScripts/make_appcast.sh. - Tag + GitHub release (optional): create a git tag, upload the zip/appcast to the GitHub release, and publish.
- Copy scripts from
Templates
assets/templates/package_app.sh: Build binaries, create the .app bundle, copy resources, sign.assets/templates/compile_and_run.sh: Dev loop to kill running app, package, launch.assets/templates/build_icon.sh: Generate .icns from an Icon Composer file (requires Xcode install).assets/templates/sign-and-notarize.sh: Notarize, staple, and zip a release build.assets/templates/make_appcast.sh: Generate Sparkle appcast entries for updates.assets/templates/setup_dev_signing.sh: Create a stable dev code-signing identity.assets/templates/launch.sh: Simple launcher for a packaged .app.assets/templates/version.env: Example version file consumed by packaging scripts.assets/templates/bootstrap/: Minimal SwiftPM macOS app skeleton (Package.swift, Sources/, version.env).
Notes
- Keep entitlements and signing configuration explicit; edit the template scripts instead of reimplementing.
- Remove Sparkle steps if you do not use Sparkle for updates.
- Sparkle relies on the bundle build number (
CFBundleVersion), soBUILD_NUMBERinversion.envmust increase for each update. - For menu bar apps, set
MENU_BAR_APP=1when packaging to emitLSUIElementin Info.plist.
What ships with it
15 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/bootstrap/Package.swift 334 B
- assets/templates/bootstrap/Sources/MyApp/main.swift 173 B
- assets/templates/bootstrap/Sources/MyApp/Resources/.keep 0 B
- assets/templates/bootstrap/version.env 39 B
- assets/templates/build_icon.sh 1.5 KB runs code
- assets/templates/compile_and_run.sh 1.8 KB runs code
- assets/templates/launch.sh 767 B runs code
- assets/templates/make_appcast.sh 2.1 KB runs code
- assets/templates/package_app.sh 6.0 KB runs code
- assets/templates/setup_dev_signing.sh 1.3 KB runs code
- assets/templates/sign-and-notarize.sh 1.7 KB runs code
- assets/templates/version.env 39 B
- references/packaging.md 783 B
- references/release.md 1.2 KB
- references/scaffold.md 1.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.
- 3mo ago First seen · 41 lines · 65 tokens per session scan A 9339debc3d72
macos-spm-app-packaging is a skill published in the GitHub repository SethCalkins/claude-ios-swift-plugin (2 stars, last pushed 10mo ago), licensed MIT. It adds 65 tokens to every session and 618 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. It is 100% identical to macos-spm-app-packaging, differing in 0 lines, and is treated as a copy.
macos-spm-app-packaging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| macos-spm-app-packagingSethCalkins/claude-ios-swift-plugin | Skill | 2 | 10mo ago | MIT | A | 65 | Claude Code |
| kotlin-specialistJeffallan/claude-skills | Skill | 13k | yesterday | MIT | A | 86 | Claude Code |
| ink-custom-brush-builderandroid/skills | Skill | 11k | 9d ago | Apache-2.0 | A | 159 | Claude Code |
| swiftui-devOrkas-AI/Orkas | Skill | 7.7k | today | MIT | A | 3 | Claude Code, Codex |
| axiom-concurrencyCharlesWiltgen/Axiom | Skill | 1.3k | today | MIT | A | 49 | Claude Code |
| boutique-best-practicesmergesort/Boutique | Skill | 1.1k | 18d ago | MIT | A | 56 | Claude Code |
| waxchristopherkarani/Wax | Skill | 816 | 11d ago | Apache-2.0 | A | 76 | Codex |