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 build-and-verifygit 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/build-and-verify)<a href="https://agentmods.dev/skills/daveebbelaar/bama/build-and-verify"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/build-and-verify/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/build-and-verify"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/build-and-verify.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.00063 | $0.01541 |
| Opus 5.5 | $0.00025 | $0.00616 |
| Sonnet 5.5 | $0.00013 | $0.00308 |
| Haiku 4.5 | $0.00006 | $0.00154 |
Grade A, and why
build-and-verify 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 — 154 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Build and verify
A change is done when four things are true:
./build.shfinishes with no errors.- You looked at the light and dark snapshots of every page you touched.
- The snapshots match what the user story or reference screenshot asks for.
- The grid checks pass (
layout-gridskill).
App not made from the new-mac-app template (Xcode, XcodeGen, a menu bar
utility, Swift 5)? Map the commands below with
existing-app.md first.
Do not report a UI change as done from the code alone. SwiftUI code that compiles can still render an empty sidebar, clipped text, or unreadable dark mode.
1. Build
./build.sh # release build, installs ~/Applications/<AppName>.app
./build.sh --debug # faster build while iterating
./build.sh --open # also restarts the app so the user sees the new build
Read the errors, fix them, and build again. Fix the first error first: later
errors often come from it. If a new file is "not in scope" right after you
created it, run swift package clean --scratch-path ~/Library/Developer/<AppName>/build.
2. Snapshot
Run the installed binary directly with a test database and a folder for the images. The app opens, walks through every sidebar page and every Settings tab in light and dark mode, saves one PNG per page and mode, and quits.
tools/snap.sh
# SNAPSHOT /tmp/<AppName>-shots/all-light.png
# ...
# SNAPSHOT done /tmp/<AppName>-shots
tools/snap.sh deletes the old test store (with its -wal and -shm
files) and the saved window state first, then runs with sample data
(APP_SEED=1). Without that, seed data goes stale, and one crashed run
leaves a "reopen windows?" alert that hangs every later run.
Use APP_SNAPSHOT_PAGES=today,inbox to limit the pages. Add settings to
include the Settings tabs.
In every image, look for three bugs agents often miss: a focus ring or
selected text that nobody asked for, a scroll bar with nothing to scroll,
and an empty band under short content. The fixes are in mac-design,
"Windows open calm".
What ships with it
2 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.
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 · 154 lines · 63 tokens per session scan A 0b5bcb4c2791
build-and-verify is a skill published in the GitHub repository daveebbelaar/bama (2,007 stars, last pushed 25d ago), licensed MIT. It adds 63 tokens to every session and 1,541 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-15.
build-and-verify compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| build-and-verifydaveebbelaar/bama | Skill | 2.0k | 25d ago | MIT | A | 63 | Claude Code, Codex |
| test-native-extensionmicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 211 | Claude Code |
| test-sitemicrosoft/power-platform-skills | Skill | 1.2k | today | MIT | A | 46 | Claude Code |
| qaSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 56 | Claude Code |
| live-previewSethGammon/Citadel | Skill | 943 | 3d ago | MIT | A | 40 | Claude Code |
| integration-e2e-testingshinpr/claude-code-workflows | Skill | 725 | yesterday | MIT | A | 40 | Claude Code |
| recipe-add-integration-testsshinpr/claude-code-workflows | Skill | 725 | yesterday | MIT | A | 19 | Claude Code |