audio-artifacts-debug

audio-artifacts-debug is a skill for Claude Code, Codex from kunitoki/sonic-skills. It costs 119 tokens per session (937 once invoked), scanned A, original, Unlicense.

A troubleshooting checklist for audio problems such as clicks, crackling, silence, unwanted constant signal, high-frequency distortion, stereo phase problems, and timing errors. It connects each symptom with likely causes and checks.

In plain words
What is it for?
Use it to investigate sound artifacts in audio software, including buffer-boundary clicks, dropouts under load, aliasing, phase issues, and incorrect delay.
Why use it?
It gives a structured way to narrow down audio faults before changing code. This reduces guesswork when the same sound problem can have several causes.

Skill for Claude CodeCodex

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

Good fit Use it to investigate sound artifacts in audio software, including buffer-boundary clicks, dropouts under load, aliasing, phase issues, and incorrect delay.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kunitoki/sonic-skills/audio-artifacts-debug
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 kunitoki/sonic-skills --skill audio-artifacts-debug
Clone the repo
git clone --depth 1 https://github.com/kunitoki/sonic-skills

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 audio-artifacts-debug

README.md
[![agentmods](https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-artifacts-debug/github.svg)](https://agentmods.dev/skills/kunitoki/sonic-skills/audio-artifacts-debug)
Your own site
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/audio-artifacts-debug"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-artifacts-debug/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 audio-artifacts-debug

Your own site · 80×15
<a href="https://agentmods.dev/skills/kunitoki/sonic-skills/audio-artifacts-debug"><img src="https://agentmods.dev/badge/skills/kunitoki/sonic-skills/audio-artifacts-debug.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 937 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.00119 $0.00937
Opus 5.5 $0.00048 $0.00375
Sonnet 5.5 $0.00024 $0.00187
Haiku 4.5 $0.00012 $0.00094

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

Security

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 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.

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/audio-artifacts-debug/SKILL.md · 72 lines

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

Read the full file on GitHub · 72 lines

Files

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.

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. 3mo ago First seen · 72 lines · 119 tokens per session scan A b50d6587baec

Subscribe to this mod's changes

audio-artifacts-debug is a skill published in the GitHub repository kunitoki/sonic-skills (26 stars, last pushed 6mo ago), licensed Unlicense. It adds 119 tokens to every session and 937 once invoked, about $0.0005 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-08-30.

Related

audio-artifacts-debug compared with skills from other repositories

audio-artifacts-debug next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
audio-artifacts-debugkunitoki/sonic-skillsSkill266mo agoUnlicenseA119Claude Code, Codex
triage-issuegtrabanco/agentic-workflowSkill25yesterdayMITA90Claude Code
agentic-workflow-doctorgtrabanco/agentic-workflowSkill25yesterdayMITA109Claude Code
aw-doctorgtrabanco/agentic-workflowSkill25yesterdayMITA68Claude Code
chrome-devtools-axin-n-code/n-n-code-skillsSkill41mo agoMITA79Claude Code, Codex
project-platform-diagnosen-n-code/n-n-code-skillsSkill41mo agoMITA42Claude Code, Codex
spark-engineerJeffallan/claude-skillsSkill13ktodayMITA75Claude Code