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 skills add sgm-audio/apc-mcp --skill juce-dsp-safetygit clone --depth 1 https://github.com/sgm-audio/apc-mcpWrote 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/skills/sgm-audio/apc-mcp/juce-dsp-safety)<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/juce-dsp-safety"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/juce-dsp-safety/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/skills/sgm-audio/apc-mcp/juce-dsp-safety"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/juce-dsp-safety.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.00057 | $0.00403 |
| Opus 5.5 | $0.00023 | $0.00161 |
| Sonnet 5.5 | $0.00011 | $0.00081 |
| Haiku 4.5 | $0.00006 | $0.00040 |
Grade A, and why
juce-dsp-safety 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 8d 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.
What it actually says
JUCE DSP Safety
When to use
- Editing
processBlockorprepareToPlay. - A plugin glitches, drops out, or crashes under load.
- Reviewing generated or hand-written DSP.
Rules (audio thread)
- No allocations (
new,std::vector::resize,Stringconstruction that allocates). - No locks (
CriticalSection,std::mutex,MessageManagerLock). - No file I/O, logging that allocates, or network.
- No unbounded loops or heavy computation that can miss the deadline.
- Prefer pre-allocated buffers and lock-free structures prepared in
prepareToPlay.
Example
void processBlock(juce::AudioBuffer<float>& buffer, juce::MidiBuffer&) override
{
// safe: read atomic parameters, process pre-allocated state
// unsafe: buffer.setSize(...), new float[], file writes
}
Verification
- Grep
processBlockand any helpers it calls fornew,malloc,std::vector,CriticalSection,std::mutex,File::,DBG, andStringconstructions that can allocate — zero hits on the audio path. - Build with ThreadSanitizer (
-fsanitize=thread) and run a stress test (small buffers, high CPU load, rapid parameter changes) for ≥10 minutes with no races or dropouts. pluginvalat strictness ≥5 completes without audio-thread violations or crashes.- Manual review or static analysis confirms all buffers and state are sized in
prepareToPlayonly.
What ships with it
3 files 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.
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.
- 8d ago First seen · 34 lines · 57 tokens per session scan A eef000c3a582
juce-dsp-safety is a skill published in the GitHub repository sgm-audio/apc-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 57 tokens to every session and 403 once invoked, about $0.0002 per session on Opus 5.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-11-21.
juce-dsp-safety compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| juce-dsp-safetysgm-audio/apc-mcp | Skill | 1 | 4d ago | MIT | A | 57 | Claude Code, Codex |
| cppericrisco/rsc-harness | Skill | 682 | 5d ago | MIT | A | 81 | Claude Code, Codex |
| Multi-Language Project Analysis with PMATpaiml/paiml-mcp-agent-toolkit | Skill | 171 | today | MIT | A | 147 | Claude Code |
| cppcrazyguitar/cppcheatsheet | Skill | 297 | 6d ago | MIT | A | 0 | Claude Code |
| art-of-debuggingstas00/the-art-of-debugging | Skill | 1.7k | 9d ago | CC-BY-SA-4.0 | B | 193 | Claude Code, Codex |
| embedded-debuggingptsilivis/autonomousguy | Skill | 42 | 4mo ago | MIT | A | 208 | Claude Code, Codex |
| gdb-clisinhoneyy/master-skills | Skill | 19 | 3d ago | none | A | 29 | Claude Code |