Skip to main content
skill CX Codex

app-icon · daveebbelaar — Claude Code skill: what it does, how to install

Skill for Claude Code and Cursor that builds macOS app icons in Icon Composer format using actool and ictool.

MIT 1,000 installs ★ 1,933 updated 2026-11-05

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add daveebbelaar/bama --skill app-icon -a claude-code
Open on GitHub

What app-icon does

The skill formats icons as an Icon Composer bundle in Icon/AppIcon.icon, containing icon.json and SVG layers. Compilation runs via tools/make_icon.sh into Resources/Assets.car and Resources/AppIcon.icns, while tools/icon_review.sh renders contact sheets for visual inspection across appearances.

Xcode must be installed on the system, and the folder name must strictly match AppIcon.icon for compilation to succeed. SF Symbols are prohibited due to licensing rules.

The agent activates this skill whenever the user requests a new app icon, a better graphic, or a Dock icon update.

What it helps with

  • generate Icon/AppIcon.icon structure for macOS
  • compile SVG layers into Assets.car with actool
  • review icon layouts across themes using ictool
  • configure CFBundleIconName inside Info.plist

Example prompts for the agent

  • Create a new app icon for macOS
  • Check the icon appearance in dark and light modes
  • Compile the icon assets with make_icon.sh

How to install app-icon

1Skills CLI (Vercel)

npx skills add daveebbelaar/bama --skill app-icon -a claude-code

2Manually: put the files in place

~/.claude/skills/app-icon/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/app-icon/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about app-icon

How to install app-icon in Claude Code?

Run npx skills add daveebbelaar/bama --skill app-icon -a claude-code followed by ~/.claude/skills/app-icon/SKILL.md.

What does app-icon do?

It automates the creation, compilation, and review of macOS app icons using Icon Composer tools.

What is needed to use app-icon?

You need Xcode installed on your machine along with the Icon Composer application.

Source text

SKILL.md · MIT
---
name: app-icon
description: Liquid Glass macOS app icon made as an Icon Composer file (Icon/AppIcon.icon, JSON plus SVG layers), compiled with actool, and reviewed in every look with ictool. Use when the user wants an app icon, a better icon, or a Dock icon.
allowed-tools: Bash(tools/make_icon.sh) Bash(tools/icon_review.sh) Bash(./build.sh *) Read Edit Write
---

# App icon

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](more-cases.md).
- An Xcode or XcodeGen project (Xcode compiles the `.icon` itself).
- Converting an existing flat icon into layers.
- A Dock icon that changes with a theme or style. `NSApp.applicationIconImage`
  shows a flat picture, so render glass versions ahead of time.

## The file

```text
Icon/AppIcon.icon/
  icon.json
  Assets/front.svg     1024 x 1024 canvas, same as the icon
  Assets/back.svg
```

```json
{
  "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`.
- The first layer in the list sits on top.
- Shadow `kind`: `neutral`, `layer-color`, or `none`.
- A different look per appearance goes in `<key>-specializations`, for
  example `fill-specializations` with an entry for `dark`.
- The art fills the whole square. Never draw the rounded square, a margin,
  a shadow, or a sheen: the system adds them.

## What makes it look like Apple made it

1. One idea. One object that says what the app does: a check for tasks, a
   stack of cards for a reader, a waveform for audio.
2. No text, no letters, no screenshots of the UI.
3. The glyph is your own drawing. Never use an SF Symbol, or a shape that
   looks like one: the SF Symbols license forbids symbols in app icons.
4. Two or three layers, each one flat shape in white or one tint. Glass
   gives the depth. Put the main shape on top, a softer one behind it.
5. The glyph is large: about 45 to 55 percent of the canvas width. Thin
   parts vanish at 16 px.
6. Filled shapes only. A stroke on an open path leaves a faint glass line.
7. One background hue. `automatic-gradient` looks right almost every time.
8. Distinct from the apps next to it in the Dock. List Dock apps without a
   screenshot: `defaults read com.apple.dock persistent-apps | grep file-label`.

## Steps

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

2. 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/`.

3. Compile:

   ```bash
   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.

4. Review every look:

   ```bash
   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.

5. Iterate two or three times. Change one thing per round: glyph size,
   layer opacity, background color.

6. Install and look at the Dock:

   ```bash
   ./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.

## Gotchas

- The folder must be named `AppIcon.icon`. With another name, `actool`
  writes nothing and still exits 0. `make_icon.sh` checks for that.
- A missing layer file: `actool` fails with the name, but `ictool` exits 0
  and renders an empty background. Compile before you review.
- PDF layers do not render. Use SVG or PNG.
- `xcrun ictool` is a different tool. Icon Composer's `ictool` lives at
  `$(xcode-select -p)/../Applications/Icon Composer.app/Contents/Executables/ictool`.
- The icon needs `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.

© daveebbelaar · MIT · daveebbelaar/bama

Similar skills

All skills for Design →

app-icon by other authors comes first.

app-icon Code-with-Beto Generates and configures app icons for React Native Expo apps. Handles iOS 26 Liquid Glass formats, Android adaptive safe areas, and app.json updates. CX Codex +1 2,200installs app-icon Melvynx Generates dimensional iOS and Android app icons for Expo projects and crops them to store requirements. CX Codex +1 446installs svg-icon-enrichment calesthio svg-icon-enrichment — a rule that teaches Claude Code and Codex to animate the inner parts of SVG icons: clock hands, scissor blades, pulsing dots, flowing dashes. For micro-animation without swapping the icons themselves. CX Codex +1 ★ 78,316repo stars icon-composer-mcp ethbak icon-composer-mcp generates Apple .icon asset bundles with Liquid Glass styling from SVG and PNG inputs. Helps mobile developers prepare application icons and App Store graphics directly through AI agents. CX Codex +1 ★ 74repo stars app-store-preflight-skills truongduy2611 app-store-preflight-skills walks an Xcode project through the rejection patterns Apple flags most often, then returns a report sorted by severity. CX Codex +1 2,200installs ios-icon-gen affaan-m ios-icon-gen builds complete Xcode .imageset folders with 1x, 2x, and 3x PNG assets directly from SF Symbols or the Iconify API. CX Codex +1 6,200installs app-icon-optimization appeeky app-icon-optimization is a Claude Code skill that audits, designs, and A/B-tests app icons to increase tap-through rate in App Store search and browse. CX Codex +1 3,000installs swiftui-design-skill wholiver swiftui-design-skill designs custom SwiftUI screens for iOS and macOS without generic AI clichés. Useful when drafting interface prototypes or picking a distinct visual direction. CX Codex +1 1,300installs

From the same set21

The whole set →
design-kit design-kit — a skill for Claude Code and Cursor builds a custom macOS SwiftUI design system with tokens and components. Runs when you need a brand look or custom controls. CX Codex +1 1,000installs design-system The design-system Claude Code skill organizes a macOS app’s accent color and design tokens. It activates for requests about themes, shared screen styles, or a style guide. CX Codex +1 1,000installs new-mac-app new-mac-app is a Claude Code skill that scaffolds a native SwiftUI macOS app from a working template. It starts when a new Mac app or project skeleton is requested. CX Codex +1 1,000installs test-mac-app The test-mac-app Claude Code skill lays out a testing flow for macOS apps, from Swift tests to controlling a running app. It activates when adding logic, fixing bugs, or checking a release. CX Codex +1 1,000installs ux-design The ux-design skill for Claude Code runs a UX pass for a macOS app feature before coding, covering terminology, flows, surface selection, and accessibility. Runs before coding a story that adds a screen, an action, or text. CX Codex +1 1,000installs bama The bama skill for Claude Code picks the next step in building a native macOS app. It routes work from an initial idea through research, implementation, and verification. CX Codex +1 1,000installs clone This Claude Code skill explores an existing app and documents its screens for a rebuild. It starts when asked to clone, replace, or recreate an app’s design. CX Codex +1 1,000installs mac-design The mac-design Claude Code skill guides SwiftUI design for native Mac apps on macOS 26 and later. It activates while building or reviewing windows, sidebars, menus, and settings screens. CX Codex +1 1,000installs

Project sponsors

Companies that keep this analytics open