macos-app-scaffold

macos-app-scaffold is a skill for Claude Code from lifedever/skills-plugin. It costs 120 tokens per session (2,623 once invoked), scanned A, original, MIT.

A starter project for building native macOS apps with SwiftUI, Apple’s interface framework, and SwiftData, Apple’s data-storage framework. It includes project structure, build scripts, localization, menu-bar behavior, automatic updates, and a landing-page template.

In plain words
What is it for?
Starting a new SwiftUI app, configuring Swift Package Manager, preparing development and release builds, adding in-app translations, retaining menu-bar apps, and connecting updates to GitHub Releases.
Why use it?
It removes much of the repeated setup needed before developing a production-ready Mac app.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions CLAUDE.md; mentions Claude Code.

Part of the lifedever plugin — 15 skills shipped together

Good fit Starting a new SwiftUI app, configuring Swift Package Manager, preparing development and release builds, adding in-app translations, retaining menu-bar apps, and connecting updates to GitHub Releases.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lifedever/skills-plugin/macos-app-scaffold
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 lifedever/skills-plugin --skill macos-app-scaffold
Clone the repo
git clone --depth 1 https://github.com/lifedever/skills-plugin

Made for: Claude Code.

Or install lifedever, the plugin that ships this one along with the rest of its 15 skills.

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-app-scaffold

README.md
[![agentmods](https://agentmods.dev/badge/skills/lifedever/skills-plugin/macos-app-scaffold.svg)](https://agentmods.dev/skills/lifedever/skills-plugin/macos-app-scaffold)
Your own site
<a href="https://agentmods.dev/skills/lifedever/skills-plugin/macos-app-scaffold"><img src="https://agentmods.dev/badge/skills/lifedever/skills-plugin/macos-app-scaffold.svg" alt="Measured on agentmods" height="20"></a>
Per session 120 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,623 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 81
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Data Exfiltration · line 116
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Rogue Agent · line 165
    Skill establishes unauthorized persistence across sessions via cron jobs, startup scripts, or state files. Session persistence allows an attacker to maintain access beyond the current interaction.
    Fix: Remove any persistence mechanisms (cron jobs, startup scripts, state files). Skills should not maintain state across sessions without explicit user consent.
  • medium Excessive Agency · line 192
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found 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.00120 $0.02623
Opus 5 $0.00060 $0.01311
Sonnet 5 $0.00024 $0.00525
Haiku 4.5 $0.00012 $0.00262

Measured 8d ago against content hash 27a6bd09c479, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

macos-app-scaffold 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 8d 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.

skills/macos-app-scaffold/SKILL.md · 248 lines

How it starts

The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Create a macOS App Project

Generates a production-grade native macOS app scaffold based on best practices distilled from shipped projects like TaskTick.

Pre-flight Checks

Verify the development environment before starting. Stop and guide the user to install anything that's missing:

xcodebuild -version 2>/dev/null | head -1
swift --version 2>/dev/null | head -1
  • Xcode >= 16 (i.e. xcodebuild -version reports Xcode 16.x or higher). The scaffold uses swift-tools-version: 6.0; Xcode 15 will fail SPM resolution. Xcode 15 users should upgrade, or confirm they're OK downgrading the generated project to Swift 5.9.
  • Swift >= 6.0 (same reason as above)
  • Generation location defaults to the user's home directory. Confirm with the user first if they want a different location.

Usage

/macos-app-scaffold <AppName> [--bundle-id com.example.app] [--github user/repo]
  • AppName: required, PascalCase (e.g. MyApp)
  • --bundle-id: optional, defaults to com.example.<AppName> (please change to your own reverse domain on first use)
  • --github: optional, GitHub repo used for auto-update, format <owner>/<repo>

Generated Output

Generates the project structure below. Ask the user for the creation location first (default: ~/<AppName>-app/).

Project Structure

<AppName>-app/
├── Package.swift
├── Sources/
│   ├── App/
│   │   ├── <AppName>App.swift          # @main, multi-window Scene, ModelContainer
│   │   ├── AppDelegate.swift           # Cmd+Q → hide to menu bar, shouldReallyQuit
│   │   └── Localization.swift          # L10n.tr() helper + LanguageManager
│   ├── Engine/
│   │   ├── UpdateChecker.swift         # GitHub Releases API, DMG download/install/restart
│   │   └── NotificationManager.swift
│   ├── Models/
│   │   └── (empty directory, user adds SwiftData models here)
│   ├── Views/
│   │   ├── Main/
│   │   │   └── MainWindowView.swift    # NavigationSplitView layout
│   │   ├── MenuBar/
│   │   │   └── MenuBarView.swift       # MenuBarExtra popover content
│   │   ├── Settings/
│   │   │   └── SettingsView.swift      # TabView: General, Updates, About
│   │   └── Components/
│   │       ├── GlassCard.swift         # macOS 26 liquid glass + fallback
│   │       └── PointerCursor.swift     # .pointerCursor() pointing-hand modifier
│   ├── Localization/
│   │   ├── en.lproj/
│   │   │   └── Localizable.strings
│   │   └── zh-Hans.lproj/
│   │       └── Localizable.strings
│   └── Resources/
│       └── AppIcon.icns                # placeholder icon, user replaces
├── Tests/
│   └── <AppName>Tests.swift
├── scripts/
│   ├── build-dev.sh                    # dev build: grayscale icon, separate bundle ID
│   └── release.sh                      # release: arm64 + x86_64 DMG, upload to GitHub Release
├── docs/
│   └── index.html                      # static landing page, auto-deployed via GitHub Pages
├── .gitignore
├── LICENSE                             # ask user which open-source license to use
├── CLAUDE.md                           # Claude Code project documentation
└── .claude/
    └── skills/
        └── release/
            └── SKILL.md                # /release <version> release skill

Read the full file on GitHub · 248 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. 8d ago First seen · 248 lines · 120 tokens per session scan A 27a6bd09c479

Subscribe to this mod's changes

macos-app-scaffold is a skill published in the GitHub repository lifedever/skills-plugin (11 stars, last pushed 17d ago), licensed MIT. It adds 120 tokens to every session and 2,623 once invoked, about $0.0006 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-30.

Related

Other skills, from other repositories

orca-emulator-android

Android device and emulator control from inside Orca over adb, with the live device view in Orca's emulator pane. Use when driving an adb-connected emulator or phone on Windows, Linux, or macOS: booting AVDs, taps, swipes, typing, hardware buttons, rotation, app install and launch, runtime permissions, the…

stablyai/orca · 102 tokens

android-tombstone-symbolication

Symbolicate the .NET runtime frames in an Android tombstone file. Extracts BuildIds and PC offsets from the native backtrace, downloads debug symbols from the Microsoft symbol server, and runs llvm-symbolizer to produce function names with source file and line numbers. USE FOR triaging a .NET MAUI or Mono Android app…

dotnet/skills · 176 tokens

dogfood

Systematically explore and test a mobile app on iOS/Android with agent-device to find bugs, UX issues, and other problems. Use when asked to dogfood, QA, exploratory test, find issues, bug hunt, or test this app on mobile.

callstack/agent-device · 55 tokens

winapp-maui

Package and sign .NET MAUI Windows apps with winapp, resolving the resizetizer manifest dependency. Use when packaging or signing a .NET MAUI Windows app, building a MAUI MSIX or signed unpackaged build in CI, or fixing 'manifest contains unresolved placeholders ($placeholder$)' errors from winapp package.

microsoft/winappCli · 71 tokens

apple-search-ads

When the user wants to set up, optimize, or scale Apple Search Ads (ASA) campaigns — including keyword bidding, match types, campaign structure, Creative Product Sets, CPP routing, and ROAS optimization. Use when the user mentions "Apple Search Ads", "ASA", "Search Ads", "Search tab ads", "Today tab ads", "CPT"…

Eronred/aso-skills · 127 tokens

android-pentest

A guide for authorized security testing of Android apps, covering APK inspection, runtime testing, traffic capture, code review, and function hooking. An APK is the installable package used by an Android app.

Netw0rkNoob/VulnClaw · 32 tokens