/harness:pixel-art-storyboardfrom Harness (обвязка)
Converts short narrative descriptions into seamless-loop animated pixel-art covers as self-contained HTML+canvas files. Uses a 5-element scene framework (subject, setting, lighting, palette, motion) and phase-based loop techniques.
Ships in Harness (обвязка). 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.
Take a short scene description (2-3 paragraphs, 1-3 elements, mood-driven) and turn it into a self-contained HTML file with one or more canvas-rendered seamless-loop pixel art scenes.
This is the bridge from narrative input to animated visual output. It pairs with pixel-art-studio (which handles palettes, dithering, quality scoring) by providing the workflow for going from "I want a cover for X" to "here is a working HTML you can open in a browser."
| User says | Use this skill |
|---|---|
| "Make a cover for [book/album/game]" | Yes — single-cover workflow |
| "Animate this scene" + 1-3 paragraph description | Yes |
| "I want a looping pixel background showing X" | Yes |
| "Generate covers for these N books" | Yes — multi-cover grid layout |
| "Just draw a sprite of X" | Use pixel-art-studio directly (no scene narrative) |
| "Convert this image to pixel art" | Use pixel-art-studio preprocess.py |
| "Score the quality of my pixel art" | Use pixel-art-studio + pixel-art-reviewer agent |
Every scene description must specify these five elements, either explicitly given by user or inferred from their input.
| Element | What | Example |
|---|---|---|
| Subject | 1-3 foreground icons that carry meaning | "Red apple in pale hands" |
| Setting | Background environment, depth layers (max 3) | "Deep night void, single distant star" |
| Lighting | Source, direction, mood | "Cool moonlight from upper-left, warm highlight on subject" |
| Palette | 3-6 named colors, NOT hex | "Midnight black, ivory skin, deep crimson, warm highlight" |
| Motion | What loops + period in seconds | "Highlight on apple orbits in 4s; petal drifts down once per loop" |
If user gives a vague brief ("a moody book cover"), fill in the missing elements with sensible defaults before generating, then list them in your output so they can confirm/adjust. Do NOT proceed without all 5 elements settled.
See references/scene-description-framework.md for full guidance and 3 worked examples (Romeo & Juliet, lonely cabin, cyberpunk alley).
If user gave a paragraph synopsis: extract Subject + Setting + symbolic accents. Often the iconography is named explicitly (e.g. "the apple symbolizes forbidden fruit") — that's your Subject.
If user just gave a title: research the work (WebSearch for "X cover symbolism" or "X iconic imagery") to find the canonical visual icons. Use those as Subject.
Output a draft scene-description block:
SUBJECT: <1-3 icons>
SETTING: <1-3 layers of depth>
LIGHTING: <source + direction + mood>
PALETTE: <3-6 named colors + accent>
MOTION: <what loops + period>
| Choose | When |
|---|---|
| 64×96 (book aspect, 2:3) | Book/album covers |
| 96×96 (square) | Album art, Spotify-style square covers |
| 128×72 (landscape, 16:9) | Game splash, banner |
| 64×64 (square) | Game tile / icon set |
| 256×144 (wide) | Twitch/YouTube banner |
Loop period (see references/looped-animation-techniques.md for full table):
| Loop | Feels like | Use |
|---|---|---|
| 2-3s | Alive, ambient | Idle breathe, water, candle |
| 4-6s | Subtle motion | Breathing, slow drift, ribbon flutter |
| 8-15s | Atmospheric breathing room | Petal fall, smoke plumes |
| 30-60s+ | Slow ambient | Day cycle, wave breaks |
For each cover, write a draw{Name}(ctx, W, H, t) function where t ∈ [0, 1) is the loop phase. All animation must derive from t — no Math.random() (use seeded hash(n)), no pos += dt (use sin(t * TAU)), no off-palette ad-hoc colors.
Layer order (bottom to top):
Each layer can have its own loop sub-period, but the parent loop must be the LCM (or use periods that don't drift visibly within reasonable view time).
See templates/single-cover.html (one cover) and templates/grid-cover.html (a grid) for starter canvas programs.
Single self-contained HTML file. Layout: 1 cover OR a responsive grid of covers (2×2 / 4×1 with @media breakpoints).
Style anchors (matches user's example aesthetic):
#0b0812 (near-black with violet undertone)#a896b4 (lavender-grey)#ffb4c8 (pale pink)rgba(255,255,255,.06) (barely-visible)"JetBrains Mono", ui-monospace, Menlo, monospacepixelated + crisp-edges (forces nearest-neighbor scale)See templates/single-cover.html for skeleton, templates/grid-cover.html for multi-cover layout.
Use preview_start to launch a static server pointing at the output folder. Take preview_screenshot to verify visual. Check preview_console_logs for errors. Iterate.
If multiple covers: verify each independently animates (each on its own requestAnimationFrame driver) by waiting 2-3 seconds between screenshots and confirming visual change.
The single-most-important rule: never accumulate state. Always derive position/color from t = (now - start) % period.
// CORRECT — phase-derived, drift-free
const t = ((now - start) % period) / period;
const offset = Math.sin(t * Math.PI * 2) * amplitude;
// WRONG — accumulates float drift, may seam visibly after hours
let pos = 0;
function frame(dt) { pos += velocity * dt; ... }
Five techniques to combine for richer motion (see references/looped-animation-techniques.md):
sin(t * TAU) for swaying, breathing, hoverf(phase, seed[i]), not pos += velmix(colorA, colorB, t) for day/night, mood shiftsMatch output register to consumer:
Be explicit and parameter-heavy. Constraints first.
Generate canvas pixel art for book cover.
Canvas: 64x96 logical, scale 4x via image-rendering: pixelated.
Subject: red apple in pale cupped hands, centered.
Setting: deep night void, 1 distant pulsing star upper-left.
Lighting: warm highlight on apple from upper-right (subject self-light).
Palette: 6 colors {midnight #0a0814, ivory skin #e6d4c8, skin shadow #a89486,
deep crimson #5a0a14, apple body #b22838, warm highlight #ffe8d8}.
Motion: 4-second loop. Apple highlight orbits its surface; once per loop a
single petal drifts diagonally from above.
Render: ctx.fillRect(x|0, y|0, 1, 1) for each pixel. Use phase t derived from
(performance.now() % 4000) / 4000.
Atmospheric, emotional. Trust artist for technical details.
"A red apple cupped in pale hands, centered against pure dark. The kind of scene where the apple is the only warm thing in the world and the hands could be either offering or about to take a bite. Cool dark, single warm highlight, 4-second loop with a slow drift of something falling — petal, ember, tear."
Noun-heavy, comma-separated, with style anchors.
pixel art, 16-bit style, book cover, red apple, pale female hands cupping, dark
midnight background, single bright highlight, dramatic lighting, vertical
composition, twilight saga aesthetic
Negative: blurry, photorealistic, antialiased, smooth gradients, 3d render
LoRA: Pixel Art XL by nerijs (weight 1.2)
Steps: 8, CFG: 1.5
See references/three-registers.md for the full taxonomy.
The skill ships with one fully worked-through case study: the Twilight Saga 4-cover example. See:
../pixel-art-studio/examples/twilight-covers/ (HTML + scenarios markdown)research/product/pixel-art-2026-05-10/twilight-scenarios.mdThe Twilight example demonstrates:
Use it as a template when generating new multi-cover sets.
A "ship-ready" cover from this skill must pass:
palette.py --analyze)If you generate covers and any of these fails, fix before declaring done.
<canvas width=W height=H> matches the logical pixel grid; CSS sizes are scaling onlyimage-rendering: pixelated — REQUIRED on every canvas (otherwise browser smooths and pixel art looks blurry)requestAnimationFrame per canvas — each cover runs independently; never share a single RAF across multiple canvases (one slow draw blocks the others)Math.random() in render path — must be deterministic. Use hash(seed) insteadt. No counters that accumulate frame-to-frameMath.random() in render breaks loop seamlessness — particles will drift between cycles. Use seeded hash(seed * 12.9898) * 43758.5453 % 1.<canvas width=64 height=96> is styled width: 256px; height: 384px, browser scales by 4×. Without image-rendering: pixelated, the upscale is bilinear and pixel art is blurred.@media (max-width: 1280px) collapses 4-col to 2-col — verify at multiple viewport widths or write breakpoints to taste.requestAnimationFrame continues running on hidden tabs throttled to 1Hz — for screenshot tools that don't actually display, animation may pause. Render once on first frame to ensure non-empty visual.ctx.imageSmoothingEnabled = false does NOT affect fillRect — only drawImage. Pixel-by-pixel rendering is unaffected, but if you mix with sprite sheets, set this.x | 0 truncation introduces 1px jitter on ranges crossing 0 — for negative coordinates use Math.floor(x) instead. For our usual range (positive coords on canvas), x | 0 is fine and faster.mix(colorA, colorB, t) and one channel has saturated value (255), interpolation can clip. Use HSL space for hue-shifting palettes; use RGB only for value-shift.H rows of full-width rect each frame is wasteful; pre-render to an offscreen canvas once on init, then drawImage per frame. For our use case (single canvas at 64×96 = 6144 pixels) it's fine; for larger canvases optimize.| Symptom | Cause | Fix |
|---|---|---|
| Canvas appears blurry | Missing image-rendering: pixelated | Add to canvas CSS |
| Animation snaps at loop boundary | First and last frame differ | Drive everything from t = (now % period) / period; use sin(t * TAU) |
| Particles random per page-load | Math.random() instead of seeded hash | Replace with hash(seed_index) |
| Two animations drift apart over time | Each accumulates own state | Both derive from performance.now() directly |
| Color suddenly NaN/undefined | Hex parser fails on shorthand | Always use #RRGGBB, never #RGB |
| Empty canvas in screenshot | Tab throttled, RAF paused | Call draw once on init outside RAF |
| 2×2 layout when expecting 4×1 | Viewport <1280px, media query collapses | Adjust breakpoint or test at wider viewport |
| Loop "stutters" at boundary | Period not divisible by frame interval | Use periods 1s/2s/4s/8s (clean for 60fps) |
| Sub-pixel breathing not visible | Logical pixel grid too small | At 16×16, breathing is 1-2 pixel jumps; use 32+ |
| Topic | File |
|---|---|
| Looped animation techniques (frame match, sub-pixel, parallax, particles, palette interp) | references/looped-animation-techniques.md |
| Scene description 5-element framework + worked examples | references/scene-description-framework.md |
| Three prompt registers (LLM / human / LoRA) | references/three-registers.md |
| Cover-style canvas template (single + grid) | templates/single-cover.html, templates/grid-cover.html |
| Common animation easing functions for pixel art | references/easing-curves.md |
| Retouch-style production standard (8-layer composition) | references/retouch-style-guide.md |
| Smoother animation via baking (Playwright + ffmpeg) | references/smoother-animation-baking.md |
Before hand-picking colors, search the Design Seeds curated catalog (10 palettes covering moods nature / twilight / dawn / mystic / vintage / autumn / dreamy / dramatic):
# By tag
python ../pixel-art-studio/scripts/palette.py --search-tag twilight
python ../pixel-art-studio/scripts/palette.py --search-tag dramatic
python ../pixel-art-studio/scripts/palette.py --search-tag mystical
# By mood (free-form)
python ../pixel-art-studio/scripts/palette.py --mood "night warm"
python ../pixel-art-studio/scripts/palette.py --mood "romantic"
python ../pixel-art-studio/scripts/palette.py --mood "peaceful retreat"
The Design Seeds palettes are PRE-VALIDATED for visual harmony (artist-curated, hue-shifted, mood-coherent). Using one of these as the base palette saves the "color discipline" step entirely.
For cultural / hardware-authentic specific palettes (NES, GameBoy DMG, 五行, 오방색), use the bundled palettes in pixel-art-studio/scripts/palettes/.
Once your canvas animation is verified working at runtime, bake it to GIF / WebM-alpha / MP4 / PNG-sequence for archival distribution:
# Smooth GIF (30fps × 4s = 120 frames)
python ../pixel-art-studio/scripts/bake_animation.py http://localhost:9132/index-v2.html \
--canvas-id c1 --period-ms 4000 --fps 30 --format gif -o twilight.gif
# WebM with alpha channel (transparent video for compositing into other media)
python ../pixel-art-studio/scripts/bake_animation.py http://localhost:9132/index-v2.html \
--canvas-id c1 --period-ms 4000 --fps 30 --format webm-alpha -o twilight.webm
The bake samples t at any density you want, so output is SMOOTHER than runtime. See references/smoother-animation-baking.md for details.
After your animation works in browser, run the comprehensive quality board:
@pixel-art-quality-board "Review skills/creative/pixel-art-studio/examples/twilight-covers/index-v2.html against retouch-style"
Spawns 4 specialized reviewers in parallel:
Synthesizes 4 verdicts → board PASS/NEEDS_WORK/REJECT + ranked fixes. The interaction reviewer catches things others miss (chess pieces floating above the board, contradictory light sources, etc.).
pixel-art-studio (sister skill): static sprite design + palette tools + dithering + quality_check.py + 20 bundled palettes. Use for non-narrative pixel art tasks.pixel-art-reviewer (Generator-Evaluator agent): independent quality review of generated covers. Run after pixel-art-storyboard produces output.The three together form a complete pixel-art creation pipeline: storyboard → static design → animation → review.
references/dataset-to-library-actionable.md (opens in a new tab)references/easing-curves.md (opens in a new tab)references/element-library-scaling-architecture.md (opens in a new tab)references/high-detail-pipeline.md (opens in a new tab)references/looped-animation-techniques.md (opens in a new tab)references/pinterest-to-library-pipeline.md (opens in a new tab)references/retouch-style-guide.md (opens in a new tab)references/scene-description-framework.md (opens in a new tab)references/smoother-animation-baking.md (opens in a new tab)references/three-registers.md (opens in a new tab)templates/grid-cover.html (opens in a new tab)templates/single-cover.html (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub anastasiyaw/codex-claude-code-config --plugin harness60 skills in this plugin
/agent-harness-designDesigning agent harnesses and tool systems — risk taxonomy for tools, permission decisions, draft/commit pattern, structured tool results, agent budgets (10 types), context trust labels against prompt injection, plan-artifact, approval records, observability and traces, evals (13 categories), event model, streaming buffering, 3rd-party skill install checklist, agentic RAG, self-improving SOP loops, model policy, reasoning effort, and Programmatic Tool Calling adoption gates. Use when building a new Agent SDK app, custom orchestrator, MCP server, Cloudflare Worker with tool calls, agentic RAG pipeline, model router, or model-tier policy; when designing tools and permissions; when writing an agent loop; or when you need trust labels for external content. Do NOT use for improving or auditing an already-built harness (use harness-audit / harness-design instead), nor for ordinary Claude Code sessions where the harness is already given./agents-best-practicesUse when designing, auditing, refactoring, or explaining an agentic harness for any domain, especially when work must continue from a measured gap to verified completion. Covers provider-neutral loops, tools, permissions, environment adaptation, planning, durable workflow state, context, skills, observability, evals, and safety for OpenAI, Anthropic, and compatible APIs. Not for implementing an ordinary app feature or reviewing one concrete diff./architecture-firstDecide module boundaries before the first file: what modules exist, which way dependencies point, who owns state, and what each module may know. Use when starting a project, service, site, API, or subsystem; adding a feature with no obvious home; resolving a circular import or inverted framework dependency; or writing an ARCHITECTURE.md or ADR. Do not use for a one-file script, throwaway experiment, bug fix inside an established seam, naming/function-shape cleanup (use code-complexity), an existing oversized module (use refactoring-safely), or capacity/data scaling decisions (use system-and-data-design). This defines earned boundaries; it does not license speculative layers.
/architecture-qualityKeep web applications, APIs and services readable as they grow: choose feature or domain seams, assign state ownership, enforce dependency direction, keep adapters thin, and verify file shape. Use when starting or extending a web app, backend, frontend, API or multi-page product; when a change makes a module hard to read; when architecture review finds a god file, cross-feature imports, a circular dependency or a framework-heavy domain. Load architecture-first first for a new system, and refactoring-safely for an existing oversized module. Do not use for a one-file script, throwaway spike or a purely local naming change.
/article-structure-reviewПроверить структуру технической статьи после черновика: задача читателя, жанр,
опора значимых утверждений на доказательства и честные ограничения.
Use after the first draft, before publication. Исправлять структуру, когда это
входит в запрос; не создавать обязательный конвейер из других навыков.
Для локальной языковой редактуры — humanize-english или humanize-russian.
/bug-reproducerFind likely software bugs in a codebase, rank concrete bug candidates, and prove or reject them with focused regression tests before proposing a fix. Also turn bug reports, stack traces, screenshots, failing behavior, support tickets, and regressions into minimal reproducible cases with red-to-green evidence. Use when Codex needs to hunt for unknown bugs, audit code for correctness defects, test suspicious edge cases, reproduce a reported failure, isolate root cause, or verify that an approved fix works without regressions. Honor explicit user authority for the requested fix; use approval gates only for authority that the request did not already grant or when scope materially changes. Do NOT use for ordinary implementation where no bug investigation or reproduction is needed.Other plugins' skills for the same job