Agent skill · design visual · aradotso
logo-generator-skill
logo-generator-skill — an agent skill for coding agents.
Why this skill is useful
Adds executable scripts for SVG to PNG conversion and showcase image generation that extend the AI's capabilities.
What it needs
Requires cairosvg, dotenv, python installed locally. Requires google account access. About 7k tokens when loaded. Last updated 2026-07-09. 70 stars on the source repository.
What this skill does
bash npx skills add https://github.com/op7418/logo-generator-skill.git bash git clone https://github.com/op7418/logo-generator-skill.git ~/.claude/skills/logo-generator bash macOS/Linux cp -r logo-generator ~/.claude/skills/logo-generator Windows xcopy logo-generator %USERPROFILE%\.claude\skills\logo-generator /E /I bash cd ~/.claude/skills/logo-generator pip install -r requirements.txt Configure API key cp .env.example .env Edit .env and set GEMINIAPIKEY env Official Google Gemini API GEMINIAPIKEY=yourgeminiapikeyhere GEMINIMODEL=gemini-3.1-flash-image-preview Optional: Third-party endpoint GEMINIAPIBASEURL=https://api.example.com/v1 bash python scripts/svgtopng.py --input logo.svg --output logo.png --size 1024 python scripts/svgtopng.py usage in code import cairosvg def convertsvgtopng(svgpath: str, outputpath: str, size: int = 1024): cairosvg.svg2png( url=svgpath, writeto=outputpath, outputwidth=size, outputheight=size ) bash python scripts/generateshowcase.py \ --logo logo.png \ --styles "void,frosted,fluid,spotlight" \ --output ./showcases/ python scripts/generateshowcase.py usage in code import os from google import genai from dotenv import loaddotenv loaddotenv() client = genai.Client(apikey=os.getenv("GEMINIAPIKEY")) def generateshowcase(logopath: str, style: str, outputpath: str): """Generate a professional showcase image for a logo.""" with open(logopath, "rb") as f: logodata = f.read() styleprompts = { "void": "absolute black background with silver micro noise, hardcore tech aesthetic", "frosted": "titanium gray with organic texture, premium product feel", "fluid": "deep purple with fluid fusion effects, AI-native aesthetic", "spotlight": "carbon gray with editorial spotlight lighting, magazine quality", "editorial": "off-white paper texture, humanistic brand feel", "swiss": "pure solid color, zero effects, timeless Swiss design authority" } prompt = f""" Create a professional logo showcase image. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aradotso/logo-generator-skill