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 skills/kunitoki/sonic-skills/audio-artifacts-debugnpx skills add kunitoki/sonic-skills --skill audio-artifacts-debuggit clone --depth 1 https://github.com/kunitoki/sonic-skillsWhat 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 | $0.00119 | $0.00937 |
| Opus 5 | $0.00060 | $0.00468 |
| Sonnet 5 | $0.00024 | $0.00187 |
| Haiku 4.5 | $0.00012 | $0.00094 |
Grade A, and why
audio-artifacts-debug 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 3d 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 — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Audio Artifacts Debug
Audio artifacts have diagnostic signatures — match the symptom to the root cause before touching code.
Step 1 — Characterize the artifact
Ask these questions before reading any code.
| Artifact type | Questions to ask |
|---|---|
| Clicks / pops | Regular or random? On buffer boundaries? At note on/off? After channel strip toggle? |
| Crackling / distortion | Constant or load-dependent? Does it correlate with signal level? Worse on silent decay? |
| Silence / dropout | Immediate or gradual? Only under load? After a specific number of voices? Recovers? |
| DC offset | Constant or drift? Present from first sample? Appears only after long silence? |
| Aliasing | Audible as high-frequency mirror tones? Pitch-dependent? Present at all sample rates? |
| Phase issues | Stereo image collapse in mono? Comb filtering? Only on parallel paths or mid-side? |
| Latency | DAW reports wrong delay compensation? Wet/dry misaligned? Only at certain buffer sizes? |
Step 2 — Narrow to root cause
| Symptom | Likely cause | Skill / check to apply |
|---|---|---|
| Click at fixed buffer-length intervals | Buffer boundary discontinuity — uninitialized tail, missing sample-accurate fade | audio-dsp-review: check process entry/exit |
| Click correlates with xrun log | CPU overload — audio thread missed deadline | audio-dsp-review: scan for allocations, locks, I/O |
| Crackling scales with signal amplitude | Clipping or fixed-point overflow | audio-numerics-review: overflow, Q-format multiply |
| Crackling on silent decay | Denormal floats — FTZ absent | audio-numerics-review: denormal section |
| Dropout / silence under load | xrun, NaN propagation, or buffer too small for latency | audio-dsp-review + audio-numerics-review: NaN guards |
| Silence after large value | NaN propagated from unclamped sqrt / division |
audio-numerics-review: NaN / Inf section |
| DC offset from first sample | Uninitialized filter state or delay line | audio-numerics-review: precision loss / state init |
| DC offset after long silence | FTZ leaving near-zero state; missing high-pass | audio-numerics-review: denormal / FTZ section |
| Aliasing pitch-tracks with note | Oscillator not bandlimited; no anti-alias before downsampling | audio-numerics-review: check sample-rate handling |
| Stereo collapses to mono | Unmatched processing on L/R; phase inversion | audio-dsp-review: check parallel path symmetry |
| Comb filtering on mono | Latency mismatch on parallel paths | Plugin reports incorrect getLatencySamples() |
| Latency wrong at buffer-size change | Plugin caches latency at init only; not updated on reconfigure | audio-dsp-review: check prepareToPlay reset |
What ships with it
1 file 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.
- 3d ago First seen · 72 lines · 119 tokens per session scan A b50d6587baec
audio-artifacts-debug is a skill published in the GitHub repository kunitoki/sonic-skills (18 stars, last pushed 3mo ago), licensed Unlicense. It adds 119 tokens to every session and 937 once invoked, about $0.0006 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 skills, from other repositories
AudioMind
Tired of juggling multiple audio APIs? This skill gives you one-command access to TTS, music generation, sound effects, and voice cloning. Use when you want to generate any audio without managing multiple API keys.
lattice-init
Guided setup and upgrade-check experience for Lattice projects -- scans the repository, detects existing configuration and outdated conventions, suggests refiners and available upgrades in priority order, and creates or reconciles the .lattice/ config. Bridges the gap between installing skills and getting first value…
define-problem-statement
Creates a clear problem framing document with user impact, business context, and success criteria. Use when starting a new initiative, realigning a drifted project, or communicating up to leadership.
develop-design-rationale
Documents the reasoning behind design decisions including alternatives considered, trade-offs evaluated, and principles applied. Use when making significant UX decisions, aligning with stakeholders on design direction, or preserving design context for future reference.
develop-solution-brief
Creates a concise one-page solution overview that communicates the proposed approach, key decisions, and trade-offs. Use when pitching solutions to stakeholders, aligning teams on approach, or documenting solution intent before detailed specification.
intelligent-investor-graham
Use Graham value investing for Is this investment or speculation, defensive stock screens, margin of safety, Mr. Market, allocation, funds, IPOs.