Web Asset Generator skill
Generate favicon, PWA icon and Open Graph image files from a logo, text or emoji with Python.
Community · Alon Wolenitz| Author | Alon Wolenitz |
|---|---|
| Licence | MIT |
| Source | alonw0/web-asset-generator · SKILL.md on GitHub |
| Works in | Claude Code · Codex, Gemini CLI, Cursor, Copilot |
| Read from the source on |
The web-asset-generator skill turns a logo, slogan or emoji into website icon and social sharing files using bundled Python scripts.
It also prints integration tags. Its image processing is procedural; it does not run an image-generation model.
From the skill's SKILL.md: Generate professional web assets from logos or text slogans, including favicons, app icons, and social media meta images.
What it does
- Clarifies asset types, source material and colours, runs the appropriate script, then offers integration help.
What you get
- PNG icons, multi-resolution favicon.ico, social PNGs and HTML tags.
When to use it
- You have a logo and need a consistent website asset set.
When not to use it
- You need an original logo or a model-generated illustration.
What it needs
- Python and Pillow; pilmoji and emoji for optional emoji features. Scripts read local images and write files.
Files in the skill
| File or folder | What it is for |
|---|---|
SKILL.md | Asset workflow and integration guidance. |
scripts/ | Favicon, social image and validation scripts. |
references/specifications.md | Bundled platform size guidance; re-check before launch. |
Licence as found in the repository on 2026-11-15: MIT.
Example prompts
Type one of these after installing; naming the skill makes sure it is used.
- Create favicons and PWA icons from this logo.
- Make Open Graph images with this slogan and brand colours.
- Generate an emoji favicon and validate its dimensions.
How to install web-asset-generator
Python setup
Install dependencies in a virtual environment. Emoji rendering may fetch artwork; review the scripts before running them.
python3 -m venv .venv
source .venv/bin/activate
python -m pip install Pillow
python -m pip install pilmoji emojiA skill is a folder with a SKILL.md file. You install it once; the agent reads its short description at the start of each session and loads the full instructions only when a request matches. Pick the place you use:
Claude Code: from the plugin marketplace
- Start Claude Code in a terminal with
claude. - Add the marketplace (once per computer):
/plugin marketplace add alonw0/web-asset-generator - Install the plugin. Claude Code opens its details first: check what it will add (skills, hooks, MCP servers), then choose whether it is for you, for everyone on this repository, or for you in this repository only.
/plugin install web-asset-generator@web-asset-generator-marketplace - Type / and look for
/web-asset-generator:web-asset-generator, or simply ask for the task.
From your shell instead of a session:
claude plugin marketplace add alonw0/web-asset-generator
claude plugin install web-asset-generator@web-asset-generator-marketplaceClaude Code: copy the folder into your skills folder
Put the skill's folder in ~/.claude/skills/ to use it in every project on this computer, or in .claude/skills/ inside a repository to share it with everyone who works there (commit it).
git clone --depth 1 https://github.com/alonw0/web-asset-generator.git
mkdir -p ~/.claude/skills
cp -R web-asset-generator/skills/web-asset-generator ~/.claude/skills/Claude Code notices new or changed skills in these folders during the session. If the skills folder did not exist when the session started, run /reload-skills once. Then type /web-asset-generator or just describe the task.
On Windows, run the commands in Git Bash or WSL, or copy the folder into the same place with File Explorer.
Codex, Gemini CLI, Cursor and GitHub Copilot
These agents read the same SKILL.md folders. The one folder all four accept inside a project is .agents/skills/, so this copies the skill there:
git clone --depth 1 https://github.com/alonw0/web-asset-generator.git
mkdir -p .agents/skills
cp -R web-asset-generator/skills/web-asset-generator .agents/skills/| Agent | Project folder | Your user folder | Notes |
|---|---|---|---|
| OpenAI Codex | .agents/skills/ | ~/.agents/skills/ | Type $ or run /skills to pick a skill; Codex also chooses one when your task matches. |
| Gemini CLI | .agents/skills/.gemini/skills/ | ~/.agents/skills/~/.gemini/skills/ | Or install from Git with gemini skills install <git URL> --path <folder> --consent. Google replaced Gemini CLI with Antigravity CLI for free-tier and Google One users on 18 June 2026; Antigravity uses .agents/skills/ in a project and ~/.gemini/config/skills/ for you. |
| Cursor | .agents/skills/.cursor/skills/ | ~/.agents/skills/~/.cursor/skills/ | Type / in Agent chat to pick a skill. Cursor also reads Claude Code's .claude/skills/ folders. |
| GitHub Copilot | .github/skills/.agents/skills/.claude/skills/ | ~/.copilot/skills/~/.agents/skills/ | Works in Copilot CLI, the cloud agent, and agent mode in VS Code, Visual Studio and JetBrains (IDE support depends on the version). Or run gh skill install OWNER/REPOSITORY SKILL (public preview, GitHub CLI 2.90.0 or later). |
Sources for these steps
Checked against each vendor's documentation on 2026-11-14:
Icons and social cards
Inspect the smallest favicon for legibility. A scaled logo can lose detail at 16 pixels.
Check the social crop with your actual text. The bundled validator checks its own rules, not acceptance by a live platform.
Integration
Review generated paths against your framework and deployment base URL. A correct local PNG alone does not make a share preview work.
Questions about web-asset-generator
Does it need an image API?
No. Pillow renders and resizes the images locally.
Which social sizes does it produce?
The scripts target 1200×630, 1200×675 and 1200×1200 pixels.
Does it publish the images?
No. Upload them yourself and set public image URLs in your metadata.
Does it work in every Claude environment?
Claude Code can run the scripts. Web and API routes require compatible Python packages; those routes are not verified here.
More AI skills
Related skills
Marketing Image skill
Community · Corey HainesChoose image generation, editing, templates or real screenshots for marketing graphics and web assets.Anydesign skill
Community · Alan Ponce (uxKero)Extract a screenshot, website or Figma design into design.md, design tokens or a single-element rebuild brief.GenAI Mesh Gradient skill
Community · Yanice Yang (9929y)Turn a visual brief into editable Figma gradients, layered SVG artwork or a parameterized browser rendering.Canvas Design skill
Official · AnthropicAnthropic's skill for original posters and static art: it writes a design philosophy first, then renders it as a PNG or PDF.Thumbnail Design skill
Community · Frank HeijdenrijkBrief honest, mobile-readable video thumbnails and plan a native comparison test.Design and Templates skill
Community · Frank HeijdenrijkSpecify a reusable brand kit, template family and production workflow for recurring social graphics.