/xenon-widgets:build-lookfrom xenon-widgets
Creates themes, animated backgrounds, or bundled looks for the Xenon dashboard using xenon-widgets tools. Guides through a loop of status check, preset reference, code generation, validation, import, and screenshot review.
Ships in xenon-widgets. 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.
None: SKILL.md is the whole skill.
Xenon is a dashboard for any spare screen. A theme is its whole visual identity (light or dark, canvas, panels, text, state colours, glass, roundness). An animated background is a small piece of JavaScript drawn on a canvas behind the tiles, in a sandbox with no network and no access to files. Both travel as a share code. The tools check it with the same rules Xenon's own assistant uses, then open it in Xenon's import window, where the person looks at it and confirms. Nothing changes on their dashboard before that.
xenon_status. If Xenon is not running, say so and stop.preset_reference with the kind: theme, bg, or bundle for a theme and a background together. Read every
field and its range: do not guess keys..js file, passed as codeFile, so it never needs escaping in
JSON: for bg it becomes data.code, for a theme data.bgCustom.code, for a bundle data.bg.code.check_preset. report lists what the import would drop or change; critique lists design and performance
findings. Fix every fix item and anything dropped, then check again.import_preset. The import window opens on the dashboard: tell the person to look and press Import.dashboard_screenshot. Look at the picture: are the tiles readable over it, does the motion
pull the eye away from the numbers? Adjust and import again.check_preset also returns the share code (when it is short enough) for the person to keep or send.function (canvas, ctx, assets) and defines function draw(ctx, t, w, h, assets). t is
seconds since start; w, h the size in pixels. Paint the whole frame every time.fps (30 by default, 10 to 60). Near-static looks are happy at 10 to 20. Speed never depends on fps:
move things by t, not by frame count.shadowBlur or
filter over the whole canvas, no getImageData in draw. The critique names the costly calls.function drawFront(ctx, t, w, h, assets) in the same code. It paints on a transparent canvas over the
dashboard: start it with ctx.clearRect(0, 0, w, h), keep it sparse and see-through, never fill the screen.
Touches pass through it. It gets the same t as draw, but each layer runs its own copy of the code, so state
made with Math.random() above them is not shared: derive both from t when they must match. The person can
turn the front off or lower it in Settings, and it pauses with the background.w and h are the screen in CSS pixels, and any shape: a 2560x720 bar, 16:9, 16:10, a phone. Place things as
fractions of them. A photo fills every screen with Math.max(w / img.width, h / img.height), centred; Math.min
leaves bars on other shapes.assets as data:image/... URLs and arrive as loaded images; the reference gives the limits.
Prefer JPEG for photos, and never hide bytes inside another image to get past a limit.autoPalette: false, or Xenon follows the system and ignores your colours.accent, background and text; leave other roles out and Xenon derives them from the surface.contrastGuard stays on unless the person asks for exact low-contrast art: it repairs unreadable pairs and keeps
colours that already pass.paletteVariants. Glass is panelAlpha, glassBlur and glassSaturate;
roundness is uiRoundness; styleMode picks liquid, glass, retro or comic.bgCustom; a bundle adds pages, the top bar, Deck profiles, widgets, an icon pack, widgets placed on the desktop, a pump screen setup and an outfit for Bit (worn only from items the person owns). preset_reference bundle lists each part. The import asks before it changes the desktop, the pump or Bit.The person always confirms in Xenon's own window. Fonts cannot be generated: the person keeps their own.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
2 skills in this plugin
npx claudepluginhub marcimastro98/xenon --plugin xenon-widgetsOther plugins' skills for the same job