MarketingSEO

Brand Dev

Fetch brand info (name, description, logos, industry) from brand.dev API and save logos locally.

OOpenClaudia·Marketing·MIT

Library skill — the default version is maintained in GitHub; edits you make live in your own clone.

Use this skillDownload .zip
How does this work?
  • ChatGPT opens a new chat with the skill loaded. If it's too long for a link, it's copied to your clipboard — just paste.
  • Claude works the same way. To install it permanently, download the .zip and upload it under Claude → Settings → Capabilities → Skills (Pro/Team/Enterprise).
  • Copy prompt copies the skill so you can paste it into any assistant, including Grok.

Brand.dev Skill

Fetch brand data from the brand.dev API and save logos locally for serving.

Step 1: Get the Domain

Extract the target domain from the user's input. Strip protocol and trailing slashes (e.g., "https://example.com/" -> "example.com").

Step 2: Fetch Brand Info

# BRANDDEV_API_KEY must be set in your environment
curl -s "https://api.brand.dev/v1/brand/retrieve?domain=${DOMAIN}" \
  -H "Authorization: Bearer ${BRANDDEV_API_KEY}" \
  -H "Content-Type: application/json"

Extract from the response: - Brand name (.brand.title or .brand.name) - Description (.brand.description) - Logo URLs (from .brand.logos[]) — prefer icon/square logos for card layouts, full logos for headers - Industry/category if available

Step 3: Download Logos Locally

ALWAYS download logos locally for serving. Never reference external media.brand.dev URLs in production code — they can change or go down.

Where to save

The save location depends on the project. Look for existing patterns: - Next.js / static sites: public/logos/<context>/ (served as /logos/<context>/) - Other web projects: check for existing static/, assets/, images/, or public/ directories - If no convention exists: create a logos/ directory under the project's static asset root

Naming Convention

Download Command

mkdir -p <logo-dir>
curl -sL "<logo-url>" -o "<logo-dir>/<brand-slug>.<ext>"

Verify Download

ls -la <logo-dir>/<brand-slug>.<ext>

Step 4: Return Results

Provide the user with: - Brand name - Description - Industry - Local logo path — the path to use in code (relative to the project's static root) - Original source URL (for reference only)

Important Rules

  1. Always save images locally — never use media.brand.dev URLs directly in production code.
  2. Use local paths in code — reference relative to the project's static asset serving root.
  3. Prefer square/icon logos for card layouts (they fit better in grid cards).
  4. Prefer full/horizontal logos for headers and hero sections.
  5. If the brand has no logos in the API response, note this and suggest using a fallback icon.