/cog-second-brain:vector-coverfrom cog-second-brain
Generates flat vector editorial cover illustrations as HTML+inline SVG, rendered to PNG via headless Chrome. Use for blog, article, or X-article hero graphics with a warm, minimal aesthetic.
Ships in cog-second-brain. 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.
The palette below is a default. Swap the hex values in template.html 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.
render.sh finds it in the standard macOS locations or on PATH. Set CHROME to override.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.
| Token | Hex | Use |
|---|---|---|
| ink | #141413 | background canvas |
| ivory | #FAF9F5 | the organic blob and primary headline text |
| clay | #D97757 | accent: eyebrow, rule, the "unknown" motif |
| grid | rgba(20,20,19,.09) | faint grid drawn inside the blob |
| undercurve | #E7D9C4 | faint warm curves near the blob's base |
Rules:
1200 x 480 logical (2.5:1), rendered at 2x → 2400x960 PNG (X-article cover
size). For a square social card use 1200x1200; for a 16:9 slide use 1280x720
and pass those to render.sh.
+--------------------------------------------------------------+
| ? (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
Every cover encodes the article's idea as a small line-art diagram inside the blob. Pick / adapt from this library (or invent one in the same visual grammar):
| Article theme | Motif |
|---|---|
| journey, growth, unknowns, "map vs territory" | rising curve, solid→dashed, node dots, a ? and mountains at the frontier (the shipped template.html) |
| agents, systems, networks | 5-7 nodes joined by thin lines; one node filled clay = the active one |
| architecture, layers, stack | 3-4 stacked rounded rects, offset, one outlined clay |
| search, exploration, discovery | scattered dots + a dashed search path weaving between them + one magnifier ring |
| tradeoff, comparison, A vs B | two curves crossing; the winner solid, the other dashed |
| pipeline, process, workflow | left→right stages (small circles) joined by arrows; last one clay |
| iteration, loops, refinement | a spiral / concentric arcs tightening toward a center dot |
Motif drawing rules: strokes #141413 at 2–2.6px, stroke-linecap="round";
hollow nodes = fill=ivory stroke=ink; filled nodes = fill=ink; anything
"uncertain / future / unknown" is dashed and clay.
eyebrow (italic kicker, e.g. "A Field Guide:") - optional.title (1–2 short lines; break it yourself for balance).theme → pick a motif from the table above.size (default 1200x480).template.html in this folder. It already
has the tokens, blob, grid, type block, and the journey motif wired up.<text> nodes (eyebrow / two headline lines / rule width),.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
render.sh launches its own headless Chrome. It needs no remote-debugging port and no browser automation setup.The template uses a system serif stack (Charter/Iowan Old Style/Georgia).
For a pixel-exact editorial look, drop a @font-face (e.g. a Tiempos/Copernicus-
like serif) as a base64 data: URI at the top of the HTML - headless Chrome
renders embedded fonts fine. Do not link remote fonts (offline render).
<text> 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).What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
vector-illustration, svg, cover-image, editorial-design, hero-graphic
Claude Code refuses to install this plugin
.claude-plugin/plugin.json: skills: Invalid input, repository: Invalid input: expected string, received object
Checked against Claude Code 2.1.332's install rules. The listing below is what the repository ships; Claude Code cannot install it as published.
49 skills in this plugin
/auto-researchDeep strategic research engine — decomposes questions into parallel research threads, spawns multiple agents, and synthesizes into actionable strategic analysis/best-of-nSelector stage before a verification gate - generate N candidates in parallel, pick the best with a pivot tournament of pairwise judgements, then gate the winner. For high-variance, non-mutating deliverables only/blog-publishWrite and publish a post to your own static blog end to end: content checklist (embedded links, optional TL;DR), per-post ASCII art, an agent-readable markdown twin, deploy, and social distribution. Use when you say "write a blog post", "publish this to my blog", or "push this post to socials".
/braindumpQuick capture of raw thoughts with intelligent domain classification and competitive intelligence extraction/closed-loopRun one task through the V-model verification loop: CP-2 plan → CP-3 build → CP-3v component verify → CP-4 integration verify (full lane) → CP-5 acceptance. The worker never grades its own homework; evidence rows trace back to AC-n. Opt-in: invoke with /closed-loop or by asking for the closed loop, proper verification, or an evidence trail. Ordinary work does not run this.
/comprehensive-analysisDeep-dive 7-day analysis across all data sources for weekly reviews, board prep, and strategic planningOther plugins' skills for the same job