theme

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

A command for designing Visage themes for JUCE audio plugins, with a browser preview and generated C++ headers. JUCE is a C++ framework commonly used to build audio software.

In plain words
What is it for?
Opening the theme designer, creating or editing theme JSON files, previewing colors, and generating C++ theme headers.
Why use it?
It lets developers preview visual changes and turn a theme description into code used by the plugin.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool.

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

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.

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

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 theme

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/theme.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/theme)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/theme"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/theme.svg" alt="Measured on agentmods" height="20"></a>
Per session 20 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,140 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00020 $0.01140
Opus 5 $0.00010 $0.00570
Sonnet 5 $0.00004 $0.00228
Haiku 4.5 $0.00002 $0.00114

Measured 6d ago against content hash d61e1f6c4422, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

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 6d 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/commands/theme.md · 133 lines

How it starts

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

Visage Theme Designer

Interactive theme design session for Visage-powered JUCE plugins. Supports both Visage GPU tokens and JUCE LookAndFeel ColourIds.

Arguments

  • No arguments or --open: Open the theme designer in the browser
  • --generate <theme.json>: Generate C++ headers from a theme JSON file
  • --new <name>: Create a new theme JSON based on the default

Implementation

Step 0: Verify Environment

  1. Check the project has Visage theme designer files:

    • Tools/theme-designer.html — the visual preview tool
    • Tools/themes/default.json — the default theme
    • scripts/generate_theme.py — the C++ codegen script
  2. If any are missing, tell the user:

    Theme designer files not found. These ship with the JUCE-Plugin-Starter template.
    Copy them from the template or run: git checkout main -- Tools/theme-designer.html Tools/themes/ scripts/generate_theme.py
    

Step 1: Handle Arguments

If --open or no arguments:

  1. Open the theme designer in the default browser:

    open Tools/theme-designer.html  # macOS
    
  2. Ask the user:

    question: "The theme designer is open in your browser. What would you like to do?"
    header: "Theme Design Session"
    options:
      - label: "Describe a look (Recommended)"
        description: "Tell me what you want — 'warm retro synth with orange accents' — and I'll generate a theme"
      - label: "Tweak the current theme"
        description: "Tell me what to change — 'darker background, brighter knobs'"
      - label: "Generate C++ from current theme"
        description: "Export the embedded theme JSON to a C++ header for your plugin"
      - label: "Done"
        description: "Exit the theme design session"
    
  3. If "Describe a look":

    • Ask the user to describe their desired aesthetic
    • Read Tools/theme-designer.html, find the <script id="theme-data"> block
    • Generate a new theme JSON matching the description, using the default.json structure as reference
    • Replace the theme-data script block content with the new JSON
    • Tell the user to refresh their browser (Cmd+R)
    • Return to Step 1 to ask what's next

Read the full file on GitHub · 133 lines

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. 6d ago First seen · 133 lines · 20 tokens per session scan A d61e1f6c4422

Subscribe to this mod's changes

theme is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 7d ago), licensed MIT. It adds 20 tokens to every session and 1,140 once invoked, about $0.0001 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.