brand-icon-sourcing
Skill0 starsChanged 2 months agoMITView on GitHub
Source and verify real official brand icons/logos for covers, illustrations, and publish packages. Primary channel is the iTunes Search API (term+country=cn, 512px artworkUrl); ImageSearch only yields article illustrations, never clean logos. Use when the user asks for a product's official logo/icon, brand icons for a cover, or verifying which icon belongs to which product.
In this repository139 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/caveman-learn/CLAUDE.mdCLAUDE.md
- adversarial-reviewSkill
- ai-repo-engineering-layoutSkill
- ai-session-material-minerSkill
- ai-usage-reportSkill
- ardot-effect-fallbackSkill
- audio-friendly-adaptSkill
- automation-resurrectionSkill
- book2vido-videoSkill
- boss-autopilotSkill
- canvas-designSkill
- cavecrewSkill
- caveman-commitSkill
- caveman-compressSkill
- caveman-discoverSkill
- caveman-evidence-reviewSkill
- caveman-exploreSkill
- caveman-helpSkill
- caveman-learnSkill
- caveman-manageSkill
- caveman-optimizeSkill
- caveman-reviewSkill
- caveman-setupSkill
- cavemanSkill
- caveman-statsSkill
- cc-switch-usage-auditSkill
- certification-submission-kitSkill
- comment-reply-playbookSkill
- concept-anchor-figureSkill
- conference-archiveSkill
- constitution-amendmentSkill
- content-format-auditSkill
- content-matrix-channel-auditSkill
- cross-repo-skill-curationSkill
- daily-judgment-briefSkill
- daily-reportSkill
- de-ai-flavorSkill
- desktop-ai-forensicsSkill
- discernment-nudgeSkill
- doc-translateSkill
- doubao-app-layer-archiveSkill
- effort-accountingSkill
- ego-browserSkill
- egress-allowlistSkill
- eval-skillsSkill
- evolve-skillsSkill
- exam-prep-pmpSkill
- fact-check-gateSkill
- fanout-mainline-ledgerSkill
- free-token-channel-auditSkill
- github-repo-gallerySkill
- git-identity-pinSkill
- git-push-in-sandboxSkill
- harness-governanceSkill
- harness-model-upgrade-auditSkill
- hidden-contract-auditSkill
- investigate-firstSkill
- ip-platform-fit-auditSkill
- lean-buildSkill
- The first 60 shown.
The file
Files
官方品牌图标取源(brand-icon-sourcing)
适用 / 不适用
适用:需要某产品的真实官方图标/logo——封面放品牌 logo、配图标注产品、对比图需要各品牌图标。
不适用:AI 生成图像(走 media-generation);只要文章氛围配图而非精确品牌标识时 ImageSearch 即可,无需本流程。
取源优先级(严格按序)
- iTunes Search API(首选)——来源统一、尺寸高清、卖家名可核验归属
- 官网静态资源 / favicon(备选)——注意 SPA 回落陷阱(见下)
- ImageSearch(禁作 logo 源)——返回的全是文章配图(带背景带文字),只能用于普通配图
第一步:iTunes Search API 取图
python3 - <<'PY'
import json, urllib.request, urllib.parse
for kw in ["千问办公", "WorkBuddy", "豆包"]: # 换成目标产品名
u = "https://itunes.apple.com/search?" + urllib.parse.urlencode(
{"term": kw, "country": "cn", "media": "software", "limit": 3})
d = json.loads(urllib.request.urlopen(u, timeout=25).read())
for r in d["results"]:
print(kw, "|", r.get("trackName"), "|", r.get("artistName"),
"|", r.get("artworkUrl100", "").replace("100x100bb", "512x512bb"))
PY要点:
country=cn锁中国区;artworkUrl100字符串把100x100bb替换为512x512bb(或 256/1024)即得高清官方图标- 读
artistName核验卖家归属(如 Tencent / 字节系公司名),卖家对不上 = 不是目标产品,弃用 - 多个候选产品名并行查,同源同尺寸,一次拿齐
第二步:官网抓取(仅 API 查不到时)
curl -sL 抓首页 HTML,grep og:image / favicon / .svg|.png 引用。下载后必须核验内容:透明底白字 PNG 在白底上"看似空白",需垫深色底再看。
陷阱清单(每条都是真实踩过的坑)
- 同名异产品:域名/名字相似 ≠ 同一产品。案例:
qoder.com是阿里 AI 编程平台 Qoder(绿色 logo),≠ 千问办公(QwenWork)。拿错 logo 与写错产品名是同一类事故。任何拿不准的候选,先 WebSearch 核实产品归属再用 - SPA 回落:JS 渲染站点的任何图标路径都可能原样返回首页 HTML(特征:返回
text/html、字节数与首页相同)。识别后即放弃该路径,换 API 或从 HTML 内部 grep 真实资源链接 - 无独立 App ≠ 无此产品:部分产品无独立 App Store 应用(如某些产品的桌面端/网页端形态)。查无结果时回退官网路径,不要据此怀疑产品真实性
- ImageSearch 误区:搜"XX 官方 logo"出来的全是文章配图,不能当封面图标用,别再试第二次
第三步:视觉核验(不可跳过)
完成判定查凭证不问印象——图标必须眼见为实:
- 把所有候选图标(含不同来源的同产品候选)写进一张并排 HTML,每个下方标注来源与候选名
- 用工作区渲染器出探针图(如有
tools/fig_fit.py:python3 tools/fig_fit.py 探针.html;无则任意 HTML→PNG 渲染或 PIL 拼图均可) - Read 探针图逐张核验:形状/配色/文字与该产品官方形象一致?卖家名与视觉是否互证?存疑候选直接弃用,宁缺毋错
第四步:落盘规范
- 核验通过的图标入发布包资产目录:
<发布包>/03_封面/_assets/(或对应配图的_assets/),HTML 以相对路径引用 - 文件命名
<产品>-logo.png,同产品多尺寸不重复存 - 在素材留档(如
07_作者素材/或资产目录内来源.md)记录来源 URL + 卖家名 + 核验日期,供后续事实回源
验证成功的标准
- 每个入库图标都有:卖家归属(artistName 或官网域名)+ 视觉核验记录(探针图 Read 结论)
- 正文/封面中出现的每个品牌名与其图标一一对应,无同名异产品混入
- HTML 引用路径在包内可解析,无绝对路径硬编码
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

