Skip to content

Wrap HTML artifacts with live parameterized controls that rewrite CSS custom properties and persist choices.

CCM score
60 of 100
skills.sh installs
243
GitHub stars
110.1K
last updated
Aug 21, 2026
View on GitHub

Own this skill? Claim it

What it does

  • Covers five knobs for accent color, type scale, layout density, light or dark mode, and motion, each bound to CSS custom properties
  • Provides a side panel and keyboard shortcuts (T to toggle, R to reset) with choices saved to localStorage
  • Requires artifacts to use the host postMessage or .tw-panel class protocol so the viewer toolbar toggle binds correctly
  • Designed for variant exploration on finished designs, not fixed-ratio infographics or one-shot runbooks

Install

$ npx -y skills add nexu-io/open-design --skill tweaks -y

Installs into .agents/skills for every agent it finds here, and .claude/skills for Claude Code.

Files

Tweaks Skill · 参数化变体面板

Wrap any HTML artifact with a side panel of live controls that rewrite CSS custom properties in real time and persist to localStorage. Inspired by the huashu-design tweak pattern.

What you produce

A single self-contained HTML file with two layers:

  1. Stage — the original artifact (landing page / deck / dashboard) re-keyed so all visual decisions read from CSS custom properties: --accent, --scale, --density, --mode, --motion.
  2. Panel — a fixed sidebar (or drawer on small viewports) with form controls bound to those custom properties via a tiny vanilla-JS bridge. Persists every change to localStorage keyed by the artifact identifier.

The user can:

  • Open the artifact and see the stage rendered with their saved preferences (or sensible defaults).
  • Adjust accent / scale / density / mode / motion in the panel and watch the stage update instantly — no rerender.
  • Press T to hide / reveal the panel; R to reset to defaults.
  • Refresh the page — every choice is persisted.

When to use

Details

Repository
github.com/nexu-io/open-design
Categories
Design & UI/UX, Frontend & UI Code
First seen
Jun 3, 2026

Questions

What does the tweaks skill do?

The tweaks skill wraps any HTML artifact with a side panel of live, parameterized controls for accent color, type scale, density, motion and theme. These controls rewrite CSS custom properties in real time and persist to localStorage, so users can explore design variants without re-prompting the agent.

When should I use the tweaks skill?

Use it when a brief asks for variants, side-by-side options, live knobs or a way to adjust a design, or when the user has a design they like 80% of and wants to dial in the rest. It is less suited to one-shot artifacts or infographics with fixed ratios, where knobs would degrade the layout.

How do I install the tweaks skill?

Run npx -y skills add nexu-io/open-design --skill tweaks -y in your project. Once installed, the agent can wrap a design with a panel that lets the user adjust its look live and keeps their choices after a page refresh.

Where does the tweaks skill stand in the Design & UI/UX category?

The tweaks skill is listed in the Design & UI/UX category on Claude Marketplaces, alongside frontend-design, ui-ux-pro-max and impeccable. Its distinct focus is adding live parameter controls to finished HTML artifacts rather than generating the design itself.

More from nexu-io/open-design

All 196

Similar to Tweaks

More Design & UI/UX