Install any skill in seconds. Free to start, no credit card required.
Get Started Free →nexu-io/worker-visualizer
A real-time data/particle/simulation visualizer whose heavy compute runs in a Web Worker (off the main thread), optionally sharing memory with the UI via SharedArrayBuffer, and renders to a canvas at 60fps. Produced as a single self-contained `index.html`.
Passed 6 of 22 test cases with the skill, and 17 of 22 without it.
1 fixed11 passed either way7 still failing3 broke
Tokens, turns and time describe resource use, not a dollar price.
A test case the skill fixed. Same model, same prompt, with and without the skill.
I am building a single-file canvas simulation artifact. I want to include Tailwind CSS via CDN and vector math from a script CDN tag to speed up development. How should dependencies be handled for this artifact?
| Checked | Without skill | With skill |
|---|---|---|
| The HTML artifact contains no external script tag HTTP requests. | Missed | Passed |
| The HTML artifact contains no external stylesheet link HTTP requests. | Passed | Passed |
The instructions your model reads when the skill loads.
Produce a single self-contained index.html that moves heavy per-frame compute into a Web Worker and renders the result to a canvas, keeping the main thread at a smooth 60fps.
OpenDesign detects new Worker( / SharedArrayBuffer / OffscreenCanvas and renders this file in powered preview — a cross-origin-isolated iframe with allow-same-origin. That means external and blob Web Workers construct successfully, SharedArrayBuffer is defined (crossOriginIsolated === true), and importScripts works. In the old opaque sandbox all three failed; here they just work.
worker-visualizer/
├── SKILL.md ← you're reading this
└── example.html ← a working 12k-particle SharedArrayBuffer sim (READ FIRST)
Read example.html. Note the split: the worker integrates positions each tick; the main thread only reads + draws. It feature-detects crossOriginIsolated and uses a SharedArrayBuffer for zero-copy when available, falling back to a transferable postMessage copy otherwise. Always ship that fallback so the artifact still animates if isolation is off.
Pick ONE compute-bound job worth offloading:
ImageData buffer.index.htmlBlob + URL.createObjectURL (inline its source), or embed it as a data: URL.SharedArrayBuffer to the worker, and read the same Float32Array/Uint8ClampedArray view while drawing. Guard on typeof SharedArrayBuffer !== 'undefined' && crossOriginIsolated.postMessage a transferable ArrayBuffer each frame.OffscreenCanvas + canvas.transferControlToOffscreen() to render inside the worker for the heaviest scenes.test cases passed, vs 17 / 22 without
More skills from the same source and nearby in the registry, with their headline benchmark lift.