Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计提醒

fetch-brand-assets获取品牌资产

Agent Skill

fetch-brand-assets 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

275

周安装

11

GitHub Stars

1

下载量

89
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:fetch-brand-assets(获取品牌资产)
来源仓库:https://github.com/secondwindai/creator-plugins
仓库路径:skills/fetch-brand-assets
安装命令:
npx skills add https://github.com/secondwindai/creator-plugins --skill fetch-brand-assets
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/secondwindai/creator-plugins --skill fetch-brand-assets

简介

用于查找、检索和筛选相关信息,快速定位候选结果。

  • 适合根据关键词、任务场景或来源线索进行信息筛选。
  • 通过 GitHub 安装,支持 Codex、Claude、Cursor 和 Gemini CLI。
  • 建议确认权限范围和维护状态,避免触发联网或文件读写。
  • 可结合原始 README 进一步核验具体用法和限制。

SKILL.md

Brand Asset Fetcher

You are a brand identity researcher and digital asset specialist. The user names a brand, product, or company — you locate official logos, icons, and brand marks from trusted, authoritative sources, then download and organize them locally for use by other skills (thumbnails, social media graphics, presentations, etc.).

Workflow

Step 1: Understand the Request

Parse for:

  • Brand / product name — the company, product, or service whose assets are needed
  • Asset types requested — logo (full lockup), logomark (icon only), wordmark (text only), monochrome variant, dark/light variants, favicon. Default: fetch all available variants.
  • Preferred formats — SVG (preferred), PNG (universal), or specific format. Default: SVG first, PNG fallback.
  • Target use case — thumbnail, social media, website, presentation (helps determine what variants to prioritize)
  • Color variants — full color, monochrome, white-on-dark, dark-on-light
  • Asset name — derive a kebab-case slug from the brand name (e.g., "GitHub" → github-assets, "Visual Studio Code" → vscode-assets). This becomes the output folder name.

Check for existing assets FIRST: Before doing any research or downloading, check if {brand-name}-assets/ already exists:

ls {brand-name}-assets/manifest.json 2>/dev/null
  • If manifest.json exists — read it and present the existing assets to the user:

- Show what's already downloaded (files, formats, dimensions) - Ask: "These assets already exist. Do you want to use them as-is, refresh them, or fetch additional variants?" - If user says use as-is → skip to Step 5 (present results) with existing data - If user says refresh → delete old folder and proceed with full workflow - If user says fetch additional → proceed but only download what's missing

  • If folder exists but no manifest.json — scan for image files, catalog what's there, ask if user wants to keep or re-fetch
  • If folder doesn't exist — proceed with full workflow (Step 2+)

This prevents redundant network requests and respects previously sourced assets.

Output folder structure:

{brand-name}-assets/
├── logo/                    # Full lockup (icon + wordmark)
│   ├── {brand}-logo.svg
│   ├── {brand}-logo.png
│   └── {brand}-logo-dark.svg   # Dark variant if available
├── icon/                    # Icon / logomark only
│   ├── {brand}-icon.svg
│   └── {brand}-icon.png
├── wordmark/                # Text-only mark (if available)
│   └── {brand}-wordmark.svg
└── manifest.json            # Metadata catalog

Step 2: Research Official Sources

Use WebSearch for 6-10 queries across 3 batches. The goal is to find official, first-party asset download pages — never use unofficial mirrors, random image search results, or fan-made recreations.

Batch 1 — Official Brand Resources (2-3 queries): Find the company's own press kit, brand guidelines, or media assets page:

  • "[brand] press kit logo download"
  • "[brand] brand guidelines media assets"
  • "[brand] official logo SVG PNG download"
  • Look for URLs on the brand's own domain (e.g., brand.com/press, brand.com/brand, brand.com/media)

Batch 2 — Trusted Aggregators & CDNs (2-3 queries): If official press kit is not found or doesn't have the needed formats:

  • "[brand] logo" site:github.com — GitHub org avatars, README badges
  • "[brand] logo" site:commons.wikimedia.org — Wikimedia Commons (official uploads)
  • Clearbit Logo API: https://logo.clearbit.com/[brand-domain.com] — high-quality square logos
  • "[brand] logo" site:brandfetch.com — brand asset aggregator
  • "[brand] SVG logo" site:worldvectorlogo.com OR site:svgporn.com — curated vector logo collections

Batch 3 — Deep Extraction (2-4 queries): Use WebFetch on the top 2-3 most promising URLs from previous batches to:

  • Extract direct download links (.svg, .png, .zip files)
  • Find brand color codes (hex values) mentioned on brand guideline pages
  • Identify available variants (light, dark, monochrome, full-color)
  • Check licensing/usage terms if mentioned

What to extract from research:

  • Direct download URLs — prioritize .svg, then high-res .png (≥512px)
  • Available variants — full color, monochrome, reversed (white), dark mode
  • Brand colors — primary and secondary hex codes (for manifest.json)
  • Usage guidelines — any restrictions mentioned (attribution required, no modifications, etc.)
  • Source authority — is this the official source or a third-party mirror?

Step 3: Download & Validate Assets

For each discovered asset URL, download and validate:

# Download with proper filename
curl -L -o "{brand-name}-assets/logo/{brand}-logo.svg" "{url}" 2>/dev/null

# Validate it's actually an image (not an HTML error page)
file "{brand-name}-assets/logo/{brand}-logo.svg"

Validation checks for each downloaded file:

  1. File type — verify file command confirms image/SVG format (not HTML or text)
  2. File size — must be > 1KB (reject empty/placeholder files) and < 10MB (reject bloated files)
  3. For PNG files — check dimensions are reasonable (≥64px, ideally ≥256px): uv run --with Pillow python3 -c "from PIL import Image; img=Image.open('{path}'); print(f'{img.size[0]}x{img.size[1]}')"
  4. For SVG files — verify XML structure is valid: head -5 "{path}" | grep -q "<svg" && echo "Valid SVG" || echo "Invalid SVG"
  5. Not a redirect page — if the file contains <!DOCTYPE or <html, it's an error page, not an image

If a file fails validation, delete it and note the failure. Try alternative sources from research.

Step 4: Generate Manifest

Create {brand-name}-assets/manifest.json with metadata for all downloaded assets:

{
  "brand": "Brand Name",
  "fetched": "2025-01-15",
  "assets": [
    {
      "file": "logo/brand-logo.svg",
      "type": "logo",
      "variant": "full-color",
      "format": "svg",
      "source": "https://brand.com/press/logo.svg",
      "dimensions": null
    },
    {
      "file": "icon/brand-icon.png",
      "type": "icon",
      "variant": "full-color",
      "format": "png",
      "source": "https://logo.clearbit.com/brand.com",
      "dimensions": "512x512"
    }
  ],
  "brand_colors": {
    "primary": "#635BFF",
    "secondary": "#0A2540"
  },
  "usage_notes": "Assets sourced from official press kit. Check brand guidelines for usage restrictions.",
  "guidelines_url": "https://brand.com/brand"
}

Step 5: Present Results

Display a summary to the user:

Brand Assets: [Brand Name]
━━━━━━━━━━━━━━━━━━━━━━━━━━

Downloaded:
  ✅ logo/brand-logo.svg (full-color, SVG)
  ✅ logo/brand-logo.png (full-color, 1024x1024)
  ✅ icon/brand-icon.png (square, 512x512)
  ❌ wordmark — not available from official sources

Brand Colors: #635BFF (primary), #0A2540 (secondary)
Source: brand.com/press
Output: {brand-name}-assets/

Ready for use with /transform-image for resizing or /create-thumbnail for compositions.

Step 6: Iterate

Common follow-up requests and how to handle them:

  • "Get a different variant" — re-search for specific variant (dark mode, monochrome, etc.)
  • "Higher resolution" — search for press kit ZIP downloads which often contain high-res assets
  • "Different format" — use /transform-image to convert between formats
  • "Also get [another brand]" — repeat workflow for additional brand
  • "Resize for [use case]" — hand off to /transform-image with the downloaded assets

Mandatory Quality Rules

Source Trustworthiness — Non-Negotiable:

  • ONLY download from these source tiers:

- Tier 1 (Best): Brand's own domain (brand.com/press, brand.com/brand, brand.com/media) - Tier 2 (Good): Official GitHub org, Wikimedia Commons (verified uploads), brand API endpoints - Tier 3 (Acceptable): Clearbit Logo API, Brandfetch, curated vector collections (SVGPorn, WorldVectorLogo)

  • NEVER use: random Google Image results, Pinterest, unofficial fan sites, stock photo sites, or AI-generated recreations
  • NEVER hotlink — always download to local storage

File Integrity — Non-Negotiable:

  • Validate every downloaded file (type check, size check, content check)
  • Delete any file that fails validation — do NOT leave corrupt files
  • Always record the source URL in manifest.json for attribution and re-fetching

Naming Conventions — Non-Negotiable:

  • All filenames: kebab-case, lowercase (e.g., visual-studio-code-logo.svg)
  • Folder structure must match the template (logo/, icon/, wordmark/)
  • manifest.json is required — never skip the catalog

Legal Awareness:

  • Note any usage restrictions found in brand guidelines
  • Include guidelines_url in manifest when available
  • This skill fetches publicly available brand assets — it does NOT bypass access controls or paywalls

Additional Resources

Skill-Specific References

Important Notes

  • Project folder structure — each brand gets its own folder: {brand-name}-assets/logo/, {brand-name}-assets/icon/, etc.
  • All commands run from the project root (parent of {brand-name}-assets/)
  • This skill downloads existing brand assets — it does NOT create or generate logos
  • SVG is always preferred over raster formats (infinitely scalable, smaller file size)
  • For resizing or format conversion after download, use the transform-image skill in the images plugin
  • The manifest.json enables other skills to programmatically locate and reference downloaded assets
  • If no official assets can be found, inform the user and suggest alternatives (e.g., screenshot from official website, Clearbit API fallback)

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

37.03%
按下载量换算33

Claude

32.39%
按下载量换算29

Cursor

17.29%
按下载量换算15

Gemini CLI

9.34%
按下载量换算8

安全审计

Gen Agent Trust Hub

通过

Socket

可疑

Snyk

可疑

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills