brand-guideline-extraction

brand-guideline-extraction is a skill for Claude Code, Codex from popjam-io/skills. It costs 123 tokens per session (1,996 once invoked), scanned A, original, MIT.

A process for deriving a brand style guide from existing design assets such as social posts, ads, banners, presentations, and videos. It records recurring visual and verbal patterns for reuse.

In plain words
What is it for?
Use it to inspect a group of brand assets, document the brand’s style, and create a reusable prompt for generating on-brand images.
Why use it?
It turns a scattered collection of examples into clearer rules, variations, and exceptions, while showing where the available examples may be incomplete.

Skill for Claude CodeCodex

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

Part of the popjam-skills plugin — 6 skills shipped together

Good fit Use it to inspect a group of brand assets, document the brand’s style, and create a reusable prompt for generating on-brand images.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/popjam-io/skills/brand-guideline-extraction
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 popjam-io/skills --skill brand-guideline-extraction
Clone the repo
git clone --depth 1 https://github.com/popjam-io/skills

Made for: Claude Code, Codex.

Or install popjam-skills, the plugin that ships this one along with the rest of its 6 skills.

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 brand-guideline-extraction

README.md
[![agentmods](https://agentmods.dev/badge/skills/popjam-io/skills/brand-guideline-extraction/github.svg)](https://agentmods.dev/skills/popjam-io/skills/brand-guideline-extraction)
Your own site
<a href="https://agentmods.dev/skills/popjam-io/skills/brand-guideline-extraction"><img src="https://agentmods.dev/badge/skills/popjam-io/skills/brand-guideline-extraction/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 brand-guideline-extraction

Your own site · 80×15
<a href="https://agentmods.dev/skills/popjam-io/skills/brand-guideline-extraction"><img src="https://agentmods.dev/badge/skills/popjam-io/skills/brand-guideline-extraction.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 123 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,996 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.
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.00123 $0.01996
Opus 5 $0.00062 $0.00998
Sonnet 5 $0.00025 $0.00399
Haiku 4.5 $0.00012 $0.00200

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

Security

Grade A, and why

brand-guideline-extraction 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/extract_frames.py, scripts/extract_palette.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/brand-guideline-extraction/SKILL.md · 86 lines

How it starts

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

Brand Guideline Extraction

Reverse-engineer a brand's visual and verbal DNA from existing design assets, and codify it so a human designer or a generative pipeline can reproduce the look and feel.

The core insight: a brand guideline extracted from N assets is only as good as (a) how representative the corpus is, and (b) how rigorously you separate rules (what the brand always does) from variations (what it sometimes does) and exceptions (one-offs). The whole workflow is built around that separation.

Work through five phases in order. Phases 2's subagent fan-out is the expensive step; everything else is cheap.

Phase 1 — Asset inventory

Locate the assets. Usually the user provides a folder; if they name external sources (Meta Ad Library, a website, social profiles) gather what's accessible first, but never block on missing sources — work with what exists and note coverage gaps in the final document.

Build work/inventory.json, one entry per asset:

{"file": "path", "kind": "image|video|source_file", "width": 1080, "height": 1920,
 "format_class": "square|portrait|story|landscape", "content_type": "best guess: product-ad|announcement|seasonal|job-ad|...",
 "campaign_hint": "from filename/folder", "date_hint": "from filename if present"}

Folder names and filenames are metadata — Turkish, German, or any-language campaign names, dimensions in filenames ("1080x1920px"), dates, and platform markers ("META", "Google", "Pmax") all go into the inventory. Keep assets from different pipelines (e.g., Meta vs. Google vs. organic) distinguishable: they sometimes follow different sub-systems, and mixing them silently muddies the frequency analysis.

  • Videos: extract 3 frames each (10%/50%/90%) with scripts/extract_frames.py — the 10% frame shows the hook, 50% the layout system, 90% the endcard/CTA convention.
  • Design source files (.psd/.ai/.aep/.fig): don't skip them — run strings file.psd | grep -iE "font|typeface" | sort -u (and similar) to recover actual font names, which vision analysis can only approximate. Also record their layer/file naming if informative.
  • Corpus size: 30–60 assets is the sweet spot. Under ~15, tell the user the guideline will be provisional and which content types are missing. Over ~80, sample proportionally across content types and dates rather than analyzing everything.

Read the full file on GitHub · 86 lines

Files

What ships with it

4 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 · 86 lines · 123 tokens per session scan A acfde14eec58

Subscribe to this mod's changes

brand-guideline-extraction is a skill published in the GitHub repository popjam-io/skills (3 stars, last pushed today), licensed MIT. It adds 123 tokens to every session and 1,996 once invoked, about $0.0006 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-31.

Related

Other skills, from other repositories

visual-brand-kit

Create visual identity systems for AI-generated content: colors, typography feel, photography style, composition rules, and prompt presets. Triggers on brand kits, visual guidelines, image style, and brand photography.

genfeedai/skills · 44 tokens

frontend-slides

Create stunning, animation-rich HTML presentations from scratch or by converting PowerPoint files. Use when the user wants to build a presentation, convert a PPT/PPTX to web, or create slides for a talk/pitch. Helps non-designers discover their aesthetic through visual exploration rather than abstract choices.

gooseworks-ai/goose-skills · 63 tokens

create-workflow-diagram

Create FigJam/Miro-style workflow diagrams as high-quality PNG images from plain-text workflow descriptions. Renders beautiful HTML diagrams with connected nodes, arrows, and labels, then screenshots them for sharing.

gooseworks-ai/goose-skills · 45 tokens

goose-graphics

Portable visual skill pack for the Agent Skills ecosystem (Claude Code, Claude Desktop, Claude Cowork, Claude Design, Goose, Cursor, Codex). Discovers community-published styles + formats via the gooseworks CLI, runs an extract-style workflow on reference images, and exports rendered PNGs via Playwright.

gooseworks-ai/goose-skills · 67 tokens

create-chatgpt-mockup

Render pixel-accurate ChatGPT mobile (iOS) screen mockups in light mode from a thread JSON. Supports user text bubbles, user image attachments, assistant markdown prose, citation chips, the OpenAI spiral logo, the Apps-SDK GPT chip in the composer, and three header styles (model-tag, plain title, "Get Plus"). Fixed…

gooseworks-ai/goose-skills · 90 tokens

create-imessage-mockup

Render pixel-accurate iMessage screenshot mockups (DM or group) from a thread JSON. Supports minimal, with-keyboard, and full iPhone 15 Pro frame variants. Outputs HTML + PNG.

gooseworks-ai/goose-skills · 49 tokens