{
  "slug": "spectralbreak-artist",
  "tags": [
    "spectral-art",
    "video",
    "portal-frame",
    "generative",
    "lamp",
    "creative"
  ],
  "format": "mybot.farm/agent-pack",
  "memory": [],
  "skills": [
    {
      "name": "spectralbreak",
      "content": "# SpectralBreak — drive the Portal Frame simulator from chat\n\n[SpectralBreak](https://spectralbreak.consumerbreak.com/) (by ConsumerBreak, for the\n[Spectral Art Foundation](https://spectralartfoundation.org/)) turns an artwork into a looping\nPortal Frame lamp preview and exports it as MP4, WebM or GIF. It runs entirely in the\nvisitor's browser — images are never uploaded to a server, no account is needed.\n\nThe site is agent-drivable by design (build S309+). **The canonical reference for every\nfield, range and default is the site's own https://spectralbreak.consumerbreak.com/llms.txt —\nread it before your first run and whenever a field name is in doubt.** This skill is the\nrecipe layer on top: natural words in, a verified video out.\n\n## Inputs\n\n- **Art, two ways:**\n  - A URL on an **allowed host**: `spectralartfoundation.org`, `www.spectralartfoundation.org`,\n    or any `consumerbreak.com` host; https; ending `.png .jpg .jpeg .webp .gif`; ≤ 40 MB.\n    Other hosts are refused **by design** (`error: art-host`) — a crafted link must not be able\n    to make the page fetch from anywhere. If the art lives elsewhere, get it hosted on an\n    allowed host first, or use the upload path.\n  - A local file, uploaded through the page's drop zone / artwork input.\n- **Words:** any mix of the phrase map below. Anything unmentioned falls back to defaults.\n\n## Suggested defaults\n\n| Field | Default | Notes |\n|---|---|---|\n| `modes` | `[\"portal\"]` | Add `\"overlay\"` / `\"hue\"` when asked; multiple modes render side by side |\n| `format` | `webm` | Smallest. `mp4` for sharing / X / phones, `gif` when asked |\n| `loop` | 60 | Portal loop seconds (32 if pattern ≠ cycle); or set `durations` per effect |\n| `fps` | 25 | Allowed: 10 / 20 / 25 |\n| `pattern` | `cycle` | The site's signature look |\n| `stops` | Site default 7-stop spectrum | 2–16 hex colours, walked in order |\n\n## Phrase map (natural words → settings fields)\n\n| The user says | Set |\n|---|---|\n| \"portal it\" / \"womp it\" | `modes` includes `\"portal\"` |\n| \"hue spin / hue cycle it\" | `modes` includes `\"hue\"` |\n| \"overlay\" / \"backlit\" | `modes` includes `\"overlay\"` (`backlit` accepted as alias) |\n| \"just hue, no frame\" | `modes = [\"hue\"]` |\n| \"all three\" / \"show me everything\" | `modes = [\"portal\",\"overlay\",\"hue\"]` |\n| \"solid / sweep / ripple / pulse / spiral / marble / plasma / turbulence / texture\" | `pattern` = `solid` / `sweep-x` (or `-y` / `-d`) / `ripple` / `pulse` / `spiral` / `marble` / `plasma` / `turbulence` / `texture` |\n| \"run the cycle\" | `pattern = \"cycle\"` (members `cycleMembers`, hold `cyclePer` s, default 6) |\n| \"cycle fast\" | `cyclePer` ≈ 1.5–2 |\n| \"custom colours #… #…\" | `stops = [\"#rrggbb\", …]` (2–16) |\n| \"30 seconds\" / \"a minute\" | `loop` = 30 / 60 (or `durations` per effect) |\n| \"quick / draft\" | `fps = 10`, `loop` 30 unless told otherwise |\n| \"smooth\" | `fps = 20` |\n| \"max quality\" | `fps = 25` |\n| \"more pure / softer\" | `purity` up / down (0–100, default 100) |\n| \"pixelly / frame pitch\" | `pitch` up (0–300; 0 = smooth). Pixelblaze layout = `frame` {strips, perStrip, vertical, startRight, startTop} |\n| \"for X / for Instagram / for my phone\" | `format = \"mp4\"` |\n| \"small file\" | `format = \"webm\"` |\n| \"gif\" | `format = \"gif\"` |\n| \"reverse it\" | `reverse = true` |\n| \"spin it\" | `rotate` (0–360) |\n\nAnything the phrase map can't parse: ask one short question. Never guess a pattern or a\ncolour set silently. Named colour presets (\"fire\", \"ocean\", \"sunset\") are **captured from\nthe site once** (set the preset in the UI, Copy current, store the `stops` array here) —\nnever invented.\n\n## Workflow\n\n1. **Build the settings block** from the art + phrase map + defaults. Include\n   `\"spectralbreak\": 1`.\n2. **Open the full-state URL** (URL-art path):\n   `https://spectralbreak.consumerbreak.com/?art=<encoded>&s=<base64url block, no padding>&autocreate=<format>`\n   Scalar fields can also ride as plain params (`&pattern=plasma&loop=30`) and override `s`.\n   For a local file, open the plain site and upload via the drop zone, then load the block\n   through Advanced → Settings → \"Load settings\" (or `window.SpectralBreak.load(...)`).\n3. **Verify before render.** Read `#spectralbreak-state` (JSON island, rewritten on every\n   change) and confirm the settings match what you sent; note the `settingsHash`. Mismatch =\n   stop and report — never render the wrong look. If your tooling can't read the island,\n   verify in the visible UI controls + the settings box instead, and say so.\n   ⚠️ The page loads with sample art already `ready:` — always confirm the status line\n   names *your* art before creating.\n4. **Render.** `autocreate` starts the export when the art is ready, or click Create\n   (`sb-create`) / call `window.SpectralBreak.create(format)`. Wait for `#sb-status` =\n   `done: <filename>` or the `spectralbreak:done` event `{filename, format, frames, bytes,\n   settingsHash}`. A 60 s / 25 fps render is 1,500 frames; expect up to a few minutes at\n   large sizes (600 frames at 1600×1600 took under a minute in testing).\n5. **Download.** The download is a link you click (`sb-download`) — nothing downloads on\n   its own. Verify the file exists, is non-empty, the extension matches, and the filename's\n   hash matches the state hash. Exports carry **no embedded metadata** — the 8-hex settings\n   hash in the filename (`spectralbreak-<art>-<effects>[-<pattern>]-<seconds>s-<hash>.<ext>`)\n   IS the look's identity. Same settings → same frames; bytes may differ by encoder\n   timestamps, so compare hashes, not files.\n6. **Deliver** the file with one line — art, pattern, colours, loop, format — **and the\n   full-state URL** (URL-art path), so anyone can reproduce or tweak the exact look. For\n   uploaded art, deliver the settings block JSON instead (there is no art URL).\n\n**Errors** arrive as one line in `#sb-status`: `error: <code> - <why>` — codes include\n`art-host`, `art-fetch`, `art-http-<status>`, `art-type`, `art-size`, `settings-invalid`,\n`encode-failed`. On error the page keeps its previous settings. Report the code verbatim;\ndon't retry blindly.\n\n**Script API** (for agents with a JS surface): `window.SpectralBreak` —\n`getSettings()`, `getState()`, `load(blockOrJson)` → `{ok, errors, warnings}`,\n`create(format?)` → Promise of the done detail. Events on `window`:\n`spectralbreak:ready / progress / done / error`. Test ids: `sb-art-input`, `sb-create`,\n`sb-download`, `sb-format`, `sb-pattern`, `sb-settings-box`, `sb-load-settings`,\n`sb-copy-settings`, `sb-status`, `sb-preview-canvas`.\n\n## Rules\n\n- **Verify before render, verify after download.** State or hash mismatch = stop.\n- **Never invent settings.** Unparsed words → one question, or a stated default — and say\n  which default was used in the delivery line.\n- **No account features.** \"Save Look\" and \"Send to PortalBreak\" are never used (they are\n  also the only two things on the site that store data). Everything runs signed-out,\n  client-side, matching the site's privacy design.\n- **Allowed hosts only** for `?art=`. A refusal (`art-host`) is deliberate anti-abuse\n  design, not a bug to work around.\n- **One render at a time** per browser window; queue further requests.\n\n## Examples\n\n- \"SpectralBreak the collage, 30 seconds, for X\"\n  → `?art=…collage.webp` · `{\"spectralbreak\":1,\"modes\":[\"portal\"],\"pattern\":\"cycle\",\"loop\":30,\"fps\":25,\"format\":\"mp4\"}`\n- \"Womp this photo, plasma, quick draft\" → upload · `pattern:\"plasma\"` · `loop:30` · `fps:10` · `format:\"webm\"`\n- \"Everything it's got, 16 seconds\" → the triptych in `examples/triptych-maximal-16s.json`\n  (all three modes, cycle at 1.6 s, spread/detail maxed, 12-stop rainbow — renders\n  4800×1600 side by side)\n\n## What this skill is not\n\n- Not an interface the site depends on — any agent can drive SpectralBreak without it.\n  This skill is the convenience layer: phrasing, defaults, and verification discipline.\n- Not a renderer — all rendering stays in SpectralBreak, in the browser, private by design.\n\n---\n\n*Field-tested 2026-11-23 against build S309: two end-to-end agent runs (single-mode 30 s\nPortal/Cycle, hash `be50c628`; maximal 16 s triptych, hash `22ec43ab`), both verified\nframe-by-frame after download. Site by ConsumerBreak; this skill is a community companion,\nshared to spread Spectral Art.*\n",
      "description": "Create a SpectralBreak portal / hue-cycle video from a chat command. Use when the user says 'SpectralBreak this', 'portal video', 'make it womp', or asks to run an image through the Portal Frame simulator at spectralbreak.consumerbreak.com."
    }
  ],
  "plugins": [],
  "profile": {
    "name": "SpectralBreak Artist",
    "title": "Turn artwork into looping Portal Frame videos from a chat command",
    "avatar": {
      "kind": "geometric",
      "color": "violet",
      "shape": "triangle"
    },
    "description": "Give this agent an artwork and plain words — 'portal it, 30 seconds, for X', 'hue spin, plasma, quick draft', 'everything it's got, 16 seconds' — and it drives SpectralBreak (spectralbreak.consumerbreak.com) end to end: builds the settings block, opens the full-state URL or uploads the art, verifies the on-page state matches before rendering, waits for the export, downloads it, verifies the file, and delivers the video with the link that reproduces the exact look. Rendering happens entirely in the browser at SpectralBreak — no account, images never uploaded to a server. Skill is MIT, field-tested 2026-11-23 (two verified end-to-end agent runs, hashes be50c628 and 22ec43ab)."
  },
  "runtime": [
    "grok-bot",
    "hermes",
    "openclaw",
    "kirocrew"
  ],
  "version": "0.2",
  "category": "creative",
  "commerce": {
    "pricing": "free",
    "currency": "usd"
  },
  "manifest": {
    "author": "terramike",
    "license": "MIT",
    "homepage": "https://github.com/terramike/spectralbreak-skill",
    "scrubbed": true
  },
  "routines": [],
  "packVersion": 2,
  "gettingStarted": {
    "skill": "spectralbreak"
  }
}