linkfox-aigc-imagegen-brand-gene-extract

linkfox-aigc-imagegen-brand-gene-extract is a skill for Claude Code, Codex from linkfox-ai/linkfox-skills. It costs 164 tokens per session (4,066 once invoked), scanned A, original, MIT.

A visual-brand analysis skill that studies product images and brand settings such as colour, font style, language, platform and region. It outputs structured brand guidance for other image-generation steps.

In plain words
What is it for?
Defining a brand’s visual style, extracting colours and tone from product images, and updating that guidance when brand settings change.
Why use it?
It gives a set of product images a consistent visual identity instead of leaving each image to use unrelated colours or styles.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Defining a brand’s visual style, extracting colours and tone from product images, and updating that guidance when brand settings change.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add linkfox-ai/linkfox-skills --skill linkfox-aigc-imagegen-brand-gene-extract
Clone the repo
git clone --depth 1 https://github.com/linkfox-ai/linkfox-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for linkfox-aigc-imagegen-brand-gene-extract

README.md
[![agentmods](https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract/github.svg)](https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract)
Your own site
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for linkfox-aigc-imagegen-brand-gene-extract

Your own site · 80×15
<a href="https://agentmods.dev/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract"><img src="https://agentmods.dev/badge/skills/linkfox-ai/linkfox-skills/linkfox-aigc-imagegen-brand-gene-extract.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 164 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,066 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00164 $0.04066
Opus 5 $0.00082 $0.02033
Sonnet 5 $0.00033 $0.00813
Haiku 4.5 $0.00016 $0.00407

Measured 12d ago against content hash fab6c6b4d43a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

linkfox-aigc-imagegen-brand-gene-extract scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/onboarding.py, scripts/save_brand_gene.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/linkfox-aigc-imagegen-brand-gene-extract/SKILL.md · 238 lines

How it starts

The opening of the file, as written. The whole thing — 238 lines — stays where its author put it; the contents beside it link to each section on GitHub.

品牌基因样式提取(Brand Gene Extract)

根据商品图片与用户品牌基因参数,提取统一的品牌视觉语言(Brand DNA),输出结构化 JSON 供下游原子技能消费。


适用场景

场景 说明
套图编排调用 linkfox-aigc-imagegen-cloth / linkfox-aigc-imagegen-product(套图编排路径)在步骤三中调用,为整套图定义统一视觉基因
品牌基因变更 用户修改主色调/字体/平台/地区后重新提取
首次品牌定义 上下文中尚无品牌基因结果时,首次提取

不适用

  • 已有完整 brandGeneJson 且无需变更时(直接复用,不重复调用本 skill)
  • 纯背景替换/抠图/合成等图片编辑操作
  • 非视觉类的品牌故事文案

输入参数

参数 类型 默认 说明
images list[image] 用户上传的商品图片列表(至少 1 张),用于分析商品色彩与气质
brandKey object 用户输入的品牌基因信息(见下方字段说明)

brandKey 字段说明

字段 类型 默认 说明
brandColor string "" 品牌主色(HEX 值),非空时直接使用,为空时自动提取
fontStyle string "" 字体风格,非空时直接使用,为空时自动提取
brandName string "" 品牌名称,用于品牌植入策略
language string "英文" 目标市场语言
platform string "亚马逊" 发布平台(Amazon/TikTok/Shopee 等)
salesRegion string "美国" 销售地区/国家

流水线步骤

步骤 1:参数解析与决策路由

  • 输入brandKeyimages
  • 操作
    1. 解析 brandKey 中各字段值
    2. 主色决策brandColor 非空 → 直接采用;为空 → 标记为"自动提取"
    3. 字体决策fontStyle 非空 → 直接采用;为空 → 标记为"自动提取"
    4. 填充默认值language 空则默认"英文";platform 空则默认"亚马逊";salesRegion 空则默认"美国"
    5. images 转为可访问 URL 列表(imageUrlList),供步骤 3 传入 textgen
  • 输出:决策路由表(哪些字段用户给定、哪些需自动提取)+ imageUrlList
  • 用途:指导步骤 2 的 prompt 组装

步骤 2:组装品牌视觉基因提取 prompt

  • 输入:步骤 1 的决策路由表、brandKey 全部字段

  • 操作:将以下品牌视觉基因提取指令与 brandKey 参数拼装为完整 prompt,传入步骤 3:

    角色:你是顶尖品牌视觉专家和创意总监,基于商品图片与参数,构建一套统一的视觉语言,确保品牌在不同场景下的高度一致性。

    A. 统一视觉主题(UNIFIED_VISUAL_THEME)

    1. Brand Color(品牌主色)

      • 定义一个具有"世界观"的核心色,而不仅仅是色板
      • 唯一性:全案只能定义 1 个核心 HEX 色值
      • 来源:必须考虑商品本身的颜色,具备极高审美
      • ⚠️ 黑白灰协议(CRITICAL):除非商品本身为黑白灰,否则禁止使用黑白灰作为主色,必须输出具体色值(如 #EAF86C)
    2. 背景策略(Background Strategy):必须完整输出以下 4 个子字段,缺一不可,每个都给出具体内容(不得留空、不得只写字段名):

      • 背景策略-风格定义:根据 salesRegion 做文化本土化的整体环境风格。追求 100% 摄影级写实环境,严禁分层背景图层感,侧重生活方式与情感共鸣。 示例:"现代北欧极简家居,原木与暖白色调,落地窗自然采光,符合美国中产审美"
      • 背景策略-场景关键词:逗号分隔的具体场景/道具关键词。 示例:"原木长桌, 亚麻桌布, 绿植, 陶瓷器皿, 晨光"
      • 背景策略-光影:明确的光线方向、色温与氛围(这是必填字段,最易被漏,务必输出)。 示例:"柔和自然侧光,暖色温 4000K,营造清晨慵懒氛围,轻微长投影增强立体感"
      • Brand Injection(品牌植入):品牌主色 / Logo / 标识元素如何自然融入场景(这是必填字段,最易被漏,务必输出)。 示例:"品牌主色作为抱枕/标签点缀色出现,Logo 以低饱和压印形式出现在道具上,不喧宾夺主"

Read the full file on GitHub · 238 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 238 lines · 164 tokens per session scan A fab6c6b4d43a

Subscribe to this mod's changes

linkfox-aigc-imagegen-brand-gene-extract is a skill published in the GitHub repository linkfox-ai/linkfox-skills (101 stars, last pushed 22d ago), licensed MIT. It adds 164 tokens to every session and 4,066 once invoked, about $0.0008 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

webgl-holographic-foil

A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.

nexu-io/open-design · 41 tokens

html-ppt-hermes-cyber-terminal

OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.

nexu-io/open-design · 53 tokens

html-ppt-taste-brutalist

16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).

nexu-io/open-design · 78 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ultragoal with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 52 tokens

accessibility

Consolidated accessibility skill entrypoint for WCAG 2.2, ARIA Authoring Practices, cognitive accessibility, Section 508, EN 301 549, design intent verification, and the Accessibility Planner workflow.

microsoft/hve-core · 47 tokens

make-resume

A Chinese-language tool for creating editable HTML resumes that can be changed in a browser and printed to PDF. It uses available resume templates when they are installed and otherwise provides a simpler fallback.

Hisn00w/ASu-skills · 86 tokens