app-icon

app-icon is a skill for Claude Code, Codex from daveebbelaar/bama. It costs 58 tokens per session (1,662 once invoked), scanned A, original, MIT.

A guide for creating a macOS app icon as an Icon Composer file with layered SVG artwork. It describes compiling the icon into the app and reviewing its light, dark, tinted, clear, and glass appearances.

In plain words
What is it for?
Use it to create or replace a Dock and app icon, convert a flat icon into layers, or support an icon that changes with a theme or style. It covers the project files, build step, and icon review output.
Why use it?
It provides a structured icon source instead of one flat image. Reviewing the generated versions helps catch problems in the different appearances macOS can show.

Skill for Claude CodeCodex

Written for Claude Code and Codex: allowed-tools in frontmatter, but also agents/openai.yaml present.

Part of the bama plugin — 21 skills shipped together

Good fit Use it to create or replace a Dock and app icon, convert a flat icon into layers, or support an icon that changes with a theme or style. It covers the project files, build step, and icon review output.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/daveebbelaar/bama/app-icon
About the project

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.

daveebbelaar/bama · 2,007 stars · on GitHub

Install

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.

Any agent
npx skills add daveebbelaar/bama --skill app-icon
Clone the repo
git clone --depth 1 https://github.com/daveebbelaar/bama

Made for: Claude Code, Codex.

Or install bama, the plugin that ships this one along with the rest of its 21 skills.

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

agentmods badge for app-icon

README.md
[![agentmods](https://agentmods.dev/badge/skills/daveebbelaar/bama/app-icon/github.svg)](https://agentmods.dev/skills/daveebbelaar/bama/app-icon)
Your own site
<a href="https://agentmods.dev/skills/daveebbelaar/bama/app-icon"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/app-icon/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.

agentmods 80×15 button for app-icon

Your own site · 80×15
<a href="https://agentmods.dev/skills/daveebbelaar/bama/app-icon"><img src="https://agentmods.dev/badge/skills/daveebbelaar/bama/app-icon.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,662 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • Socket pass 26 Oct 2026
  • Snyk pass 26 Oct 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00058 $0.01662
Opus 5.5 $0.00023 $0.00665
Sonnet 5.5 $0.00012 $0.00332
Haiku 4.5 $0.00006 $0.00166

Measured 15d ago against content hash 9077ecc21729, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

app-icon 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.

skills/design/app-icon/SKILL.md · 150 lines

How it starts

The opening of the file, as written. The whole thing — 150 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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.

  • 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

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

Read the full file on GitHub · 150 lines

Files

What ships with it

2 files 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.

Changes

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.

  1. 15d ago First seen · 150 lines · 58 tokens per session scan A 9077ecc21729

Subscribe to this mod's changes

app-icon is a skill published in the GitHub repository daveebbelaar/bama (2,007 stars, last pushed 25d ago), licensed MIT. It adds 58 tokens to every session and 1,662 once invoked, about $0.0002 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.

Related

app-icon compared with skills from other repositories

app-icon next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
app-icondaveebbelaar/bamaSkill2.0k25d agoMITA58Claude Code, Codex
top-designwondelai/skillsSkill2.8ktodayMITA113Claude Code, Codex
influence-psychologywondelai/skillsSkill2.8ktodayMITA156Claude Code
ux-heuristicswondelai/skillsSkill2.8ktodayMITA122Claude Code, Codex
interface-craftcbrock84/headcountSkill2.6ktodayMITA79Claude Code
refactoring-uiwondelai/skillsSkill2.8ktodayMITA132Claude Code, Codex
sxonowork-studio/notfair-pluginSkill4.3k13d agoMITA211Claude Code