macos-spm-app-packaging

macos-spm-app-packaging is a skill for Claude Code, Codex from dagba/ios-mcp. It costs 65 tokens per session (618 once invoked), scanned A, a copy of macos-spm-app-packaging, MIT.

A guide and starter setup for making macOS apps with Swift Package Manager, without an Xcode project.

In plain words
What is it for?
Use it to create a macOS app from scratch, build and test it, assemble an .app bundle, run it, and optionally sign, notarize, and publish release files.
Why use it?
It covers the extra work needed to turn Swift package build output into a runnable app bundle and prepare it for distribution.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to create a macOS app from scratch, build and test it, assemble an .app bundle, run it, and optionally sign, notarize, and publish release files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/dagba/ios-mcp/macos-spm-app-packaging
Install

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.

Any agent
npx skills add dagba/ios-mcp --skill macos-spm-app-packaging
Clone the repo
git clone --depth 1 https://github.com/dagba/ios-mcp

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for macos-spm-app-packaging

README.md
[![agentmods](https://agentmods.dev/badge/skills/dagba/ios-mcp/macos-spm-app-packaging/github.svg)](https://agentmods.dev/skills/dagba/ios-mcp/macos-spm-app-packaging)
Your own site
<a href="https://agentmods.dev/skills/dagba/ios-mcp/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/dagba/ios-mcp/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.

agentmods 80×15 button for macos-spm-app-packaging

Your own site · 80×15
<a href="https://agentmods.dev/skills/dagba/ios-mcp/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/dagba/ios-mcp/macos-spm-app-packaging.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 65 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 618 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 3mo ago against content hash 9339debc3d72, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

The scan reads SKILL.md. This mod also ships 7 executable files (assets/templates/build_icon.sh, assets/templates/compile_and_run.sh, assets/templates/launch.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

Origin

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.

skills/macos-spm-app-packaging/SKILL.md · 41 lines

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

  1. Bootstrap the project folder

    • Copy assets/templates/bootstrap/ into a new repo.
    • Rename MyApp in Package.swift, Sources/MyApp/, and version.env.
    • Customize APP_NAME, BUNDLE_ID, and versions.
  2. Build, package, and run the bootstrapped app

    • Copy scripts from assets/templates/ into your repo (for example, Scripts/).
    • Build/tests: swift build and swift test.
    • Package: Scripts/package_app.sh.
    • Run: Scripts/compile_and_run.sh (preferred) or Scripts/launch.sh.
    • Release (optional): Scripts/sign-and-notarize.sh and Scripts/make_appcast.sh.
    • Tag + GitHub release (optional): create a git tag, upload the zip/appcast to the GitHub release, and publish.

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), so BUILD_NUMBER in version.env must increase for each update.
  • For menu bar apps, set MENU_BAR_APP=1 when packaging to emit LSUIElement in Info.plist.

Read the full file on GitHub · 41 lines

Changes

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.

  1. 3mo ago First seen · 41 lines · 65 tokens per session scan A 9339debc3d72

Subscribe to this mod's changes

macos-spm-app-packaging is a skill published in the GitHub repository dagba/ios-mcp (4 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.

Related

macos-spm-app-packaging compared with skills from other repositories

macos-spm-app-packaging next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
macos-spm-app-packagingdagba/ios-mcpSkill410mo agoMITA65Claude Code, Codex
kotlin-specialistJeffallan/claude-skillsSkill13kyesterdayMITA86Claude Code
wear-compose-m3android/skillsSkill11k9d agoApache-2.0A108Claude Code
ink-custom-brush-builderandroid/skillsSkill11k9d agoApache-2.0A159Claude Code
swiftui-devOrkas-AI/OrkasSkill7.7ktodayMITA3Claude Code, Codex
build-android-binarymicrosoft/power-platform-skillsSkill1.2ktodayMITA150Claude Code
kotlin-androidericrisco/rsc-harnessSkill695yesterdayMITA78Claude Code, Codex