Automated summary
Generates icons, stickers, and visual assets using Google's Imagen model.
Strengths
- Multiple preset styles (flat, 3D, pixel art, etc.)
- Can match the style of a reference image
- Automatic integration with Xcode projects
- Easy setup via /icon --setup command
Limitations
- Requires a Google AI Studio API key
- Relies on online availability of the Imagen model
- Sticker style needs rembg to be installed
When you need quick icons, logos, or stickers for apps or projects.
When you need highly detailed custom illustrations or are working offline.
Security analysis
SafeThe skill uses Bash to store and retrieve an API key in the macOS keychain, which is a standard and safe practice. It runs a Python script with user-provided arguments, but there is no evidence of dangerous patterns like piping to sh, curl-bash, secret exfiltration, or destructive commands. The optional instruction to install rembg is user-initiated and not automatically executed. No overt security risks are present.
No concerns found
How this analysis is madeExamples
/icon a smiling sun for a weather app/icon matching this style --ref ./my-icons/home.png a settings gear/icon app logo --style flat-minimal --output ./assets/logo.pngname: icon description: Generate icons, stickers, and app assets using AI. Use when user wants to create icons, stickers, logos, or visual assets. disable-model-invocation: false user-invocable: true allowed-tools: Bash, Read, Write, Glob argument-hint: "<description> [--ref <reference-image>] [--style <style>] [--output <path>]"
Claude Icons
Generate icons, stickers, and visual assets using Google's Imagen (nano-banana) model.
Arguments
Parse the user's request from: $ARGUMENTS
Expected formats:
/icon a happy cloud mascot- Generate icon with description/icon a cat waving --ref ./style.png- Match style of reference image/icon app logo --style flat-minimal --output ./assets/logo.png- With style preset and output path/icon --setup- Configure API key
Setup Flow
If user runs /icon --setup or if GEMINI_API_KEY is not configured:
- Ask user for their Google AI Studio API key (get one at https://aistudio.google.com/apikey)
- Save it using the Bash tool:
security add-generic-password -a "$USER" -s "gemini-api-key" -w "THE_API_KEY" -U - Confirm setup is complete
Generation Flow
-
Check API key exists:
security find-generic-password -a "$USER" -s "gemini-api-key" -w 2>/dev/nullIf not found, guide user through setup.
-
Determine output path:
- If
--outputspecified, use that - If in Xcode project, suggest
Assets.xcassets/ - Otherwise use
./generated-icons/
- If
-
Run the generator script:
python3 "$(dirname "$0")/../../scripts/generate_icon.py" \ --description "USER_DESCRIPTION" \ --reference "REFERENCE_PATH_IF_ANY" \ --style "STYLE_IF_SPECIFIED" \ --output "OUTPUT_PATH" -
Show the result:
- Display the generated image path
- If macOS, offer to open in Preview:
open OUTPUT_PATH - If Xcode project detected, offer to add to asset catalog
Style Presets
Available styles (use with --style):
flat-minimal- Clean, flat design with minimal details3d-glossy- 3D look with glossy highlightshand-drawn- Sketch/illustration stylepixel-art- Retro pixel art stylegradient- Modern gradient styleoutline- Line art / outline onlysticker- Sticker style with white border (auto-removes background)
Examples
User: /icon a smiling sun for a weather app
→ Generate cheerful sun icon, save to ./generated-icons/
User: /icon matching this style --ref ./my-icons/home.png a settings gear
→ Analyze reference, generate gear icon in same style
User: /icon --setup
→ Guide through API key configuration
Error Handling
- If generation fails, show the error and suggest:
- Check API key is valid
- Try a simpler description
- Check internet connection
- If rembg not installed for sticker style, offer to install:
pip install rembg
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/ai-icon-generator-mmlj2nub' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/ai-icon-generator-mmlj2nub/download' --output '.skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md.part' && mv '.skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md.part' '.skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
Tools declared by the author (check availability in your agent): Bash, Read, Write, Glob
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md' && test -s '.skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/icon' && cp -R '.skill-downloads/ai-icon-generator-mmlj2nub' '.claude/skills/icon'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/ai-icon-generator-mmlj2nub'openskills read 'ai-icon-generator-mmlj2nub'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/ai-icon-generator-mmlj2nub/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.