agent-cli
Optional command line and MCP server for a macOS app, so Claude Code, Codex, and scripts can drive it (list, add, change, search,…
Walk through any existing app (native Mac app with computer use, web app with a browser), screenshot every screen, menu, and dialog, write a screen index, and turn it into user stories. Use when the user wants to clone, rebuild, replace, or copy the design of an app, or says
Claude Code
$ npx -y skills add daveebbelaar/bama --skill clone --agent claude-code
Codex
$ npx skills add daveebbelaar/bama --skill clone -a codex -y
Cursor
$ npx skills add daveebbelaar/bama --skill clone -a cursor -y
Gemini CLI
$ npx skills add daveebbelaar/bama --skill clone -a gemini-cli -y
GitHub Copilot
$ npx skills add daveebbelaar/bama --skill clone -a github-copilot -y
OpenCode
$ npx skills add daveebbelaar/bama --skill clone -a opencode -y
Windsurf
$ npx skills add daveebbelaar/bama --skill clone -a windsurf -y
name: clone description: Walk through any existing app (native Mac app with computer use, web app with a browser), screenshot every screen, menu, and dialog, write a screen index, and turn it into user stories. Use when the user wants to clone, rebuild, replace, or copy the design of an app, or says "screenshot every screen". argument-hint: "<app name as shown in the menu bar, or a URL>"
Output: a folder of screenshots, one index that describes everything the app shows, and a backlog built from it.
docs/screens/ INDEX.md 01-inbox.png 02-today.png ... docs/STORIES.md (from the user-stories skill)
| The app is | Use | | --- | --- | | A native Mac app, or Electron | Computer use (`mcp__computer-use__*`) | | A web app | A browser tool: the built-in browser, Claude in Chrome, or Playwright |
Computer use needs a Pro or Max plan, and Accessibility and Screen Recording permissions. Claude desktop: Settings > This computer > Enable computer use. Claude Code CLI: `/mcp` > `computer-use` > Enable. Ask for access to the reference app only. Browsers are view-only and terminals are click-only for computer use.
Tell the user you will see everything in the app. Suggest a demo account or sample data. Look, do not touch: open screens and menus, press Escape to close dialogs. Type, create, change, or delete only when the user says so.
Computer use screenshots come to you downscaled, not to disk. Save each screen at full resolution with the script in this skill:
"${CLAUDE_SKILL_DIR}/scripts/window-shot.sh" "<App Name>" docs/screens/01-inbox.pngIt captures the app's largest window. For menus and popovers outside the window, use `screencapture -x docs/screens/<name>.png` and note it in the index. In a browser, use the tool's screenshot with a file path.
1. Main window, default page. 2. Every sidebar item, top to bottom. Expand collapsed groups. 3. Every view mode (list, board, calendar), sort menu, filter menu. 4. One item opened in detail: panel, fields, sub-items. 5. Creation flows: add button, quick-add panel (global shortcut), inline editor. Empty and half filled in, then Escape. 6. Context menus on an item, a section, a sidebar entry. 7. The menu bar: every menu once. Record every item and shortcut. 8. Settings: every pane. 9. Empty states. 10. Dark mode: the two or three main pages again.
Name files `NN-page-or-state.png` in capture order. The walk is exhaustive when every sidebar item, menu, and settings pane has a file.
actions hide in hover toolbars, right-click menus, and command palettes. Hover rows and search the palettes (typing in a palette search is safe; do not press Return).
for full-screen control, and tell the user to keep off the mouse.
to-do app shows how it parses a phrase before anything is stored. 30 phrases there corrected 3 answers from the docs.
sure you caused it, and tell them.
One section per screenshot:
## 03-upcoming.png Page: Upcoming. Reached from: sidebar > Upcoming. Layout: header with month picker and "Today" button; week strip; tasks grouped by day, each day a section with a heading and an add button. Elements: task row (checkbox, title, description line, date, project tag, priority flag color). Actions: complete, open, drag to another day, add to a day. Shortcuts seen: none.
End with three lists:
Describe structure and behavior. Take no text, logo, or icon from the app: rebuilding for personal use is fine, copying a brand is not. Keep the PNGs out of public repos (add `docs/screens/*.png` to `.gitignore`).
Call the Skill tool with `user-stories`. Every screen in the index ends up linked from at least one story, or listed under `## Dropped`.
Done when INDEX.md has a section per PNG, the three maps exist, and `docs/STORIES.md` covers every screen.
BAMA: Build Any Mac App. Agent skills to research, clone, design, build, optimize, and test native macOS apps with Swift and SwiftUI.
Optional command line and MCP server for a macOS app, so Claude Code, Codex, and scripts can drive it (list, add, change, search,…
Architecture check-in for a growing macOS Swift codebase. Finds hot spots, proposes deeper modules, and refactors one step per…
Deep macOS integrations for a native app, such as global hotkeys, menu bar items, floating panels, window control with…
Make a macOS app fast by measuring hangs, stutter, CPU, memory, and energy, then moving work off the main thread and onto the…
Swift 6 and SwiftUI code rules for macOS apps, including concurrency, state, SwiftData, AppKit bridges, and fixes for common…
Liquid Glass macOS app icon made as an Icon Composer file (Icon/AppIcon.icon, JSON plus SVG layers), compiled with actool, and…
Decompile Android APK, XAPK, JAR, and AAR files using jadx or Fernflower/Vineflower. Reverse engineer Android apps, extract HTTP…