visage-theme

visage-theme is a skill for Claude Code from danielraffel/generous-corp-marketplace. It costs 83 tokens per session (1,012 once invoked), scanned A, original, MIT.

A design guide for Visage and JUCE, tools used to build the interface of audio plug-ins. It defines color, size, spacing, and other theme settings, and can generate matching C++ code.

In plain words
What is it for?
Use it to create light or dark themes, set palettes and transparency, style Visage controls and JUCE elements, and apply project-specific colors for knobs, meters, panels, or waveforms.
Why use it?
It keeps the interface’s colors and visual settings consistent instead of scattering them through code. It also explains how to preview and export a theme.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is python3 scripts/generate_theme.py theme.json --output Source/Theme.h.

Part of the juce-dev plugin — 3 skills, 10 commands shipped together

Good fit Use it to create light or dark themes, set palettes and transparency, style Visage controls and JUCE elements, and apply project-specific colors for knobs, meters, panels, or waveforms.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/danielraffel/generous-corp-marketplace
agentmods
npx agentmods add skills/danielraffel/generous-corp-marketplace/visage-theme

Made for: Claude Code.

Or install juce-dev, the plugin that ships this one along with the rest of its 3 skills, 10 commands.

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 visage-theme

README.md
[![agentmods](https://agentmods.dev/badge/skills/danielraffel/generous-corp-marketplace/visage-theme/github.svg)](https://agentmods.dev/skills/danielraffel/generous-corp-marketplace/visage-theme)
Your own site
<a href="https://agentmods.dev/skills/danielraffel/generous-corp-marketplace/visage-theme"><img src="https://agentmods.dev/badge/skills/danielraffel/generous-corp-marketplace/visage-theme/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 visage-theme

Your own site · 80×15
<a href="https://agentmods.dev/skills/danielraffel/generous-corp-marketplace/visage-theme"><img src="https://agentmods.dev/badge/skills/danielraffel/generous-corp-marketplace/visage-theme.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 83 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,012 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00083 $0.01012
Opus 5 $0.00042 $0.00506
Sonnet 5 $0.00017 $0.00202
Haiku 4.5 $0.00008 $0.00101

Measured 11d ago against content hash 630909deee05, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-10, from the pricing page.

Security

Grade A, and why

visage-theme 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 11d 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.

plugins/juce-dev/skills/visage-theme/SKILL.md · 118 lines

How it starts

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

Visage Theme System

Theme Designer Workflow

  1. Open Tools/theme-designer.html in a browser (works via file://, no server needed)
  2. Edit colors visually or describe what you want to Claude
  3. Claude updates the <script id="theme-data"> JSON block in the HTML
  4. Refresh browser to see changes instantly
  5. When happy, export C++: python3 scripts/generate_theme.py Tools/themes/my-theme.json --mode both --output Source/Theme
  6. Include Source/Theme.h and call initThemePalette(palette) at plugin startup

JSON Theme Schema

The theme JSON has these sections:

  • colors — Standard Visage widget tokens (Button, Toggle, TextEditor, PopupMenu, ScrollBar)
  • values — Visage value tokens (rounding, margins, sizes) as floats with min/max hints
  • custom — Project-specific tokens (knobs, meters, waveform, panels, cards, accents, etc.)
  • juce — JUCE LookAndFeel ColourId mappings keyed as "ClassName::colourIdName"
  • meta — Theme name, version, base (for inheritance)
  • overrides — Per-OverrideId Visage color overrides (advanced)

Color format: "value": "#RRGGBB" (web-standard hex) + "alpha": 0.0-1.0 (separate float). The codegen converts to Visage 0xAARRGGBB format automatically.

ARGB Color Format

Visage uses 0xAARRGGBB — alpha in the most-significant byte. This differs from CSS rgba.

0xFFFF0000  // Fully opaque red
0x800000FF  // 50% transparent blue
0x00000000  // Fully transparent

Conversion: alpha_byte = round(alpha_0_to_1 * 255), shifted left 24 bits.

C++ Codegen

# Visage header (VISAGE_THEME_COLOR / VISAGE_THEME_VALUE macros)
python3 scripts/generate_theme.py theme.json --output Source/Theme.h

# JUCE LookAndFeel class
python3 scripts/generate_theme.py theme.json --mode juce --output Source/ThemeLookAndFeel.h

# Both at once
python3 scripts/generate_theme.py theme.json --mode both --output Source/Theme

# Validate only
python3 scripts/generate_theme.py theme.json --validate-only

Palette API

visage::Palette palette;
palette.initWithDefaults();  // Load all registered token defaults

// Apply theme colors
palette.setColor(theme::KnobArc, visage::Color(0xFF00FFD4));

// Apply theme values
palette.setValue(theme::TextEditorRounding, 6.0f);

// Propagate to frame tree
rootFrame->setPalette(&palette);

Read the full file on GitHub · 118 lines

Files

What ships with it

1 file 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. 11d ago First seen · 118 lines · 83 tokens per session scan A 630909deee05

Subscribe to this mod's changes

visage-theme is a skill published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 12d ago), licensed MIT. It adds 83 tokens to every session and 1,012 once invoked, about $0.0004 per session on Opus 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-30.

Related

Other skills, from other repositories

chakra-ui-builder

Build responsive, accessible UI components and layouts using Chakra UI v3, install or configure Chakra UI in new and existing projects, and design scalable themes using tokens, semantic tokens, recipes, and slot recipes. Use this skill whenever a user asks to build, create, or generate any UI component, page, form…

chakra-ui/chakra-ui · 214 tokens

visual-ralph

Visual Ralph orchestration for frontend UI from generated references, static references, or live URL targets, using $ralph with built-in visual verdict and pixel-diff evidence until the implementation matches and leaves a reproducible design system.

Yeachan-Heo/oh-my-codex · 50 tokens

frontend-ui-dark-ts

Build dark-themed React applications using Tailwind CSS with custom theming, glassmorphism effects, and Framer Motion animations. Use when creating dashboards, admin panels, or data-rich interfaces with a refined dark aesthetic.

microsoft/skills · 48 tokens

reveal-hover-effect

Build cursor-following spotlight reveals that expose a second aligned image through a soft radial mask. Use for hover-to-color, before-and-after, x-ray, material, texture, product-detail, and illustrated hero effects where a desaturated or embossed base image should remain visible while another treatment follows an…

MengTo/Skills · 66 tokens

frontend-visual-qa

Audits already-rendered web, landing-page, HTML deck/slide, browser tool/game, dashboard/admin, design-system, and desktop UIs using real-browser or native-app journeys, inspected screenshots, DOM geometry, responsive or projection viewports, and a bundled Playwright sweep. Use after UI implementation to find…

daymade/claude-code-skills · 145 tokens

prototype-web

A clickable, high-fidelity web product prototype with navigation, a hero section, feature cards, steps, social proof, and optional pricing. It is designed to resemble a finished landing page while remaining a prototype.

nexu-io/html-anything · 24 tokens