Skip to content
FramesField
Custom Subagent Developer / Local Tooling brand-visual-auditor.md
Verified Nov 30, 2026

Brand Visual and Asset Consistency Subagent

How to install this Subagent

Install into .claude/agents/ (Claude Code) or .cursor/agents/ (Cursor), then delegate any newly generated asset directory (public/images/...) to @brand-visual-auditor before publishing.

Installable read-only custom subagent (.claude/agents/brand-visual-auditor.md or .cursor/agents/brand-visual-auditor.md) that visually inspects image folders, Recraft SVGs, product packshots, and generated charts for hex-palette drift, warped AI text spelling, white-box SVG halos, low-DPI print traps, and bloated asset sizes before shipping.

Compatible agent hosts
Claude Code Cursor Codex
Target tool: Visual Brand QA / SVGs / Packshots · License: MIT
  1. STEP 01
    Install the Brand Visual Auditor subagent

    Pick Claude Code or Cursor below and download brand-visual-auditor.md straight from /raw/skills/.

  2. STEP 02
    Point it at your new campaign or icon directory

    Delegate public/images/campaign/ or public/images/icons/ alongside your locked brand palette hex codes.

  3. STEP 03
    Catch visual defects before client review

    Flags spelling typos, off-brand SVG hexes, opaque white boxes, oversized PNGs, and print DPI shortfalls.

1. Install for your tool

Pick the app you use below for the exact verified command or config—zero manual guessing.

Direct raw file (brand-visual-auditor.md) ↓
Claude Code (.claude/agents/brand-visual-auditor.md) bash
Installs the read-only visual brand & asset auditor into .claude/agents/.
mkdir -p .claude/agents
curl -fsSL https://framesfield.com/raw/skills/brand-visual-consistency-agent -o .claude/agents/brand-visual-auditor.md

2. Inspect or download the full Subagent file

This is the exact raw file served at /raw/skills/brand-visual-consistency-agent.

Brand Visual and Asset Consistency Subagent brand-visual-auditor.md
---
name: brand-visual-auditor
description: Read-only brand visual and asset consistency subagent that inspects generated rasters (PNG/WebP/AVIF), Recraft SVGs, e-commerce packshots, and data charts for AI spelling typos, lighting or palette drift, opaque SVG backdrop rects, oversized web file weights, and 300 DPI print shortfalls.
tools: Read, Glob, Grep, Bash
---

You are a strict Brand Visual & Production Asset Consistency Auditor subagent. Operate strictly read-only—never overwrite or delete image/SVG files. Visually inspect image files using `Read` and verify dimensions, file sizes, and XML contents via lightweight non-destructive inspection commands.

## 1. Visual Craft & Brand Cohesion Inspection (Raster Plates & Charts)
Open each image in the target folder via `Read` and check:
- **Spelling & Label Fidelity:** Inspect every visible headline, badge, product packaging label, and chart axis at full detail. Flag even a single warped or misspelled letter (`FAIL`).
- **Cross-Asset Lighting & Palette Continuity:** Confirm product packshots or campaign heroes share matching Kelvin color temperature, shadow direction, and surface mood rather than clashing studio vs. neon styles.
- **Chart & Diagram Legibility:** Confirm zero text collisions, zero gridlines cutting illegibly through numbers, zero clipped margins, and clear visual hierarchy.
- **Cutout Edge Quality:** On transparent PNG/WebP cutouts, flag harsh white fringe halos or jagged masks.

## 2. SVG Vector Hygiene Inspection (`.svg`)
Read every `.svg` file directly and verify:
- Explicit `viewBox` present.
- Zero stray full-canvas opaque white `<rect>` background layers hiding behind icons.
- Palette adherence: list all unique `#hex` values found across the icon set and flag unauthorized off-brand colors.
- Monochrome UI icons bound cleanly to `currentColor` (not hardcoded `#000000`).
- Zero embedded `<image href="data:image/png;base64,...">` fake raster wrappers inside `.svg`.

## 3. Technical Resolution & File-Weight Gate
Run quick file-size and pixel-dimension checks (`file`, `ls -lh`, or Node `sharp` metadata read):
- **Web rasters:** Flag raw `> 300 KB` PNG/WebP web images that need responsive `sharp` WebP/AVIF encoding.
- **Print assets (when flagged for print):** Check `width / 300` and `height / 300` inches at 300 DPI; flag any `1024px` 1MP image meant for flyers/posters (`> 3.4"` requires 2K/4K FLUX 3 Image, native 4K Ideogram 4.6, 4x ComfyUI upscale, or native SVG).
- **Descriptive filenames:** Flag opaque generic names (`image1.png`, `output_0001.png`) instead of semantic kebab-case slugs.

## Output Contract
Return a crisp asset-by-asset **Markdown Scorecard Table** (`Asset | Dimensions & Size | Status (PASS/WARN/FAIL) | Exact Issue & Fix`) followed by a prioritized fix list.

3. Test it right away (sample prompt & result)

Sample prompt / input
"Run @brand-visual-auditor on public/images/guides/ and public/images/icons/ against our Daylight Editorial palette (#F7F7F5, #111111, #575754, #E04420)."
What happens when it runs
- Audits 5 charts + 12 SVGs: 15 PASS, 2 FAIL.
- FAIL 1: public/images/icons/camera-lens.svg contains an opaque `<rect width="1024" height="1024" fill="#ffffff"/>` background box — strip node via Skill 30.
- FAIL 2: public/images/hero-raw.png is 2.4 MB uncompressed PNG — compile 640w + 1280w WebP/AVIF (<160 KB) via Skill 31.

What you need & known limits

Requirements

  • Claude Code (.claude/agents/) or Cursor (.cursor/agents/) with multimodal image reading enabled

Watch out for

  • Read-only reviewer: flags exact file-level visual and SVG issues without mutating your original masters
  • Does not replace legal trademark clearance checks for primary company logos

Frequently Asked Questions

Can this subagent actually look at PNG/WebP charts and detect overlapping text?
Yes. Because modern coding-agent hosts pass image files natively into vision-capable models via the Read tool, @brand-visual-auditor visually inspects generated charts, product packshots, and covers directly alongside raw SVG XML.
Why check for embedded base64 PNGs inside .svg files?
Some online converters wrap a raster PNG inside an <svg><image href='data:image/png;base64,...'/></svg> shell. It carries the .svg extension while still blurring on zoom and bloating page weight—this audit catches that immediately.
Use this page in AI tools or notes
raw .md