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.
git clone --depth 1 https://github.com/danielraffel/generous-corp-marketplacenpx agentmods add commands/danielraffel/generous-corp-marketplace/setup-visageWrote 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/setup-visage)<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/setup-visage"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/setup-visage/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.
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/setup-visage"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/setup-visage.svg" alt="Reviewed on agentmods" width="80" 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.00015 | $0.00936 |
| Opus 5.5 | $0.00006 | $0.00374 |
| Sonnet 5.5 | $0.00003 | $0.00187 |
| Haiku 4.5 | $0.00002 | $0.00094 |
Grade C, and why
setup-visage scanned grade C with 1 finding 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 3mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
rm -rf build/ How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Add Visage GPU UI
Add Visage GPU-accelerated UI to an existing JUCE-Plugin-Starter project. Visage is fully cross-platform via bgfx: Metal (macOS), Direct3D11 (Windows), Vulkan (Linux), WebGL (Web).
Implementation
Step 1: Verify Project
-
Check that the current working directory is a JUCE-Plugin-Starter project:
CMakeLists.txtmust existSource/PluginEditor.hmust exist.envmust exist
-
If any are missing, tell the user this command must be run from a JUCE-Plugin-Starter project root.
-
Check if Visage is already set up:
- If
external/visage/exists AND.envcontainsUSE_VISAGE_UI=TRUE, tell the user Visage is already configured. - If
external/visage/exists but.envsaysFALSE, just update the.envflag.
- If
Step 2: Detect Class Name
Read Source/PluginEditor.h and extract the class name. Look for the pattern:
class {ClassName}AudioProcessorEditor
Extract {ClassName} — this replaces CLASS_NAME_PLACEHOLDER in the Visage templates.
Step 3: Confirm
question: "Add Visage GPU UI to this project?"
header: "Visage"
options:
- label: "Yes, add Visage (Recommended)"
description: "Replaces PluginEditor with Visage GPU-rendered UI (Metal/D3D11/Vulkan)"
- label: "Cancel"
description: "No changes will be made"
Step 4: Setup Visage
-
Check if
templates/visage/PluginEditor.handtemplates/visage/PluginEditor.cppexist in the project. -
If templates exist, copy them:
cp templates/visage/PluginEditor.h Source/PluginEditor.h cp templates/visage/PluginEditor.cpp Source/PluginEditor.cpp -
Replace
CLASS_NAME_PLACEHOLDERwith the detected class name:sed -i '' "s/CLASS_NAME_PLACEHOLDER/$CLASS_NAME/g" Source/PluginEditor.h Source/PluginEditor.cpp -
Run the Visage setup script (clones Visage repo and applies patches):
./scripts/setup_visage.sh -
Update
.envto enable Visage:- If
USE_VISAGE_UIline exists, change its value toTRUE - If it doesn't exist, add
USE_VISAGE_UI=TRUE
- If
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.
- 3mo ago First seen · 109 lines · 15 tokens per session scan C b94f2ab84169
setup-visage is a command published in the GitHub repository danielraffel/generous-corp-marketplace (12 stars, last pushed 3mo ago), licensed MIT. It adds 15 tokens to every session and 936 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.
setup-visage compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| setup-visagedanielraffel/generous-corp-marketplace | Command | 12 | 3mo ago | MIT | C | 15 | Claude Code |
| checklistgithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 154k | today | MIT | A | 26 | Claude Code |
| clarifygithub/spec-kit | Command | 154k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 154k | today | MIT | A | 13 | Claude Code |
| convergegithub/spec-kit | Command | 154k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 154k | today | MIT | A | 14 | Claude Code |