/bama:app-iconfrom bama
Creates Liquid Glass macOS app icons using Icon Composer format (JSON + SVG layers), compiled with actool and reviewed with ictool. Use when the user wants a new app icon, a better icon, or a Dock icon.
Ships in bama. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
The icon is an Icon Composer file in git: Icon/AppIcon.icon, a folder
with icon.json and SVG layers in Assets/. You write both by hand.
macOS adds the glass, the highlights, the shadow, the mask, and the dark,
tinted, and clear looks. You never draw those yourself.
tools/make_icon.sh compiles it with actool into Resources/Assets.car
and Resources/AppIcon.icns. build.sh runs it when the icon changed.tools/icon_review.sh renders it with ictool (Icon Composer's command
line tool, inside Xcode) into one contact sheet you read.Older app without these files: copy Icon/, tools/make_icon.sh,
tools/icon_review.sh, and tools/icon_sheet.swift from the
new-mac-app template, the icon block of its build.sh, and
CFBundleIconName = AppIcon from its Info.plist.in.
Other cases: more-cases.md.
.icon itself).NSApp.applicationIconImage
shows a flat picture, so render glass versions ahead of time.Icon/AppIcon.icon/
icon.json
Assets/front.svg 1024 x 1024 canvas, same as the icon
Assets/back.svg
{
"fill" : { "automatic-gradient" : "srgb:0.20000,0.42000,0.96000,1.00000" },
"groups" : [
{
"layers" : [
{ "glass" : true, "image-name" : "front.svg", "name" : "front" },
{ "glass" : true, "image-name" : "back.svg", "name" : "back", "opacity" : 0.6 }
],
"shadow" : { "kind" : "neutral", "opacity" : 0.5 },
"translucency" : { "enabled" : true, "value" : 0.5 }
}
],
"supported-platforms" : { "squares" : [ "macOS" ] }
}
fill is the background: solid, automatic-gradient (one color, the
system adds a soft gradient), or linear-gradient with two colors.
Colors are srgb:r,g,b,a or display-p3:r,g,b,a.kind: neutral, layer-color, or none.<key>-specializations, for
example fill-specializations with an entry for dark.automatic-gradient looks right almost every time.defaults read com.apple.dock persistent-apps | grep file-label.Read docs/BRIEF.md. Write three icon concepts in one line each: the
object, the background color, the layers. Pick one with the user, or
pick the one that is easiest to recognize at 16 px.
Check: one concept is chosen and it uses no SF Symbol.
Write the layers as SVG files in Icon/AppIcon.icon/Assets/, on a
1024 x 1024 canvas, white filled shapes (rect with rx, circle,
path). Write icon.json to list them. Delete layer files you no
longer use.
Check: every image-name in icon.json has a file in Assets/.
Compile:
tools/make_icon.sh
# wrote Resources/Assets.car and Resources/AppIcon.icns
Check: the line above prints. On an error, fix the file it names.
Review every look:
tools/icon_review.sh
# wrote /tmp/<AppName>-icon.png
Read the PNG. It shows Default, Dark, Tinted, and Clear at 256 pt, then Default at 32 and 16 pt. The glyph reads in every look and is still recognizable at 16 pt. If not, make it bigger, bolder, or simpler.
Iterate two or three times. Change one thing per round: glyph size, layer opacity, background color.
Install and look at the Dock:
./build.sh --open
If the Dock still shows the old icon, macOS cached it. Run
touch ~/Applications/<AppName>.app and restart the app. As a last
resort, killall Dock.
The user can fine-tune the file by hand in Icon Composer:
open -a "Icon Composer" Icon/AppIcon.icon. Run tools/make_icon.sh
after they save.
AppIcon.icon. With another name, actool
writes nothing and still exits 0. make_icon.sh checks for that.actool fails with the name, but ictool exits 0
and renders an empty background. Compile before you review.xcrun ictool is a different tool. Icon Composer's ictool lives at
$(xcode-select -p)/../Applications/Icon Composer.app/Contents/Executables/ictool.CFBundleIconName = AppIcon in Info.plist and
Assets.car in Contents/Resources. AppIcon.icns covers older Finder
views and macOS 15.Done when tools/make_icon.sh succeeds, the contact sheet shows a clear
glyph in all four looks and at 16 pt, the icon uses no SF Symbol, and the
Dock shows the new icon.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
macos-icon, app-icon, icon-composer, actool, ictool, liquid-glass
npx claudepluginhub daveebbelaar/bama --plugin bama21 skills in this plugin
/agent-cliOptional command line and MCP server for a macOS app, so Claude Code, Codex, and scripts can drive it (list, add, change, search, act) through the running app. Use when the user wants agents to work with their app or its data, asks for a CLI, an MCP server, or automation for the app, or says "Claude should be able to use my app"./app-briefOne-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done./bamaBuild any Mac app. Start here to pick the next skill for a native macOS app./build-and-verifyBuild a SwiftUI macOS app from the command line, install it, and check light and dark window snapshots of every page before calling a change done. Use after any UI code change, when a build fails, or when the user asks to run, screenshot, or check the app./cloneWalk 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"./design-from-appRebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".Other plugins' skills for the same job