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 improve-loopgit 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/improve-loop)<a href="https://agentmods.dev/skills/daveebbelaar/bama/improve-loop"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/improve-loop/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/improve-loop"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/improve-loop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- Socket warn
- 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.00075 | $0.01166 |
| Opus 5.5 | $0.00030 | $0.00466 |
| Sonnet 5.5 | $0.00015 | $0.00233 |
| Haiku 4.5 | $0.00007 | $0.00117 |
Grade A, and why
improve-loop 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.
Improve loop
One pass through the loop takes one story from todo to done:
pick story -> plan -> code -> ./build.sh -> snapshot -> compare -> fix -> commit -> update STORIES.md
Stop after the milestone the user named, or after the current milestone if they named none. Then report.
1. Pick
Open docs/STORIES.md. Take the first todo story in the current
milestone whose dependencies are done. Set it to doing.
2. Plan
If the story adds a screen, an action, or words and has no UX: block
yet, call the Skill tool with ux-design first.
Write two to five lines in your head or in the commit body: which files change, which model fields are new, which menu command and shortcut it adds, which snapshot page shows it. If the story needs a new SwiftData field, give it a default value so existing databases keep loading.
3. Code
Follow the swift-swiftui and mac-design skills, the story's UX:
block, and design/DESIGN-SYSTEM.md if the app has one. System hooks follow
os-integrations. Keep each view file under about 300 lines.
Put new pages in the SidebarItem enum so snapshot mode visits them.
4. Build and snapshot
Follow the build-and-verify skill. If the story has logic, add a test
or a self-test step (test-mac-app skill). Use seed data (APP_SEED=1) so pages
show real content.
5. Compare
Open your snapshot and the story's reference screenshot side by side with the Read tool. Write down the differences that matter, in this order:
- Missing or wrong behavior from the acceptance criteria.
- Words and flow: names, surface, and states that differ from the
UX:block ordocs/GLOSSARY.md. - Layout: wrong column, wrong order, missing element, and every FAIL from the grid checks.
- Hierarchy: what is biggest, boldest, first.
- Spacing and alignment.
- Color and details.
The goal is the same structure and behavior, built from Apple's own controls. It is not a pixel copy. When the reference uses a web-style custom control and macOS has a native one (a toolbar, a sidebar, a context menu, a date picker), use the native one.
What ships with it
1 file 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 · 121 lines · 75 tokens per session scan A 3edae75dafd3
improve-loop is a skill published in the GitHub repository daveebbelaar/bama (2,007 stars, last pushed 25d ago), licensed MIT. It adds 75 tokens to every session and 1,166 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.
improve-loop compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| improve-loopdaveebbelaar/bama | Skill | 2.0k | 25d ago | MIT | A | 75 | Claude Code, Codex |
| branch-and-worktree-workflowcbrock84/headcount | Skill | 2.6k | today | MIT | A | 70 | Claude Code |
| precommitsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 15 | Claude Code |
| next-stepsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 63 | Claude Code |
| precommit-fastsd0xdev/sd0x-harness | Skill | 196 | 5d ago | MIT | A | 15 | Claude Code |
| unslop-commitMohamedAbdallah-14/unslop | Skill | 201 | 7d ago | MIT | A | 139 | Claude Code |
| releasegtapps/hermitd | Skill | 87 | today | MIT | A | 104 | Claude Code, Codex |