ワンクリックで
icon
Generate icons, stickers, and app assets using AI. Use when user wants to create icons, stickers, logos, or visual assets.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Generate icons, stickers, and app assets using AI. Use when user wants to create icons, stickers, logos, or visual assets.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | 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>] |
Generate icons, stickers, and visual assets using Google's Imagen (nano-banana) model.
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 keyIf user runs /icon --setup or if GEMINI_API_KEY is not configured:
security add-generic-password -a "$USER" -s "gemini-api-key" -w "THE_API_KEY" -U
Check API key exists:
security find-generic-password -a "$USER" -s "gemini-api-key" -w 2>/dev/null
If not found, guide user through setup.
Determine output path:
--output specified, use thatAssets.xcassets/./generated-icons/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:
open OUTPUT_PATHAvailable 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)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
pip install rembg