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.
npx agentmods add commands/danielraffel/generous-corp-marketplace/themegit clone --depth 1 https://github.com/danielraffel/generous-corp-marketplaceWrote 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.
[](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/theme)<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>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.
| Model | Per session | Once 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 |
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.
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
-
Check the project has Visage theme designer files:
Tools/theme-designer.html— the visual preview toolTools/themes/default.json— the default themescripts/generate_theme.py— the C++ codegen script
-
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:
-
Open the theme designer in the default browser:
open Tools/theme-designer.html # macOS -
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" -
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
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.
- 6d ago First seen · 133 lines · 20 tokens per session scan A d61e1f6c4422
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.
Other commands, from other repositories
cpp-test
Enforce TDD workflow for C++. Write GoogleTest tests first, then implement. Verify coverage with gcov/lcov.
verify-claim
验证一条 C++ 断言 —— 编译最小例子 + 查 cppreference,给出成立/不成立的实证(金科玉律固化版).
lift-class
Batch-lift all methods of a C++ class with shared type context, producing a single cohesive .cpp output file with struct definitions, constants, and all methods in dependency order. Uses assembly as ground truth to ensure 100% functional equivalence.
reconstruct-types
Reconstruct C/C++ struct and class definitions from a module's decompiled code by scanning memory access patterns, vtable contexts, and mangled names across all functions. Generates compilable C++ header files with per-field confidence annotations.
cpp-build
Fix C++ build errors, CMake issues, and linker problems incrementally. Invokes the cpp-build-resolver agent for minimal, surgical fixes.
review
Review a change against the repository's rule-driven modern C++ contract.