BAMA is a set of agent skills for researching, copying, designing, building, optimizing, and testing native macOS applications with Swift and SwiftUI. It helps developers turn an existing app or an idea into a Mac app while using local data and avoiding the Xcode graphical interface. The catalogue entries are BAMA’s skills, instruction, and plugin for guiding that workflow.
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 daveebbelaar/bama --skill new-mac-appgit clone --depth 1 https://github.com/daveebbelaar/bamaWrote 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/daveebbelaar/bama/new-mac-app)<a href="https://agentmods.dev/skills/daveebbelaar/bama/new-mac-app"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/new-mac-app/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/daveebbelaar/bama/new-mac-app"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/new-mac-app.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket pass
- Snyk pass
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.00059 | $0.01267 |
| Opus 5.5 | $0.00024 | $0.00507 |
| Sonnet 5.5 | $0.00012 | $0.00253 |
| Haiku 4.5 | $0.00006 | $0.00127 |
Grade A, and why
new-mac-app 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 15d 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.
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
New Mac app
The template builds and runs as is. The first build proves the toolchain works before you write feature code.
What the template is
A Swift package with one executable target, plus a script that wraps the
binary in a real .app bundle. An agent can read and edit every file.
<AppName>/
Package.swift macOS 26, Swift 6.2 tools, main-actor default isolation
Info.plist.in bundle id, name, icon, minimum macOS
Icon/AppIcon.icon the app icon: Icon Composer file, JSON plus SVG layers
build.sh swift build -> .app bundle -> codesign -> ~/Applications
CLAUDE.md build, check, and design rules for agents
Sources/<AppName>/
App.swift window, menus, Settings, database location
Models.swift SwiftData models, sidebar pages, AppModel
ContentView.swift NavigationSplitView: sidebar, list, detail
Snapshot.swift APP_SNAPSHOT mode: PNG and layout file per page and Settings tab, light and dark
UI/Theme.swift accent colors, saved choice, accent tokens
SettingsView.swift Settings window: one tab per topic, sized to content
UI/AppearanceSettings.swift Settings: accent picker (mode follows the Mac)
UI/WindowBehavior.swift no focus ring on open, fit to content
UI/Grid.swift the 4 pt spacing scale, layout probes, grid overlay
tools/
grid-lint.sh flags spacing numbers off the 4 pt grid
check-layout.swift checks the layout files from snapshot mode
make_icon.sh Icon/AppIcon.icon -> Resources/Assets.car + AppIcon.icns (actool)
icon_review.sh renders every icon look into one PNG (ictool)
icon_sheet.swift joins the renders for icon_review.sh
Steps
-
Check the toolchain:
swift --version # Swift 6.2 or later sw_vers -productVersion # 26.0 or laterOn macOS 15, set
.macOS(.v15)inPackage.swiftandLSMinimumSystemVersionto 15 inInfo.plist.in, and skip Liquid Glass APIs.
What ships with it
30 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.
- agents/openai.yaml 91 B
- scripts/new-app.sh 2.3 KB runs code
- template/.gitignore 80 B
- template/build.sh 2.6 KB runs code
- template/CLAUDE.md 3.7 KB
- template/Icon/AppIcon.icon/Assets/back.svg 172 B
- template/Icon/AppIcon.icon/Assets/front.svg 173 B
- template/Icon/AppIcon.icon/icon.json 481 B
- template/Info.plist.in 926 B
- template/Package.swift 621 B
- template/Sources/__APP_NAME__/App.swift 3.3 KB
- template/Sources/__APP_NAME__/ContentView.swift 2.9 KB
- template/Sources/__APP_NAME__/Models.swift 1.6 KB
- template/Sources/__APP_NAME__/SeedData.swift 1.5 KB
- template/Sources/__APP_NAME__/SelfTest.swift 2.6 KB
- template/Sources/__APP_NAME__/SettingsView.swift 1.6 KB
- template/Sources/__APP_NAME__/Snapshot.swift 5.5 KB
- template/Sources/__APP_NAME__/UI/AppearanceSettings.swift 6.1 KB
- template/Sources/__APP_NAME__/UI/Grid.swift 5.7 KB
- template/Sources/__APP_NAME__/UI/Theme.swift 6.1 KB
- template/Sources/__APP_NAME__/UI/WindowBehavior.swift 2.8 KB
- template/Sources/__APP_NAME__Kit/ItemTitle.swift 517 B
- template/Tests/__APP_NAME__KitTests/ItemTitleTests.swift 300 B
- template/tools/check-layout.swift 6.4 KB
- template/tools/grid-lint.sh 1.2 KB runs code
- template/tools/icon_review.sh 1023 B runs code
- template/tools/icon_sheet.swift 1.6 KB
- template/tools/make_icon.sh 1.2 KB runs code
- template/tools/selftest.sh 340 B runs code
- template/tools/snap.sh 778 B runs code
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.
- 15d ago First seen · 121 lines · 59 tokens per session scan A f2c76bf9f484
new-mac-app is a skill published in the GitHub repository daveebbelaar/bama (2,007 stars, last pushed 25d ago), licensed MIT. It adds 59 tokens to every session and 1,267 once invoked, about $0.0002 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-15.
new-mac-app compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| new-mac-appdaveebbelaar/bama | Skill | 2.0k | 25d ago | MIT | A | 59 | Claude Code, Codex |
| build-android-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 150 | Claude Code |
| build-ios-binarymicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | C | 200 | Claude Code |
| swiftui-expertjohnkozaris/jko-claude-plugins | Skill | 11 | 24d ago | MIT | A | 133 | Claude Code |
| swifthmj1026/dhpk | Skill | 2 | today | MIT | A | 71 | Claude Code, Codex |
| bootstrap-xcode-workspacegaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 36 | Claude Code, Codex |
| build-kotlin-androidgaelic-ghost/socket | Skill | 11 | 3mo ago | Apache-2.0 | A | 66 | Claude Code |