juce-latency-host-quirks

juce-latency-host-quirks is a skill for Claude Code, Codex from sgm-audio/apc-mcp. It costs 46 tokens per session (243 once invoked), scanned A, original, MIT.

A set of Ableton Live-specific rules for reporting audio-plugin latency in JUCE. Latency is the processing delay a plugin adds, which the host uses to keep tracks aligned.

In plain words
What is it for?
Use it when Live crashes on project load, offline exports lose samples, or a plugin's reported delay is wrong. It covers initialization, prepareToPlay, setLatencySamples, and validation against measured delay.
Why use it?
Reporting latency at the wrong time or from the audio thread can crash Live during project loading or cause missing blocks in offline renders. The rules limit reports to real changes and keep them out of time-critical processing.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when Live crashes on project load, offline exports lose samples, or a plugin's reported delay is wrong. It covers initialization, prepareToPlay, setLatencySamples, and validation against measured delay.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/sgm-audio/apc-mcp/juce-latency-host-quirks
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.

Any agent
npx skills add sgm-audio/apc-mcp --skill juce-latency-host-quirks
Clone the repo
git clone --depth 1 https://github.com/sgm-audio/apc-mcp

Made for: Claude Code, Codex.

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 juce-latency-host-quirks

README.md
[![agentmods](https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/juce-latency-host-quirks/github.svg)](https://agentmods.dev/skills/sgm-audio/apc-mcp/juce-latency-host-quirks)
Your own site
<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/juce-latency-host-quirks"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/juce-latency-host-quirks/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 juce-latency-host-quirks

Your own site · 80×15
<a href="https://agentmods.dev/skills/sgm-audio/apc-mcp/juce-latency-host-quirks"><img src="https://agentmods.dev/badge/skills/sgm-audio/apc-mcp/juce-latency-host-quirks.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 243 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.
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.00046 $0.00243
Opus 5.5 $0.00018 $0.00097
Sonnet 5.5 $0.00009 $0.00049
Haiku 4.5 $0.00005 $0.00024

Measured 8d ago against content hash d60ca00468bd, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

juce-latency-host-quirks 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.

skills/juce-latency-host-quirks/SKILL.md · 24 lines

What it actually says

Latency Reporting Quirks

When to use

  • Live 10 crashes on project load after calling setLatencySamples.
  • Offline render in Ableton drops blocks once dynamic latency is reported.
  • You need to report plugin latency safely.

Rules

  • Report latency as early as possible and only when it actually changes.
  • Prefer prepareToPlay over the audio thread.
  • Delay the first call until the plugin is fully initialized; avoid unnecessary VST3 restart flags.
  • Never change latency from inside processBlock.

Verification

  1. Project containing the plugin loads in Ableton Live 10, 11, and 12 without crash.
  2. Offline render (Export Audio) completes with no dropped blocks or truncated tails.
  3. Grep confirms setLatencySamples is never called from processBlock.
  4. pluginval latency tests pass; reported latency matches the actual delay measured with a impulse.
Files

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.

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. 8d ago First seen · 24 lines · 46 tokens per session scan A d60ca00468bd

Subscribe to this mod's changes

juce-latency-host-quirks is a skill published in the GitHub repository sgm-audio/apc-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 46 tokens to every session and 243 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.

Related

juce-latency-host-quirks compared with skills from other repositories

juce-latency-host-quirks next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
juce-latency-host-quirkssgm-audio/apc-mcpSkill14d agoMITA46Claude Code, Codex
cppericrisco/rsc-harnessSkill6825d agoMITA81Claude Code, Codex
Multi-Language Project Analysis with PMATpaiml/paiml-mcp-agent-toolkitSkill171todayMITA147Claude Code
cppcrazyguitar/cppcheatsheetSkill2976d agoMITA0Claude Code
art-of-debuggingstas00/the-art-of-debuggingSkill1.7k9d agoCC-BY-SA-4.0B193Claude Code, Codex
embedded-debuggingptsilivis/autonomousguySkill424mo agoMITA208Claude Code, Codex
gdb-clisinhoneyy/master-skillsSkill193d agononeA29Claude Code