con un clic
post-process-logo
Post-process original logos into standardised 256x256 PNG format
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Menú
Post-process original logos into standardised 256x256 PNG format
Instalar con Codex o Claude Copia este prompt, pégalo en Codex, Claude u otro asistente, y deja que revise la página de la skill y la instale por ti.
Basado en la clasificación ocupacional SOC
Add support for a new ERC-4626 vault protocol. Use when the user wants to integrate a new vault protocol like IPOR, Plutus, Morpho, etc. Requires vault smart contract address, protocol name, and protocol slug as inputs.
Audit curator feeder YAML files for stale Twitter, LinkedIn, RSS and website error markers, decide whether each error is real, then clear false positives, repoint renamed handles/links, or tombstone dead entities — leaving a dated audit comment on every entry touched.
Add a new stablecoin or staked/derivative stablecoin to feed metadata, classification sets, rich metadata YAML and logos. Use when the user wants a stablecoin symbol (e.g. a vault denomination token) to be recognised by is_stablecoin_like() and shown on the site.
Add a new vault curator to feed metadata and curator detection. Use when the user wants to add a verified curator, protocol-managed curator, or curator alias discovered from vault data.
Identify missing vault curators from vault databases and suggest curator feeder YAML entries
Check all stablecoin YAML files for Twitter activity and domain availability, adding a checks section to each file
| name | post-process-logo |
| description | Post-process original logos into standardised 256x256 PNG format |
This skill transforms original logo images into standardised 256x256 PNG format suitable for vault protocol metadata. It automatically selects the most square variant from available logos and applies padding if needed to create a perfect square output.
Before starting, gather the following from the user:
eth_defi/data/vaults/original_logos/protocol-name/)eth_defi/data/vaults/formatted_logos/)generic, light, dark, or allIf any required input is missing, ask the user before proceeding.
Ensure the following are available:
poetry install --with devPython Pillow is installed for detecting image format, dimensions, and transparency.
There is no universal standard how artist name their logo files for dark and light variants. In our case, we always say
light: light (white) text on dark or transparent backgrounddark: dark (black) text on white or transparent backgroundFollowing vocabulary is used:
List all image files in the input folder and classify them:
{slug}.generic.{ext} - Generic/default theme{slug}.light.{ext} - Light background theme (dark logo){slug}.dark.{ext} - Dark background theme (light logo)Process the selected logo variant. The script will automatically add padding to non-square logos to make them square before scaling.
export INPUT_IMAGE=/path/to/original/logo.png
export OUTPUT_IMAGE=/path/to/output/logo.generic.png
poetry run python scripts/logos/post-process-logo.py
The script will:
Provide the user with:
Output files should follow this naming pattern:
{protocol-slug}/light.png - For light backgrounds{protocol-slug}/dark.png - For dark backgroundsIf SVG conversion fails:
If the background isn't removed properly: