skills/get-brand-components/SKILL.md
Capture a brand's visual design system from its website and build a reusable component kit. Walks key pages on a domain (screenshots + HTML via the Octave scrape tool), derives design tokens (colors, type, spacing, radius, shadow), and produces a minimal component library (buttons, cards, headers, stats, tables, badges, hero, footer) as a self-contained HTML reference plus CSS tokens. Use when the user says "get brand components", "capture the brand", "build a component kit for <domain>", "make outputs look like <company>", or wants other skills to generate on-brand HTML for a target company.
npx skillsauth add octavehq/lfgtm get-brand-componentsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Walks the key pages of a target website, captures screenshots and HTML, derives the brand's design system (colors, typography, spacing, components), and produces a reusable component kit: design tokens (tokens.css), a self-contained component gallery (components.html), a machine-readable manifest (manifest.json), and a human-readable spec (brand-kit.md). Other skills (one-pagers, microsites, battlecards, decks, two-pagers) load this kit to generate outputs that look and feel like the target brand.
/octave:get-brand-components <domain-or-url> # Walk the site and build a brand component kit
/octave:get-brand-components <domain> refresh # Force a fresh re-walk, overwriting the cached kit
/octave:get-brand-components list # List saved brand kits
/octave:get-brand-components show <slug> # Display a saved kit (and open the gallery)
/octave:get-brand-components export <slug> # Zip the cached kit to ~/Desktop/<slug>-brand-kit.zip
/octave:get-brand-components delete <slug> # Remove a saved kit
<domain-or-url> accepts acme.com, https://www.acme.com, or https://www.acme.com/product (a specific seed URL).
Kits are cached at ~/.octave/brands/<slug>/ and reused by default — building a kit costs scrape credits + time, so don't rebuild what you already have. When a kit for the domain already exists, the default action is to load and reuse it (summarize + open the gallery), NOT re-walk the site. Re-walk only when the user explicitly asks (refresh, "rebuild", "re-scrape") or the kit is clearly stale. This applies whether the skill is called directly or by another skill needing the brand: check the cache first, reuse on hit, only build on miss.
Brand kits are stored under ~/.octave/brands/<slug>/:
~/.octave/brands/<slug>/
brand-kit.md # Human-readable design system spec + usage guide
tokens.css # :root design tokens (the reusable core)
components.html # Self-contained component gallery (live previews + snippets)
manifest.json # Machine-readable: slug, domain, pages, tokens summary, date
<slug>-logo.svg # Real logo, downloaded + inlined (not hotlinked)
icons.json # Real page icons lifted verbatim {name: {viewBox, inner}}
fonts/ # Real webfont files (.woff2/.woff) for base64 @font-face embedding
images/ # Real product screenshots + customer logos (for split/logos blocks)
screenshots/ # Reference PNGs of the walked pages
<slug> is the registrable domain, lowercased and hyphenated (e.g. acme.com → acme, acme-corp.io → acme-corp).
Primary capture tool — the Octave scrape_website MCP tool (mcp__claude_ai_Octave__scrape_website):
html or markdown, and optionally a full-page screenshot.format: "html" and includeScreenshot: true — you need both the DOM (for colors, fonts, structure, real class names) and the rendered visual (for layout, gradients, button shape, spacing rhythm the DOM hides).found: false (no charge) when a page is unreachable — keep the page count tight (≤ 6 pages).screenshotUrl (a signed URL). When present, persist it to screenshots/ with curl so the kit has reference images.Fallback when the Octave MCP scrape tool is unavailable: use WebFetch for text/HTML only and tell the user "No screenshot capture available — the kit is derived from HTML only, so visual fidelity (gradients, spacing, button shape) is lower. Connect the Octave MCP server for screenshot-backed analysis." Still produce the kit.
The whole value of this skill is that output looks like it came off the page, not "close-ish." A designer at the target company will instantly reject tasteful recreations as "AI slop." So the rule is: lift the brand's REAL atomic elements, never eyeball them.
brand-kit.md.https://www.<domain> if only a bare domain is given; keep an explicit URL as the seed).<slug> from the registrable domain.~/.octave/brands/<slug>/ (has manifest.json), reuse it by default: print a one-line summary from manifest.json, open the gallery, and stop — do not re-walk or spend scrape credits. Only proceed to Step 2 when the user passed refresh (or explicitly asked to rebuild/re-scrape), or the kit is missing/partial/stale. Mention they can pass refresh to rebuild.Scrape the homepage first (format: html, includeScreenshot: true). Then choose up to 5 more high-signal pages — these are where a brand's design system is most fully expressed. Discover them from the homepage's nav/footer links and prefer, in order:
/) — hero pattern, primary CTA, nav, color story (always)Skip pages that 404 or duplicate a pattern you already have. Aim for coverage of distinct component types, not page count. Report progress:
Walking <domain>…
✓ / (hero, nav, primary CTA)
✓ /product (feature cards, icon tiles)
✓ /pricing (plan cards, comparison table)
✓ /learn/post/x (article typography, callouts)
✓ /customers (testimonials, stat blocks)
Captured 5 pages. Deriving the design system…
For each scraped page, if screenshotUrl is present, save it:
mkdir -p ~/.octave/brands/<slug>/screenshots
curl -s "<screenshotUrl>" -o ~/.octave/brands/<slug>/screenshots/<page-slug>.png
The scrape gives you rendered HTML + a picture; the exact values live in the stylesheet bundle. Fetch and mine it directly. Use a browser User-Agent so you get the real markup.
UA="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124 Safari/537.36"
curl -s -A "$UA" https://www.<domain>/ -o /tmp/<slug>_home.html
# Next.js sites: CSS at /_next/static/css/*.css . Other stacks: grep the <link rel=stylesheet> hrefs.
for f in $(grep -oE '/_next/static/css/[^"]+\.css' /tmp/<slug>_home.html | sort -u); do
curl -s -A "$UA" "https://www.<domain>$f" >> /tmp/<slug>_all.css; echo >> /tmp/<slug>_all.css
done
Then extract the real values (don't transcribe a vibe):
grep -oE 'font-family:[^;}]+' and the @font-face/--font-* vars. Capture the true family and weight for headings vs body (many brands use a medium-weight display face for headings — defaulting to bold-700/800 would be wrong). Then EMBED the real webfont so output renders pixel-exact instead of in a fallback (a wrong heading face is the #1 "AI slop" tell):
@font-face src:url(...) for the heading family from the CSS (grep -oE "@font-face\{[^}]*}" all.css | grep -i <family>), curl the .woff2/.woff into ~/.octave/brands/<slug>/fonts/, then base64-embed it as an @font-face with a data: URL in tokens.css / the output <style>. Example:
curl -s -A "$UA" "https://www.<domain>/_next/static/media/<hash>.woff" -o ~/.octave/brands/<slug>/fonts/<family>-<wght>.woff
B64=$(base64 -i ~/.octave/brands/<slug>/fonts/<family>-<wght>.woff) # embed as: @font-face{font-family:'<Family>';src:url(data:font/woff;base64,$B64) format('woff');font-weight:...;font-display:swap}
brand-kit.md.button-primary/secondary/tertiary), the type scale (Heading*, Text*, Label*), cards. Copy exact border-radius, padding, box-shadow, background, inset rings, transitions.--brand-btn-{sm,md,lg}-{height,pad,font,radius} tokens and show all sizes in the gallery.grep -oE '#[0-9a-fA-F]{6}' all.css | tr 'A-F' 'a-f' | sort | uniq -c | sort -rn | head -30. Map the top hits to roles; confirm against the screenshot.background-clip:text), letter-spacing, italics, all-caps?--brand-emphasis: color #582ecc on light / #a384f6 on dark, same weight, no underline) and apply that, with the light/dark contrast variants below.background-image/gradient for things like highlighted-word underlines and icon-tile fills (these are what make it unmistakable). Capture light AND dark variants of each treatment — brands swap accent colors per background. (A brand's highlighted text might be a saturated accent on light but flip to white on dark, keeping the same underline in both — its CSS will carry both color rules.)max-width + responsive gutters, and the section vertical padding (grep the hero/section wrapper rules; section padding is often 4–6rem top/bottom). Brands look professional because they're airy — generous section padding, large headings, comfortable line-height. Reproduce that scale; do not pack content edge-to-edge.eyebrow label → balanced heading (one highlighted word) → muted subhead). Mirror the brand's actual pattern on every section.box-shadow:0 0 100px #01f846-style), gradient borders (border-image:linear-gradient(...) or a mask ring), layered surfaces, and any hero graphic / floating product chips. Capture these and use them — a dark hero must have glow + a graphic element, not be a plain block.--brand-texture (layered above the glow on dark bands; --brand-hero-texture for light heroes). Reusable CSS recipes — tint the rgba to the brand:
radial-gradient(rgba(255,255,255,.07) 1px, transparent 1.4px) 0 0/22px 22pxlinear-gradient(rgba(255,255,255,.05) 1px,transparent 1px) 0 0/30px 30px, linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px) 0 0/30px 30pxfeTurbulence data-URI (<rect filter=fractalNoise opacity='0.12'>) — premium tooth on dark/gradient bands
Tune intensity per type: line/dot grids read at ≈5% alpha, but grain needs ≈10–14% (at 6% it's invisible at normal size). Keep it subtle enough not to hurt contrast, and confirm against the source — don't add texture a brand doesn't use.~1.5–2.5rem), whether sections float on a soft canvas (rounded sheet/cards) vs full-bleed, and any curved/wavy dividers between bands. Never emit a sharp full-bleed rectangle when the brand rounds its sections — round the hero/band/footer corners to the section radius (e.g. wrap the doc in a rounded sheet with overflow:hidden so even the top hero corners are rounded). Hard right-angle edges against the page are an instant "not from them" tell.2.5–4rem). Scaling them down to ~17px kills the brand feel; keep them big.Lift the real assets (download + inline, never hotlink):
<img alt="…Logo"> or the nav logo <svg>; curl it to ~/.octave/brands/<slug>/ and inline it. Capture BOTH lockups: the dark-text version for light backgrounds AND the white/light version for dark bands (look for logoFullWhite, logo-white, the nav logo on a dark hero, etc.). Use the right one per surface.
filter:brightness(0) invert(1) — it flattens a detailed/colored mark into a featureless white blob. Fetch the brand's actual inverse lockup instead.alt="logo" for many client logos in social-proof rows — none of which are the brand.) When the nav logo is ambiguous or you keep pulling client logos, the favicon / og:image is usually the reliable brand mark — and og:image often shows the full lockup. Prefer the asset actually rendered in the live nav, confirmed by eye.<svg> icons (match by <title>), save to ~/.octave/brands/<slug>/icons.json, and reuse them verbatim in cards/tiles. Do not substitute generic icons.Work primarily from the real CSS (Step 2.5) — the screenshots only confirm layout and visual truth. Extract:
3a. Color tokens. Find the real values, don't guess:
--color-*, :root blocks), inline style colors, background, color, border, fill/stroke, gradient stops, and box-shadow colors.bg / bg-alt (page + alternating section backgrounds)surface (card background), surface-dark (dark-section card)ink (primary text), muted (secondary text), on-dark text colorprimary (main brand/CTA color) + primary-ink (text on primary)accent / highlight (used to emphasize words, links, underlines)border, border-softpositive / negative (for ✓/✕ comparisons) if present, else derive tasteful defaults from the palettebackground: valueband token set.3b. Typography.
font-family. Note the web-font source if linkable (Google Fonts name, or a CDN/@font-face URL) so other skills can <link> it; otherwise pick the closest common fallback and say so.3c. Shape & depth.
border-radius.box-shadow.3d. Component inventory. Identify which of these the brand uses and how it styles each: buttons (primary/secondary/tertiary), badge/pill/eyebrow, card (plain + icon-tile), icon tile, section header (eyebrow + title + highlight + subtitle), hero/banner band, stat/metric block, comparison/feature table, quote/testimonial, checklist, CTA block, footer/brand bar, logo/wordmark treatment.
Quote a concrete observation for each major token (e.g. "primary CTA is a pill in the brand's accent color, radius 999px, with a trailing arrow") so the kit is grounded, not invented.
tokens.cssThe reusable core. A single :root block plus a web-font @import/comment. Use neutral, brand-agnostic token NAMES (so consuming skills reference the same names across brands) with this brand's VALUES. Template:
/* Brand tokens — <Company> (<domain>) — generated <date> */
/* Font: <web-font name + link or @font-face, or note the fallback> */
:root {
/* color */
--brand-bg: <hex>;
--brand-bg-alt: <hex>;
--brand-surface: <hex>;
--brand-surface-dark: <hex>;
--brand-ink: <hex>;
--brand-muted: <hex>;
--brand-on-dark: <hex>;
--brand-primary: <hex>;
--brand-primary-ink: <hex>;
--brand-accent: <hex>;
--brand-border: <hex>;
--brand-border-soft: <hex>;
--brand-positive: <hex>;
--brand-negative: <hex>;
--brand-band: <full gradient or solid for dark hero/footer>;
/* type */
--brand-font-heading: <stack>;
--brand-font-body: <stack>;
--brand-h1: <size>; --brand-h2: <size>; --brand-h3: <size>;
--brand-body: <size>; --brand-eyebrow: <size>;
--brand-tracking-heading: <em>;
/* exact weights per role (capture the real values — many brands use medium display, not bold) */
--brand-weight-heading: <e.g. 500>;
--brand-weight-body: <e.g. 400>;
--brand-weight-label: <eyebrow/label weight, e.g. 600>;
--brand-weight-emphasis: <weight of emphasized words; equal to body if emphasis is color-only>;
/* emphasis mechanism — how key words stand out (color / weight / size / decoration / none) */
--brand-emphasis-ink-on-light: <hex or `inherit` if not color-based>;
--brand-emphasis-ink-on-dark: <hex or `inherit`>;
--brand-emphasis-decoration: <underline-bar | wash | gradient-text | none>;
/* shape */
--brand-radius-sm: <px>; --brand-radius: <px>; --brand-radius-pill: 999px;
--brand-radius-section: <big radius for section containers, e.g. 28px>;
--brand-shadow: <box-shadow>;
/* button size scale (height / padding / font / radius per size) */
--brand-btn-sm-height: <px>; --brand-btn-sm-pad: <y x>; --brand-btn-sm-font: <px>; --brand-btn-sm-radius: <px>;
--brand-btn-md-height: <px>; --brand-btn-md-pad: <y x>; --brand-btn-md-font: <px>; --brand-btn-md-radius: <px>;
--brand-btn-lg-height: <px>; --brand-btn-lg-pad: <y x>; --brand-btn-lg-font: <px>; --brand-btn-lg-radius: <px>;
/* layout & rhythm (the composition layer — keep it airy) */
--brand-container: <max-width, e.g. 1440px>;
--brand-pad-section: <generous section vertical padding, e.g. 56-96px>;
--brand-pad-card: <px>; --brand-gap: <px>;
/* depth (what stops it looking flat) */
--brand-glow: <radial-gradient glow layer(s) for dark bands>;
--brand-tile-glow: <icon-tile box-shadow glow, e.g. 0 8px 30px -6px rgba(...)>;
--brand-grad-border: <linear-gradient used for gradient borders>;
/* texture — a subtle pattern layered above the glow on dark bands (--brand-hero-texture for light heroes). Recipes below. */
--brand-texture: <dot grid | line grid | grain | none>;
/* ---- foundations (capture the brand's scales, not just one value each) ---- */
/* full neutral ramp — brands define 50→950; collapsing to 3 greys loses fidelity */
--brand-gray-50: <hex>; --brand-gray-100: <hex>; --brand-gray-200: <hex>;
--brand-gray-300: <hex>; --brand-gray-400: <hex>; --brand-gray-500: <hex>;
--brand-gray-600: <hex>; --brand-gray-700: <hex>; --brand-gray-800: <hex>;
--brand-gray-900: <hex>; --brand-gray-950: <hex>;
/* semantic states (not just positive/negative) — each with a weak/bg tint */
--brand-success: <hex>; --brand-success-weak: <hex>;
--brand-warning: <hex>; --brand-warning-weak: <hex>;
--brand-error: <hex>; --brand-error-weak: <hex>;
--brand-info: <hex>; --brand-info-weak: <hex>;
/* spacing scale (4px base or the brand's own step) */
--brand-space-1: 4px; --brand-space-2: 8px; --brand-space-3: 12px; --brand-space-4: 16px;
--brand-space-5: 24px; --brand-space-6: 32px; --brand-space-7: 48px; --brand-space-8: 64px;
/* elevation scale (the renderer uses sm on cards, md on hover, xl on the sheet) */
--brand-shadow-sm: <subtle>; --brand-shadow-md: <card hover>; --brand-shadow-lg: <raised>; --brand-shadow-xl: <sheet>;
/* motion — read from the brand's CSS transitions */
--brand-ease: <e.g. cubic-bezier(.2,0,0,1)>; --brand-duration: <e.g. .18s>;
/* iconography — the brand's icon stroke weight (renderer applies it to icon tiles) */
--brand-icon-stroke: <e.g. 1.5>;
/* signature gradients captured as named tokens */
--brand-gradient-1: <linear/radial gradient>; --brand-gradient-2: <…>;
}
Light/dark theme pairing. If the brand ships both a light and dark theme (common — Grafana, many dev tools), capture both. Put the default mode in tokens and the opposite-mode overrides in manifest.render.tokensDark (or tokensLight) — only the tokens that differ. The renderer's --theme light|dark merges them, so one kit renders either mode. (A brand that is inherently single-mode — e.g. all-dark — just uses tokens.)
kit_base.css consumes the new scales where they change output: elevation (shadow-sm/md/xl), motion (button/card transitions + prefers-reduced-motion), icon stroke, and responsive breakpoints (grids stack and gutters shrink ≤720px). The ramp / spacing / semantic / gradient tokens are captured as kit metadata and used by components/exports that need them. All are additive with fallbacks, so kits missing them still render.
components.html (the template reference library)A self-contained HTML file (inlines the tokens from Step 4 — no external CSS dependency, web fonts via <link> allowed) that renders the minimal component kit. This is both a visual reference AND a copy-paste source for other skills. For each component show a live preview and, directly beneath it, the HTML snippet in a <pre><code> block.
Build these components, styled with the brand's tokens, composition, and depth. Atoms aren't enough — a kit of correctly-colored buttons on a cramped flat page still reads as "AI slop." Include the layout primitives:
Composition primitives (the part that makes it look designed):
--brand-radius-section container with glow, used to break up white sections and add rhythm.Atoms & blocks: 4. Buttons — primary, secondary, tertiary/ghost (real anatomy: pill/rect, arrow, size). 5. Badge / Pill / Eyebrow — the small label treatment (match case — many brands are sentence-case, not all-caps). 6. Card — plain + a card with an icon tile (real size, gradient/tint, and any glow shadow the brand uses). 7. Gradient-border element — if the brand uses gradient borders / glowing chips, include one. 8. Stat / metric block, Comparison ✕-vs-✓, Quote, Checklist, CTA band, Footer / brand bar — each in the brand's treatment. 9. Color + type swatches — token reference at the top, headings rendered at their real large sizes.
Faithful over minimal — it's a kit, not a clone of the whole site, but it must capture the brand's spacing, hierarchy, and depth, not only its colors. Inline the real logo SVG saved in Step 2.5 (downloaded, not hotlinked) and the brand's real icons from icons.json — do not recreate the wordmark as plain text or swap in lookalike icons. Match the real font weight, button anatomy, and signature treatments (highlight underline, gradient tiles). Add print-color-adjust: exact on dark bands so the components survive PDF export when reused in print collateral.
manifest.jsonMachine-readable summary so other skills can discover and load the kit programmatically:
{
"slug": "<slug>",
"company": "<Company Name>",
"domain": "<domain>",
"generated": "<YYYY-MM-DD>",
"pages": ["/", "/product", "/pricing", "..."],
"fonts": { "heading": "<name>", "body": "<name>", "link": "<webfont url or null>" },
"tokens": { "primary": "<hex>", "accent": "<hex>", "bg": "<hex>", "ink": "<hex>", "band": "<value>" },
"hasDarkBand": true,
"buttonStyle": "pill-with-arrow",
"files": { "tokens": "tokens.css", "components": "components.html", "spec": "brand-kit.md" },
"render": { "...": "the machine token contract the renderer consumes — see 'Generating collateral from a kit'" }
}
Always include the render block (the renderer's contract): hasDarkBand, docWidth, heroVisual, webfonts, fonts[], logo{onDark,onLight,lockup}, and the full --brand-* tokens map. Without it the kit is viewable but not renderable into collateral. See Generating collateral from a kit for the field list.
brand-kit.mdHuman-readable spec + usage guide. Sections:
# Brand Kit: <Company> (<domain>)
**Source pages:** <list>
**Generated:** <date>
## Brand at a glance
<2–3 sentences: the visual personality — e.g. "Dark, technical, modern. Mint-on-navy with electric-blue highlights. Tight, confident headings; clean white content sections.">
## Color tokens
<table: token name | hex | role / where used>
## Typography
<heading + body fonts, scale, AND the **emphasis mechanism** — exactly how key words are emphasized (color? weight? size? underline/wash/gradient-text? none?), with light/dark variants. Be explicit so consumers don't bolt on a device the brand doesn't use.>
## Shape & depth
<radius, shadow, spacing rhythm, button anatomy>
## Components
<one line per component on what's distinctive about the brand's version>
## Signature moves
<2–4 things that make output unmistakably this brand — e.g. "highlight one key word per heading in --brand-accent", "dark hero + dark footer bands", "icon tiles in a tinted rounded square">
## Using this kit in other skills
<the consumption guide — see the section below>
Don't ship blind. Render the output and score it against a source screenshot on a fixed rubric — this turns "looks close-ish" into a measurable gate. Applies to BOTH the kit's components.html AND any collateral generated from the kit (two-pagers, case studies, etc.).
1. Render. Use the bundled helper (don't rewrite a screenshot script each time):
python3 <skill-dir>/scripts/render.py --file <output.html> --out /tmp/out.png
# need a source frame too? python3 <skill-dir>/scripts/render.py --url https://<domain>/ --out /tmp/src.png
2. Score. View the rendered PNG next to a source screenshot (Step 2) and grade each dimension 0–5 (5 = indistinguishable from the brand). Be a harsh critic — this is the step that catches "AI slop" before the user does.
| # | Dimension | 5 = | Common miss (0–2) | |---|---|---|---| | 1 | Typography | real face + right weight + tracking | fallback font / bold where brand is medium | | 2 | Color/palette | exact hexes in the right roles | approximated or off-role colors | | 3 | Emphasis | brand's actual mechanism (color/weight/size) | a borrowed underline/wash the brand never uses | | 4 | Contrast/legibility | every line ≥ AA on its bg | accent text on a dark band, muddy wash | | 5 | Spacing & padding | airy rhythm; symmetric gutters; floating bands clear of edges on ALL sides | cramped; flush-to-edge band (e.g. footer jammed into the sheet's bottom corner); uneven L/R/top/bottom padding | | 6 | Depth | brand's real treatment (glow/shadow/imagery) | flat rectangles | | 7 | Edges/containers | rounded to the brand's radii | hard full-bleed corners | | 8 | Logo/assets | correct lockup, right brand, right surface | wrong/stale asset, filter-recolored blob, missing |
Report a compact scorecard + an overall /40 (≈ /100), and for every dimension < 4 give a specific fix ("heading rendered in a fallback face — embed the real woff2"; "comparison ✓ uses a mid-tone accent on a dark band — flip to the on-dark variant"). Pass: ≥ 85% (≈ 34/40) AND no dimension below 3. A wrong/missing logo (dim 8 = 0) is an automatic fail regardless of total.
3. Present the scorecard, then ASK the user how to proceed (default behavior — do not silently auto-fix or silently skip). Show the compact scorecard + per-dimension fixes, then offer:
The user can also set a standing preference per run ("always auto-fix", "skip the critique entirely") — honor it for that session. But absent that, ask.
open ~/.octave/brands/<slug>/components.html~/.octave/brands/<slug>/. Other skills can now generate on-brand output for <Company> — or run /octave:get-brand-components show <slug> to view it."~/.octave/brands/.manifest.json and show a table: Company | Domain | Pages | Primary color | Generated./octave:get-brand-components <domain> to build one."<slug> (exact then fuzzy match against directory names).brand-kit.md spec and the token summary from manifest.json.open ~/.octave/brands/<slug>/components.html (macOS) so the user sees the gallery.Zip a cached kit so it can be shared / handed to a designer. Self-contained (fonts, logo, components all inline).
<slug> (exact then fuzzy match against ~/.octave/brands/). If missing, offer to build it first.components.html headless to screenshots/components-preview.png (skip if Playwright isn't available).~/Desktop):
cd ~/.octave/brands && rm -f "<dest>/<slug>-brand-kit.zip" && \
zip -r -X "<dest>/<slug>-brand-kit.zip" "<slug>" -x '*.DS_Store'
unzip -l summary of what's inside (tokens.css, components.html, brand-kit.md, manifest.json, logo, fonts/, screenshots/).<slug>; show the company name from manifest.json.~/.octave/brands/<slug>/? Type 'yes' to confirm."The primary way to turn a kit into an on-brand asset is the bundled renderer — do NOT hand-write per-asset CSS. One engine composes any asset from any kit; the same content spec rendered through a different kit comes out fully on-brand for that brand (validated across multiple brands spanning dark, gradient, and light visual systems).
python3 <skill-dir>/scripts/render_kit.py --kit <slug|path> --spec <content.json> --out <out.html> \
[--kit-dir <path>] [--theme light|dark] [--format doc|og|social-square|social-story|email]
--kit-dir renders a kit stored anywhere (kits don't have to live in ~/.octave/brands/).--theme picks the light or dark palette when the kit carries both (tokensDark/tokensLight).The same kit + spec can render to multiple formats — the brand kit is format-agnostic, so don't rebuild styling per format. --format sets the canvas: doc (default page), og (1200×630 share image), social-square (1080²), social-story (1080×1920), email (600px width). The spec controls content (a short hero/CTA spec makes a clean OG/social image).
Don't generate format variants by default — they cost extra renders and the user usually wants just the doc. After producing the main asset, ask whether they also want any format variants (e.g. an OG image, a square social tile), and only then render them.
scripts/render_kit.py — loads the kit, emits a self-contained HTML doc: <style> = :root{} from manifest.render.tokens + base64 @font-face from manifest.render.fonts + assets/kit_base.css; body = composed blocks; logo/icons inlined.assets/kit_base.css — brand-AGNOSTIC component stylesheet (every rule references a --brand-* token). This is the single source of truth for component CSS — fix a component once here and every asset for every brand inherits it.{ title, blocks: [...] }. Block types: hero, stats, about, quote, section, features, comparison, checklist, cta, footer, plus the imagery/marketing blocks:
split — image-paired feature row: {kicker, heading, paras[], bullets[], image, imageSide: left|right, cta}. The image is a kit-relative path (inlined) or URL; it's framed (rounded + shadow).logos — logo wall: {label, mono: bool, items:[{img}|{text}]}. mono greyscales color logos for a uniform wall.pricing — plan cards: {plans:[{name, price, period, blurb, cta, features[], featured, badge}]}; the featured plan gets the primary border + badge.surface: "dark" to render as a full-bleed dark band (e.g. a logo wall with white logos).**double asterisks**. hero.featured.logoKit pulls another kit's logo (customer logo in a vendor case study).images/ dir (downloaded during the walk) and reference them by relative path; the renderer inlines them as data-URIs (self-contained). Don't fake imagery with gradient placeholders when the real assets exist on the site — extract logo walls and a hero/product shot. (Apply the same logo-verification care: confirm a "customer logo" is real, not a stray asset.) Optional --brand-texture token layers a subtle pattern (dot/grid) onto dark bands.Place a kit's screenshots and logos only where they truthfully illustrate the specific point — never because the kit happens to have them. A product shot dropped into a split whose copy describes something the screenshot doesn't show, or a logo wall stamped onto every doc (including internal ones like battlecards), reads as filler and undercuts the asset.
mono greyscale / hard inversion can erase a logo's identity — only use it when a uniform wall genuinely serves the layout.The test for every image: does it make this exact point clearer, or is it decoration the kit made available? If the latter, cut it. (The earlier "Real imagery" note means don't fake imagery with placeholders — it does not mean force every real asset into every doc.)
manifest.render token contractFor a kit to be renderable it needs a render block in manifest.json:
hasDarkBand (bool — dark hero/footer/CTA vs light), docWidth, heroVisual (chips|masonry|none), webfonts (optional <link> URL for fallback faces)fonts: [{family, weight, style?, file, format}] — base64-embedded so output renders the real facelogo: {onDark, onLight, lockup} — per-surface logos. The renderer picks onDark on dark surfaces and onLight on light ones (this is what prevents white-logo-on-white-footer). lockup = {mark, markFill, wordmark, wordmarkWeight} for brands whose logo is a mark + wordmark.tokens: the --brand-* contract — colors (bg, canvas, surface, surface-dark, ink, muted, faint, on-dark, primary/-ink, link, border, negative, band, glow, tile-bg/-ink/-glow, grad-border), emphasis (emph-ink-light/-dark, emph-underline, emph-weight), type (font-heading/-body, weight-*, tracking-heading, h1/h2), shape (radius-section/-pill, shadow, btn-shadow), and the foundations (shadow-sm/-md/-xl elevation, ease/duration motion, icon-stroke, gray ramp, semantic states, spacing scale, gradients — see Step 4). hero-bg/cta-bg add a light-surface wash; heading-transform forces all-caps.tokensDark / tokensLight (optional): override maps for the opposite theme, merged when --theme is passed.defaultTheme (optional): light | dark.Add render when building a kit (Step 6). The verbose tokens.css + components.html remain the human-readable reference; render is the machine contract the engine consumes.
If a one-off needs a layout the block types don't cover, you can still inline tokens.css + assets/kit_base.css and write markup using the kit_base classes — but prefer adding a block type to the renderer over hand-CSS, so the fix compounds.
Reference token names are brand-agnostic, so the same spec restyles to any captured brand just by swapping --kit.
After producing an asset from a kit, you can run an optional QA pass before delivery — layout, brand adherence, narrative coherence, groundedness, and AI-slop. Offer it; don't force it. The rubric and the slop standard ("write like a human") live in references/asset-review.md. The key discipline: render the output and inspect the pixels — overflow, misalignment, and white-on-white only show in the render, not the source. (The Document Builder skills that consume this kit offer this pass automatically.)
~/.octave/brands/<slug>/ automatically if missing.found: false, retry once with the bare apex domain (https://<domain> without www), then ask the user to confirm the URL.brand-kit.md.brand-kit.md.tools
Define, run, and manage multi-step GTM workflows with human-in-the-loop execution. Use when user says "run a workflow", "show workflows", "create a workflow", "automate this process", or references workflow-based tasks.
development
Analyze won and lost deals for patterns, insights, and actionable learnings. Use when user says "win/loss analysis", "why did we lose", "deal patterns", "win themes", or asks about deal outcome trends. Do NOT use for visual HTML reports — use /octave:win-loss-report instead.
development
Generate visual win/loss analysis reports as self-contained HTML with CSS-based charts and data visualizations. Use when user says "win/loss report", "deal report", "visual analysis", or wants a formatted HTML version of deal outcome analysis. Do NOT use for text-based deal analysis — use /octave:wins-losses instead.
development
Practice selling with role-play simulations, knowledge quizzes, and guided learning on your GTM library. Use when user says "role-play a call", "quiz me", "practice objections", "sales training", "test my knowledge", or asks for interactive learning.