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.
Borrowing it
Nothing to install: this file belongs to daveebbelaar/bama. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/daveebbelaar/bama/main/AGENTS.mdgit 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/instructions/daveebbelaar/bama/agents-md)<a href="https://agentmods.dev/instructions/daveebbelaar/bama/agents-md"><img src="https://agentmods.dev/badge/instructions/daveebbelaar/bama/agents-md/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/instructions/daveebbelaar/bama/agents-md"><img src="https://agentmods.dev/badge/instructions/daveebbelaar/bama/agents-md.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.00645 | $0.00645 |
| Opus 5.5 | $0.00258 | $0.00258 |
| Sonnet 5.5 | $0.00129 | $0.00129 |
| Haiku 4.5 | $0.00064 | $0.00064 |
Grade A, and why
bama AGENTS.md 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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
BAMA
Agent skills for building native macOS apps. Installed as a Claude Code and
Codex plugin from .claude-plugin/, or through npx skills add.
AGENTS.md at the root is a copy of this file (.claude/CLAUDE.md);
keep them identical.
Layout
skills/<stage>/<name>/SKILL.md, stages in pipeline order:start,plan,code,design,ship.- References sit next to
SKILL.md(recipes.md,patterns.md) and are linked relatively. Scripts go inscripts/, templates intemplate/. agents/openai.yamlin every skill: Codex display name and short description. A user-invoked skill also setspolicy.allow_implicit_invocation: false..claude-plugin/plugin.jsonlists every shipped skill inskills.specs/<app>.md: build plans for small apps, taken from Onyx. Each has Brief, How it works, Stories, Gotchas, and a "Done when" line, in that order.specs/README.mdlists them.
Writing skills
Follow Matt Pocock's writing-for-agents rules:
- The description is a context pointer: one short sentence on what it is, then "Use when" and one trigger per branch. Front-load the leading word.
- Inline what every branch needs. Push what only some branches need into a sibling file behind a link.
- Every step ends on a checkable condition. Every skill ends with a "Done when" line.
- Prompt the positive. Use a prohibition only as a hard guardrail, next to the positive target.
- Cache only what the environment cannot tell the agent: conventions, reasons, gotchas from real apps.
- One skill calls another with "Call the Skill tool with
<name>". - No em dashes. Plain words, short sentences, active voice.
Adding a skill
- Create
skills/<stage>/<name>/SKILL.mdandagents/openai.yaml. - Add it to
plugin.jsonskills, the README table, and the router (skills/start/bama/SKILL.md). - Run
claude plugin validate . --strict.
Releasing
- Bump
versioninplugin.json. Installed copies update only when this string changes. Keepversionout ofmarketplace.json. - Run
claude plugin validate . --strict. - Merge to
main. Use a merge commit for a branch with contributor commits, so their pull requests show as merged. - On
main, runclaude plugin tag . --push. It createsbama--v<version>. - Run
gh release create bama--v<version> --generate-notes.
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 · 58 lines · 645 tokens per session scan A 19de90ece034
bama AGENTS.md is an instructions file published in the GitHub repository daveebbelaar/bama (2,007 stars, last pushed 25d ago), licensed MIT. It adds 645 tokens to every session, about $0.0026 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.
bama AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| bama AGENTS.mddaveebbelaar/bama | Instructions file | 2.0k | 25d ago | MIT | A | 645 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 9,887 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 144k | today | MIT | A | 7,230 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 5,685 | GitHub Copilot |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 150k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 196k | today | MIT | A | 3,303 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 289k | 2d ago | MIT | A | 4,393 | Codex, OpenCode |