Self-evolving second brain with 35 AI skills, 10 agents, and people CRM. Closed-loop harness: a V-model verification lifecycle where the worker never grades its own homework. Plus paired anti-slop design skills for marketing and product UI. Works with Claude Code, Cursor, Kiro, Gemini CLI, Codex.
name: vector-cover
description: >
Generate flat vector editorial cover illustrations in a warm editorial style:
near-black canvas, cream organic blob, serif display type, one terracotta
accent, and thin line-art concept motifs (grids, node charts, dashed
"unknown" paths, mountains, question marks). Output is code (HTML + inline
SVG) rendered to a crisp 2400x960 PNG via headless Chrome. Use when you want
a blog, article or X-article cover image, a "hero graphic", or "make a cover
for ".</h2>
<h1>Vector cover</h1>
<h2>Configuration</h2>
<p>The palette below is a default. Swap the hex values in <code>template.html</code> for your own brand, and keep the rule of exactly one accent color. Cover copy (eyebrow, title) comes from your article, not from this skill.</p>
<h2>Requirements</h2>
<ul>
<li>Google Chrome or Chromium. <code>render.sh</code> finds it in the standard macOS locations or on <code>PATH</code>. Set <code>CHROME</code> to override.</li>
<li>No other dependencies, and no browser automation setup.</li>
</ul>
<h2>What this is</h2>
<p>A designed vector graphic built as code: flat SVG on a small set of color tokens, rendered and screenshotted. It is not a diffusion image.</p>
<ul>
<li>Yes: flat vector, geometric line-art, precise serif type, one accent color.</li>
<li>No: photorealism, gradients, glow, drop shadows, 3D, texture. If a request needs a photo, this is the wrong tool.</li>
</ul>
<h2>Design system (default palette, configurable)</h2>
<table>
<thead>
<tr>
<th>Token</th>
<th>Hex</th>
<th>Use</th>
</tr>
</thead>
<tbody><tr>
<td>ink</td>
<td><code>#141413</code></td>
<td>background canvas</td>
</tr>
<tr>
<td>ivory</td>
<td><code>#FAF9F5</code></td>
<td>the organic blob and primary headline text</td>
</tr>
<tr>
<td>clay</td>
<td><code>#D97757</code></td>
<td>accent: eyebrow, rule, the "unknown" motif</td>
</tr>
<tr>
<td>grid</td>
<td><code>rgba(20,20,19,.09)</code></td>
<td>faint grid drawn inside the blob</td>
</tr>
<tr>
<td>undercurve</td>
<td><code>#E7D9C4</code></td>
<td>faint warm curves near the blob's base</td>
</tr>
</tbody></table>
<p>Rules:</p>
<ul>
<li>Exactly one accent color (clay by default). Never add a second hue.</li>
<li>Serif for the eyebrow (italic) and the headline (bold). Sans only for tiny annotations.</li>
<li>Keep the dark field mostly empty. 3-5 decorative marks at most, low opacity.</li>
<li>Everything on the cream is clipped to the blob. Nothing floats half off it except the intentional motif that escapes (for example the dashed unknown path).</li>
</ul>
<h2>Canvas</h2>
<p><code>1200 x 480</code> logical (2.5:1), rendered at 2x → <strong>2400x960 PNG</strong> (X-article cover
size). For a square social card use <code>1200x1200</code>; for a 16:9 slide use <code>1280x720</code>
and pass those to <code>render.sh</code>.</p>
<h2>Layout skeleton (every cover)</h2>
<pre><code>+--------------------------------------------------------------+
| ? (clay, top-right) |
| A Field Guide: (eyebrow, italic clay) .-''''-. |
| / BLOB \|
| Finding Your (headline, bold ivory)| + grid |
| Unknowns | + MOTIF |
| ___ (clay rule) \ / |
| '-....-' |
+--------------------------------------------------------------+
left ~40% = type right ~60% = blob + concept motif
</code></pre>
<h2>The concept motif is the whole point</h2>
<p>Every cover encodes the article's <em>idea</em> as a small line-art diagram inside the
blob. Pick / adapt from this library (or invent one in the same visual grammar):</p>
<table>
<thead>
<tr>
<th>Article theme</th>
<th>Motif</th>
</tr>
</thead>
<tbody><tr>
<td>journey, growth, unknowns, "map vs territory"</td>
<td>rising curve, solid→dashed, node dots, a <code>?</code> and mountains at the frontier (the shipped <code>template.html</code>)</td>
</tr>
<tr>
<td>agents, systems, networks</td>
<td>5-7 nodes joined by thin lines; one node filled clay = the active one</td>
</tr>
<tr>
<td>architecture, layers, stack</td>
<td>3-4 stacked rounded rects, offset, one outlined clay</td>
</tr>
<tr>
<td>search, exploration, discovery</td>
<td>scattered dots + a dashed search path weaving between them + one magnifier ring</td>
</tr>
<tr>
<td>tradeoff, comparison, A vs B</td>
<td>two curves crossing; the winner solid, the other dashed</td>
</tr>
<tr>
<td>pipeline, process, workflow</td>
<td>left→right stages (small circles) joined by arrows; last one clay</td>
</tr>
<tr>
<td>iteration, loops, refinement</td>
<td>a spiral / concentric arcs tightening toward a center dot</td>
</tr>
</tbody></table>
<p>Motif drawing rules: strokes <code>#141413</code> at 2–2.6px, <code>stroke-linecap="round"</code>;
hollow nodes = <code>fill=ivory stroke=ink</code>; filled nodes = <code>fill=ink</code>; anything
"uncertain / future / unknown" is <strong>dashed and clay</strong>.</p>
<h2>Workflow</h2>
<ol>
<li>Get inputs from the user, or infer them from the article:<ul>
<li><code>eyebrow</code> (italic kicker, e.g. "A Field Guide:") - optional.</li>
<li><code>title</code> (1–2 short lines; break it yourself for balance).</li>
<li><code>theme</code> → pick a motif from the table above.</li>
<li><code>size</code> (default 1200x480).</li>
</ul>
</li>
<li><strong>Copy the template</strong>: start from <code>template.html</code> in this folder. It already
has the tokens, blob, grid, type block, and the journey motif wired up.</li>
<li><strong>Edit three regions only</strong>:<ul>
<li>the <code><text></code> nodes (eyebrow / two headline lines / rule width),</li>
<li>the CONCEPT MOTIF group (swap for the theme's motif),</li>
<li>the 3–5 decorative marks on the dark field.
Leave the blob path, grid, and token colors alone unless deliberately restyling.</li>
</ul>
</li>
<li><strong>Render</strong>:<pre><code class="language-bash">.claude/skills/vector-cover/render.sh <in.html> <out.png> [W] [H]
# e.g. render.sh cover.html cover.png -> 2400x960
# render.sh cover.html card.png 1200 1200 -> 2400x2400
</code></pre>
<code>render.sh</code> launches its own headless Chrome. It needs no remote-debugging port and no browser automation setup.</li>
<li><strong>Verify visually</strong>: Read the PNG. Check nothing is clipped off-canvas
(the escaping motif must land on the dark field, not get cut), text fits the
left ~40%, and the blob doesn't collide with the headline. Iterate on coords.</li>
<li>Deliver the single PNG. Keep working files in your project folder.</li>
</ol>
<h2>Font note</h2>
<p>The template uses a system serif stack (<code>Charter</code>/<code>Iowan Old Style</code>/Georgia).
For a pixel-exact editorial look, drop a <code>@font-face</code> (e.g. a Tiempos/Copernicus-
like serif) as a base64 <code>data:</code> URI at the top of the HTML - headless Chrome
renders embedded fonts fine. Do not link remote fonts (offline render).</p>
<h2>Gotchas</h2>
<ul>
<li><strong>Off-canvas clipping</strong>: <code><text></code> anchored past x=1200 (or the escaping motif)
gets cut. Keep the "unknown" cluster inside the canvas on the dark strip right
of the blob (~x 1120–1195).</li>
<li><strong>Headline overflow</strong>: at 72px the serif eats <del>11 chars/line. Longer titles →
drop to 60px or add a third line; re-check against the blob's left edge (</del>x498).</li>
<li><strong>Blob edge vs grid</strong>: the grid is clipped to the blob, so extend grid lines
well past the blob bounds - clipping handles the rest.</li>
<li><strong>Never</strong> add gradients, shadows, blur, or a second accent color. One clay.</li>
</ul>
<pre><code>
</code></pre>