build-and-verify

build-and-verify is a skill for Claude Code, Codex from daveebbelaar/bama. It costs 63 tokens per session (1,541 once invoked), scanned A, original, MIT.

A command-line build and visual-check workflow for SwiftUI macOS apps. It builds and installs the app, then captures light and dark screenshots of its pages.

In plain words
What is it for?
Use it after interface changes, when a build fails, or when you need to run the app and inspect screenshots before calling the change complete.
Why use it?
It catches build errors and visual problems that source code alone cannot reveal, such as clipped text, empty areas, or unreadable dark-mode screens.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the bama plugin — 21 skills shipped together

Good fit Use it after interface changes, when a build fails, or when you need to run the app and inspect screenshots before calling the change complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daveebbelaar/bama/build-and-verify
About the project

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.

daveebbelaar/bama · 2,007 stars · on GitHub

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 daveebbelaar/bama --skill build-and-verify
Clone the repo
git clone --depth 1 https://github.com/daveebbelaar/bama

Made for: Claude Code, Codex.

Or install bama, the plugin that ships this one along with the rest of its 21 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 build-and-verify

README.md
[![agentmods](https://agentmods.dev/badge/skills/daveebbelaar/bama/build-and-verify/github.svg)](https://agentmods.dev/skills/daveebbelaar/bama/build-and-verify)
Your own site
<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.

agentmods 80×15 button for build-and-verify

Your own site · 80×15
<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>
Per session 63 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,541 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
  • Socket pass 27 Oct 2026
  • Snyk pass 27 Oct 2026
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.00063 $0.01541
Opus 5.5 $0.00025 $0.00616
Sonnet 5.5 $0.00013 $0.00308
Haiku 4.5 $0.00006 $0.00154

Measured 15d ago against content hash 0b5bcb4c2791, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

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.

skills/ship/build-and-verify/SKILL.md · 154 lines

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:

  1. ./build.sh finishes with no errors.
  2. You looked at the light and dark snapshots of every page you touched.
  3. The snapshots match what the user story or reference screenshot asks for.
  4. The grid checks pass (layout-grid skill).

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".

Read the full file on GitHub · 154 lines

Files

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.

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. 15d ago First seen · 154 lines · 63 tokens per session scan A 0b5bcb4c2791

Subscribe to this mod's changes

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.

Related

build-and-verify compared with skills from other repositories

build-and-verify next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
build-and-verifydaveebbelaar/bamaSkill2.0k25d agoMITA63Claude Code, Codex
test-native-extensionmicrosoft/power-platform-skillsSkill1.2ktodayMITA211Claude Code
test-sitemicrosoft/power-platform-skillsSkill1.2ktodayMITA46Claude Code
qaSethGammon/CitadelSkill9433d agoMITA56Claude Code
live-previewSethGammon/CitadelSkill9433d agoMITA40Claude Code
integration-e2e-testingshinpr/claude-code-workflowsSkill725yesterdayMITA40Claude Code
recipe-add-integration-testsshinpr/claude-code-workflowsSkill725yesterdayMITA19Claude Code