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 XueshiQiao/macos-app-scaffold --skill macos-app-scaffold-newgit clone --depth 1 https://github.com/XueshiQiao/macos-app-scaffoldWrote 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/xueshiqiao/macos-app-scaffold/macos-app-scaffold-new)<a href="https://agentmods.dev/skills/xueshiqiao/macos-app-scaffold/macos-app-scaffold-new"><img src="https://agentmods.dev/badge/skills/xueshiqiao/macos-app-scaffold/macos-app-scaffold-new/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/xueshiqiao/macos-app-scaffold/macos-app-scaffold-new"><img src="https://agentmods.dev/badge/skills/xueshiqiao/macos-app-scaffold/macos-app-scaffold-new.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.00039 | $0.15987 |
| Opus 5 | $0.00019 | $0.07994 |
| Sonnet 5 | $0.00008 | $0.03197 |
| Haiku 4.5 | $0.00004 | $0.01599 |
Grade C, and why
macos-app-scaffold-new scanned grade C with 1 finding 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 12d 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
If the user wants the project locally without creating a GitHub repo yet, use `gh repo clone` + delete-remote pattern, or `git clone --depth=1` + `rm -rf .git && git init`. How it starts
The opening of the file, as written. The whole thing — 1,580 lines — stays where its author put it; the contents beside it link to each section on GitHub.
New macOS App Scaffold
Create a production-ready macOS application project. Walk the user through interactive choices, then generate all files.
Arguments
$ARGUMENTS[0]= App name (e.g.,MyApp)$ARGUMENTS[1]= Bundle ID (e.g.,me.xueshi.myapp)
If arguments are missing, ask the user before proceeding.
Interactive Flow
Ask questions in this exact order. Present each step clearly with numbered/lettered options and defaults in bold. Wait for user response before proceeding to the next step. You may combine steps 3 and 4 into a single message if appropriate, presenting them as a checklist.
Step 0: Generation strategy — template repo vs from-scratch (ask first)
Ask the user:
I can scaffold this two ways: A) From the template repo (default, fastest, fewest tokens) — clones
XueshiQiao/macos-app-starterand applies a small rename + customization diff. Best when your needs match the template's flavor (Menu Bar + Window hybrid, Sparkle, signed CI, full i18n, MIT, no sandbox). B) From scratch — generates every file from the templates in this skill. Best when your archetype/feature mix is far from the template (e.g., Menu Bar only, no Sparkle, sandboxed, no localization).Which would you like? (default A)
If the user picks A (template), follow "Generation Path A: Template Clone" below — most steps simplify to "delete the parts you don't need" and "rename".
If the user picks B (from-scratch), follow the existing Step 1 → Step 5 flow and the Generation Rules section.
The template's exact flavor (so you can judge fit on the user's behalf):
- Archetype: Menu Bar + Window (hybrid)
- Sandbox: No
- SPM deps: Sparkle, KeyboardShortcuts, Aptabase
- Auto-update: Sparkle
- Background helper: None
- Languages: English + Simplified Chinese
- License: MIT
- Cask: Draft (template_only topology)
- CI/CD: Two-track signed/unsigned (workflow file is in the template repo)
If 5+ of these don't match what the user wants, recommend B.
What ships with it
26 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.
- templates/agent/entitlements.snippet.xml 930 B
- templates/agent/HelperMain.swift 3.8 KB
- templates/agent/HelperManager.swift 3.4 KB
- templates/agent/HelperProtocol.swift 1.1 KB
- templates/agent/LaunchAgent.plist 2.0 KB
- templates/agent/project.yml.snippet 2.2 KB
- templates/agent/README.md 3.3 KB
- templates/ci/build.yml 8.5 KB
- templates/ci/README.md 4.3 KB
- templates/daemon/entitlements.snippet.xml 930 B
- templates/daemon/HelperMain.swift 4.2 KB
- templates/daemon/HelperManager.swift 5.7 KB
- templates/daemon/HelperProtocol.swift 1.2 KB
- templates/daemon/LaunchDaemon.plist 2.3 KB
- templates/daemon/project.yml.snippet 2.3 KB
- templates/daemon/README.md 6.8 KB
- templates/screen-recording/README.md 8.9 KB
- templates/screen-recording/ScreenRecordingPermission.swift 6.3 KB
- templates/screen-recording/ScreenRecordingPromptView.swift 3.2 KB
- templates/settings/AboutPage.swift 4.1 KB
- templates/settings/GeneralPage.swift 4.0 KB
- templates/settings/LocalizationOverride.swift 6.5 KB
- templates/settings/README.md 12 KB
- templates/settings/SettingsChrome.swift 12 KB
- templates/settings/SettingsStore.swift 5.1 KB
- templates/settings/SettingsWindowController.swift 4.2 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.
- 12d ago First seen · 1,580 lines · 39 tokens per session scan C 5e173d391e90
macos-app-scaffold-new is a skill published in the GitHub repository XueshiQiao/macos-app-scaffold (46 stars, last pushed 26d ago), licensed MIT. It adds 39 tokens to every session and 15,987 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
Other skills, from other repositories
wear-compose-m3
Expert guidance for working with Wear OS Compose Material3. Use this skill when creating, updating, or migrating Wear OS projects. This includes the androidx.wear.compose.material3, androidx.wear.compose.foundation, and androidx.wear.compose.navigation3 libraries. Also working with core components such as AppScaffold…
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.…
build-android-binary
Compile a PAM control's Android Kotlin module into the runtime-loadable DEX for a .ppmplugin. Creates a staged Gradle build with the pinned wrapper and react-android compile dependency, verifies manifest/module/package alignment and runtime-loading constraints, builds the release AAR, then runs d8 --min-api 24. Writes…
swiftui-dev
Use this skill for SwiftUI development, architecture, structure, performance, and Apple native app profiling. It combines.
android-navigation-3
Install and migrate to Jetpack Navigation 3. Use when implementing Navigation 3 patterns including NavDisplay, NavKey routes, deep links, multiple backstacks, scenes (dialogs, bottom sheets), or migrating from Navigation 2.
mobiai-kmp
Use when working on a Kotlin Multiplatform project — shared code, expect/actual declarations, platform-specific implementations, building and testing.