/brand-forge:generate-graphic [subject to depict, e.g. "a mountain trail at dawn"]from brand-forge
Generates on-brand marketing graphics — hero images, ad creatives, backgrounds, or textures — via an image model, optionally stamped with a brand logo and caption. Requires provider key and network access.
Ships in brand-forge. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Generates an on-brand marketing graphic through an image model — the one opt-in feature that reaches the network — optionally stamped with the brand logo and a caption.
The generate-graphic skill is the opt-in raster engine. Everything else in brand-forge
(logos, social, docs) stays vector and zero-permission; this skill is the only path
that calls an external image provider, so it runs only when a user explicitly wants a
photographic or illustrative graphic. The generator builds a brand-aware prompt with
lib/raster.mjs, calls the provider with lib/genimage.mjs, and can composite a crisp
vector logo and caption over the result with lib/composite.mjs. Text is deliberately
kept out of the image and added as vector on top.
/brand-new. Read loads its color-system.json, typography.json, and visual-identity.md.BRAND_FORGE_RASTER=1 and a provider key (GEMINI_API_KEY by default, or OPENAI_API_KEY). The 30-preflight emitter surfaces this at session start.output/ directory.Verify both opt-in signals are set. If either is missing, stop, explain how to enable raster, and offer the vector path (generate-social or a template) instead, which needs neither.
Use Glob to locate the active brand directory, then Read and validate the profile with validateProfile.
Build the prompt with lib/raster.mjs (no network). It encodes the palette in words, the imagery style, and the tone, and turns the brand's don't-rules into an "Avoid:" clause. Warn the user when literal text is requested and route text-heavy work to the vector engine.
import { loadProfile } from '../../lib/brand.mjs';
import { buildRasterPrompt } from '../../lib/raster.mjs';
const profile = loadProfile(activeDir);
const prompt = buildRasterPrompt(profile, { subject: 'a mountain trail at dawn' });
Generate the image (the network call). The provider is swappable and failures retry with backoff, never leaving a half-written file:
import { generateImage } from '../../lib/genimage.mjs';
await generateImage({ prompt, outPath: 'output/northwind-hero.png', provider: 'gemini' });
Optionally composite the brand logo and a caption over the raster with lib/composite.mjs, which writes an SVG overlay referencing the PNG.
Hand the result to the visual-guardian subagent for a palette and legibility pass. Write the final files and report the saved paths.
A raster PNG under output/, plus an optional vector overlay:
output/northwind-hero.png
output/northwind-hero-overlay.svg
/brand-export.| Condition | Behavior |
|---|---|
BRAND_FORGE_RASTER unset | Stop; explain the opt-in and offer the vector alternative. |
| Provider key missing | Stop; name the expected environment variable and do not proceed. |
| User requests literal text in the image | Warn that models render text unreliably; route text to the vector engine. |
| Provider call fails | Retry with backoff; if it still fails, report the error and leave no partial file. |
Profile fails validateProfile | Report the offending field and stop. |
To troubleshoot a failed generation, verify the two opt-in signals with /brand-status, then re-run; check references/brand-raster-prompting.md to debug an off-brand result.
Example — hero background
/brand-make a hero image of a mountain trail at dawn
Builds a brand-aware prompt, generates output/northwind-hero.png, and offers to composite the logo over it.
Example — opt-in not enabled
/brand-make a photo background
With BRAND_FORGE_RASTER unset, the skill stops, explains how to enable raster, and offers a vector template instead.
Example — text routed to vector
/brand-make a graphic that says "Now hiring"
Warns that baked-in text renders poorly, generates the background here, and composes the words as a vector overlay on top.
references/brand-raster-prompting.md — how the prompt is built from the profile, why text stays out of the image, provider notes, and steering tips.lib/context/graphic-hero.png. Some marketplaces omit binary assets from that directory; if your copy did, view it at localplugins/plugins./brand-make command.What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
branding, image-generation, marketing, raster, opt-in, brand-forge
4 skills in this plugin
/generate-doc-templateGenerates on-brand document and deck templates — letterhead, slide, and
one-pager — as SVG from the active brand profile, with editable title,
subtitle, and body zones. Vector output needs no account, key, or network.
Use when a user asks for a letterhead, a slide or deck master, or a branded
one-pager.
Trigger with "make a letterhead", "branded slide", or "/brand-make letterhead".
/generate-logoGenerates on-brand, editable SVG logo assets — wordmark, monogram, and
favicon — from the active brand profile, reusing its exact palette and
heading font. Vector output needs no account, key, or network.
Use when a user asks for a logo, wordmark, icon, monogram, or favicon.
Trigger with "make a logo", "generate a wordmark", or "/brand-make logo".
/generate-socialGenerates platform-sized, on-brand social templates as SVG from the active
brand profile, with editable headline, subhead, and call-to-action zones.
Vector output needs no account, key, or network.
Use when a user asks for an Instagram post or story, an Open Graph or social
card, a YouTube thumbnail, or a banner.
Trigger with "make an Instagram post", "social card", or "/brand-make social".
2 plugins ship this exact skill · first indexed Jul 15, 2026
npx claudepluginhub jeremylongshore/tons-of-skills-marketplace --plugin brand-forgeOther plugins' skills for the same job