web-ui-motion

web-ui-motion is a skill for Claude Code, Codex from creativedswork/dscode. It costs 152 tokens per session (5,957 once invoked), scanned A, original, MIT.

A set of instructions for creating a polished web interface with a custom animated visual effect in one self-contained HTML file. It combines ordinary page elements with SVG and Canvas 2D graphics, which draw shapes and animations in the browser.

In plain words
What is it for?
Use it to build landing pages, dashboards, or components with effects such as particles, distortion, blur, glow, physics, or animated vector shapes.
Why use it?
It gives the page both a complete visual design and a central motion effect while keeping the result runnable without a build step. It also covers reduced-motion accessibility and high-resolution screens.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to build landing pages, dashboards, or components with effects such as particles, distortion, blur, glow, physics, or animated vector shapes.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/creativedswork/dscode/web-ui-motion
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add creativedswork/dscode --skill web-ui-motion
Clone the repo
git clone --depth 1 https://github.com/creativedswork/dscode

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for web-ui-motion

README.md
[![agentmods](https://agentmods.dev/badge/skills/creativedswork/dscode/web-ui-motion/github.svg)](https://agentmods.dev/skills/creativedswork/dscode/web-ui-motion)
Your own site
<a href="https://agentmods.dev/skills/creativedswork/dscode/web-ui-motion"><img src="https://agentmods.dev/badge/skills/creativedswork/dscode/web-ui-motion/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for web-ui-motion

Your own site · 80×15
<a href="https://agentmods.dev/skills/creativedswork/dscode/web-ui-motion"><img src="https://agentmods.dev/badge/skills/creativedswork/dscode/web-ui-motion.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 152 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,957 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00152 $0.05957
Opus 5.5 $0.00061 $0.02383
Sonnet 5.5 $0.00030 $0.01191
Haiku 4.5 $0.00015 $0.00596

Measured 1mo ago against content hash 99710624bbdd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

web-ui-motion scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.dscode/skills/web-ui-motion/SKILL.md · 427 lines

How it starts

The opening of the file, as written. The whole thing — 427 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Web UI Motion Effects (SVG.js + Canvas)

Build a complete, good-looking UI and then layer a signature motion effect on top. Ship it as one self-contained .html file (inline CSS + JS, fonts from a CDN). The reference examples in this folder are the gold standard for quality — match their level of polish.

Deliverable contract

  • Single .html file, runs by double-click, no build step.
  • The UI is genuinely designed (typography, color system via CSS variables, spacing, hierarchy) — not a gray box with an effect slapped on.
  • The effect is the centerpiece, smooth at 60fps, and degrades gracefully.
  • Always honor prefers-reduced-motion and high-DPI screens (see Performance below).

Step 1 — Pick the rendering layer

Decide per-effect. Most rich pieces combine both.

Use SVG / SVG.js when Use Canvas 2D when
The real HTML/SVG UI must stay live, selectable, accessible You need hundreds–thousands of particles
Distortion / blur / glow over existing DOM (feTurbulence, feDisplacementMap, feGaussianBlur) Per-frame physics: gravity, collision, seeking, impact
A handful of vector shapes you tween declaratively You sample pixels (getImageData) to form shapes/text
Crisp resolution-independent vectors Heavy full-screen redraw with trails/additive blending

Combine pattern (used by all examples): render the real UI in HTML/SVG, then overlay a <canvas> (position:fixed; inset:0; pointer-events:none) for the particle/ripple layer. Apply SVG filter:url(#...) to the DOM for distortion; drive the canvas overlay separately so it stays sharp.

SVG.js (https://github.com/svgdotjs — svg.js, plus svg.filter.js for filters) is the recommended way to build and animate the SVG layer programmatically. Load via CDN:

<script src="https://cdn.jsdelivr.net/npm/@svgdotjs/svg.js@3/dist/svg.min.js"></script>

You may also author SVG filters as static markup (as example 1 does) and only toggle their attributes from JS — that is simpler and fine.

Read the full file on GitHub · 427 lines

Files

What ships with it

3 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 427 lines · 152 tokens per session scan A 99710624bbdd

Subscribe to this mod's changes

web-ui-motion is a skill published in the GitHub repository creativedswork/dscode (11 stars, last pushed 29d ago), licensed MIT. It adds 152 tokens to every session and 5,957 once invoked, about $0.0006 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

web-design-engineer

Build or redesign polished browser-rendered visual artifacts with HTML/CSS/JavaScript/React: pages, dashboards, prototypes, slide decks, animations, UI mockups, and data visualizations. Use for visual front-end creation, design-system exploration, design critique, or explicit browser acceptance / QA of a web artifact.…

ConardLi/garden-skills · 96 tokens

web-design

Penguin visual language for generated web pages and app UIs — GitHub-style simplicity with a single blue accent, light and pure-black dark themes, design tokens, component and chat-interface recipes, plus an opt-in warm paper editorial theme.

Prism-Shadow/penguin-harness · 51 tokens

yida-data-manage-ui

A method for improving the appearance and usability of Yida data-management pages, while keeping their data, permissions, queries, and business actions unchanged. Yida is a platform for building business applications.

openyida/openyida · 100 tokens

animated-sketch-diagram

A tool for making animated diagrams and flowcharts in a hand-drawn ink style, with paper-like backgrounds, simple icons, and moving dots along connections. It produces a self-contained HTML file and can also create a looping GIF.

iflytek/iFly-Skills · 182 tokens

webflow-mcp:interactions

Create, update, list, and delete Webflow IX3 interactions (GSAP animations) through Webflow MCP. Use when the user wants click/hover/load/scroll/mouse-move animations, interaction timelines, or datainteractionstool / createinteraction payloads.

webflow/webflow-skills · 63 tokens

webflow-mcp:flowkit-naming

Apply Flowkit CSS naming system in Webflow. Use when creating classes, auditing existing naming, or building new components following Flowkit conventions. Flowkit is Webflow's official CSS framework with utility-first approach. Runs headlessly against a page ID — no Designer connection required, except for the…

webflow/webflow-skills · 81 tokens