Borrowing it
Nothing to install: this file belongs to bsreeram08/chowser. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/bsreeram08/chowser/main/.agents/skills/macos-spm-app-packaging/SKILL.mdgit clone --depth 1 https://github.com/bsreeram08/chowserWrote 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/bsreeram08/chowser/macos-spm-app-packaging)<a href="https://agentmods.dev/skills/bsreeram08/chowser/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/bsreeram08/chowser/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/bsreeram08/chowser/macos-spm-app-packaging"><img src="https://agentmods.dev/badge/skills/bsreeram08/chowser/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 4d 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.
Copies of this mod
2 near-identical copies found in the catalogue:
- macos-spm-app-packaging — 100% identical, 0 lines differ
- macos-spm-app-packaging — 100% identical, 0 lines differ
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.
- 4d ago First seen · 41 lines · 65 tokens per session scan A 9339debc3d72
macos-spm-app-packaging is a skill published in the GitHub repository bsreeram08/chowser (12 stars, last pushed 1mo 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. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-28.
macos-spm-app-packaging compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| macos-spm-app-packagingbsreeram08/chowser | Skill | 12 | 1mo ago | MIT | A | 65 | Claude Code, Codex |
| release-kotlin-librarychrisbanes/skills | Skill | 1.2k | yesterday | Apache-2.0 | A | 46 | Claude Code |
| dart-package-maintenancekevmoo/dash_skills | Skill | 149 | yesterday | Apache-2.0 | A | 47 | Claude Code, Codex |
| set-up-installerscboone/agent-harness-plugins | Skill | 3 | today | MIT | B | 59 | Claude Code |
| kmp-library-publishingronjunevaldoz/kmp-agent-skills | Skill | 7 | yesterday | none | A | 89 | Claude Code |
| ship-swift-libraryintrusive-memory/skills | Skill | 5 | 12d ago | none | A | 71 | Claude Code |
| toggle-sibling-librariesintrusive-memory/skills | Skill | 5 | 12d ago | none | A | 162 | Claude Code |