---
name: extract-project-logo
description: Extract a project's logo from its website, brand kit, or other sources
---
# Extract project logo
This skill extracts a project's official logo from its website or related sources, prioritising high-quality vector formats and official brand assets.
## Required inputs
Before starting, gather the following from the user:
1. **Website URL** - The project's main website (e.g., `https://example.com`)
2. **Save path** - Local filesystem path where the logo should be saved (e.g., `./logos/example-logo.svg`)
3. **Format preference** (optional) - Preferred format: SVG (recommended), PNG, or any
If any required input is missing, ask the user before proceeding.
Save all project logos in the target folder. We will pick variants and post-process those later.
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 background
- `dark`: dark (black) text on white or transparent background
Following vocabulary is used:
- Brand mark: same as logo mark, the logo without the brand name text
- Word mark: the logo with the brand name text
## Step 1: Search for brand kit or media resources
The highest quality logos are typically found in official brand/media kits. Search for these pages:
1. Navigate to the website and look for links in the footer or header:
- "Brand", "Brand Kit", "Brand Assets", "Brand Guidelines"
- "Media", "Media Kit", "Press", "Press Kit"
- "Resources", "Downloads", "Assets"
2. Try common URL patterns:
- `{base_url}/brand`
- `{base_url}/brand-kit`
- `{base_url}/media`
- `{base_url}/press`
- `{base_url}/assets`
- `{base_url}/resources`
3. If a brand kit is found:
- Look for downloadable logo packages (often ZIP files)
- Prefer SVG or vector formats over raster images
- Choose the most square logo variant if multiple options exist
- If both light and dark themes are present, get both
- If colourful option exist, get it as well
If a brand kit is found with suitable logos, proceed to Step 5.
## Step 2: Check GitHub repository
Many projects host their logos in their GitHub repositories:
1. Find the project's GitHub repository (often linked in website footer/header)
2. Search these common locations:
- `/assets/` or `/images/` directories
- `/branding/` or `/brand/` directories
- `/public/` directory (for web apps)
- `/docs/` or `/documentation/` directories
- Root directory (README badges, logo files)
3. Check the README.md for embedded logos:
- Look for `` tags or markdown image syntax
- These often point to high-quality logo files
4. Search for files named:
- `logo.svg`, `logo.png`, `logo-*.svg`
- `{project-name}.svg`, `{project-name}-logo.*`
- `brand.*`, `icon.*`
If a suitable logo is found, proceed to Step 4.
## Step 3: Extract from website directly
If no brand kit or GitHub assets are available, extract the logo from the website:
### Option A: Using MCP Playwright (recommended for dynamic sites)
Use the MCP Playwright tool to:
1. Navigate to the homepage
2. Look for logo elements in the header (typically top-left):
- Search for `` tags with class/id containing "logo"
- Check for `