extract-vault-protocol-logo

Extract vault protocol logos from YAML metadata and save generic, light, and dark variants.

823|185|Updated Jan 30, 2022
One-click install
npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill extract-vault-protocol-logo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: extract-vault-protocol-logo
Source: https://github.com/tradingstrategy-ai/web3-ethereum-defi/tree/main/.claude/skills/extract-vault-protocol-logo
Command: npx skills add https://github.com/tradingstrategy-ai/web3-ethereum-defi --skill extract-vault-protocol-logo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Extract vault protocol logos and save them for protocol metadata stored in this repo.

Core Features & Use Cases

  • Locate the protocol homepage link from the protocol-specific YAML file in eth_defi/data/vaults/metadata.
  • Extract and save logos to eth_defi/data/vaults/original_logos/{protocol slug}, including generic, light, and dark variants.
  • Use the extracted logos to populate metadata and enable downstream tooling and documentation.

Quick Start

Provide the vault protocol name to fetch its homepage logo and save it to eth_defi/data/vaults/original_logos/{protocol slug} with generic, light, and dark variants.

Frequently Asked Questions about extract-vault-protocol-logo

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I extract vault protocol logos for DeFi metadata?

Extracting vault protocol logos involves reading the homepage link from a YAML file in the metadata directory, fetching the logo, and saving generic, light, and dark variants. This preserves original assets for downstream tooling.

Does the logo extraction process preserve the original image format?

Yes, logo extraction saves images without converting formats or applying additional processing. This preserves the original assets exactly as fetched for downstream use.

Can I fetch multiple logo variants for a single vault protocol?

Yes, you can fetch and save generic, light, and dark logo variants for a vault protocol. The extraction process saves each variant to the protocol-specific original logos directory.

What is the source of the homepage link for fetching protocol logos?

The homepage link used for fetching protocol logos is sourced from the protocol-specific YAML file in the vaults metadata directory. This file contains the necessary URL for extraction.

Do I need a specific directory structure to store extracted vault logos?

Yes, extracted vault logos are saved to a specific directory structure using the protocol slug. The variants are organized under the original logos directory for consistent metadata management.