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 commands/generous-corp/pulp/audio-comparegit clone --depth 1 https://github.com/Generous-Corp/pulpWrote 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/generous-corp/pulp/audio-compare)<a href="https://agentmods.dev/commands/generous-corp/pulp/audio-compare"><img src="https://agentmods.dev/badge/commands/generous-corp/pulp/audio-compare.svg" alt="Measured on agentmods" 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 | $0.00038 | $0.01854 |
| Opus 5 | $0.00019 | $0.00927 |
| Sonnet 5 | $0.00008 | $0.00371 |
| Haiku 4.5 | $0.00004 | $0.00185 |
Grade A, and why
audio-compare 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 today.
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 — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Use this when you (an agent) need to weigh in on a DSP change: render/capture the audio
before and after, then get a defended judgment — "did this make it worse?" — with cited
evidence, not a bare pass/fail. It wraps the Audio Quality Lab's compare surface
(tools/audio/quality-lab/, opt-in Python; see the audio-harness skill for the full
vocabulary and rationale). Advisory and off-gate: it never fails a build.
Not this — reach for the gate instead when you just want an exact/numeric/spectral
before-after diff with a pass/fail exit: use pulp audio validate compare a.wav b.wav [--mode null|spectral] [--tolerance <dbfs>] (shipped, deterministic, gate-oriented). Use
/audio-compare when you want an interpreted judgment an agent can act on.
One-time setup (opt-in deps)
pulp tool install audio-quality-lab # managed venv under ~/.pulp/tools
# — or a plain checkout venv —
cd tools/audio/quality-lab && python3 -m venv .venv && . .venv/bin/activate && pip install -r requirements.txt
Run it
Invoke with two WAVs ($ARGUMENTS = <reference.wav> <candidate.wav> [extra flags]):
# Preferred — the shipped CLI verb (delegates to the managed tool; no venv juggling):
pulp audio compare $ARGUMENTS --profile tonal-balance --json /tmp/compare.json
# Equivalent lower-level forms:
# pulp tool run audio-quality-lab -- compare $ARGUMENTS
# python -m quality_lab.cli compare $ARGUMENTS
# Agents inside an MCP client can call the pulp_audio_compare tool for the report JSON directly.
--reference-role golden— declare the reference known-good and the candidate expected unchanged. This is the ONLY mode that can returnregression_suspected.- default
--reference-role peer— a neutral A/B; a changed candidate reads asmaterial_change_detected, never "regression" (we don't assume which side is right). --profile— the measurement axis. Six today:tonal-balance— LTAS spectral-centroid shift; bad direction duller.added-hf— band-relative ≥8 kHz fraction ratio (dB); bad direction added HF fizz.noise-roughness— harmonic-to-noise ratio drop (dB); bad direction rougher/noisier (tonal material).graininess— relative spectral-flux increase; bad direction grainier (tonal material).stereo-width— RMS(side)/RMS(mid) width + interchannel correlation; bad direction narrower/collapsed, and an out-of-phase candidate is flagged (needs 2-channel input; mono →not_applicable).transient-integrity— per-onset attack-smear deficit (onset-aligned); bad direction softer/smeared attacks. Needs onset-bearing (percussive) material (too few onsets →not_applicable); one-directional (a sharper candidate reads no change).regression_suspectedalso requires the change to be in that axis's bad direction — a brighter candidate ontonal-balance, or an HF-reduced one onadded-hf, stays a neutralmaterial_change_detected. New axes auto-appear in--profile; time-warp axes are deferred.
--align <none|latency|varispeed:R|stretch:R|pitch:S|ratio:auto>— time-align first.latencytrims a constant delay/offset before measuring, so a pure shift (delay plugin, tempo-sampler offset) reads as the tone change it is (corroborated) instead of a falsenot_corroborated; it refuses and measures unaligned when the difference isn't a reliable pure delay. Defaultnone.--threshold <t>— override the axis's own materiality default (per-axis unit/range; the tool validates it — a fraction fortonal-balance, dB foradded-hf/noise-roughness, etc.).
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.
- today First seen · 106 lines · 38 tokens per session scan A 43ddfd7c4dd9
audio-compare is a command published in the GitHub repository Generous-Corp/pulp (16 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 1,854 once invoked, about $0.0002 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-09-04.
Other commands, from other repositories
checklist
Generate a custom checklist for the current feature based on user requirements.
clarify
Identify underspecified areas in the current feature spec by asking up to 5 highly targeted clarification questions and encoding answers back into the spec.
specify
Create or update the feature specification from a natural language feature description.
analyze
Perform a non-destructive cross-artifact consistency and quality analysis across spec.md, plan.md, and tasks.md after task generation.
converge
Assess the current codebase against the feature's spec, plan, and tasks, then append any remaining unbuilt work as new tasks to tasks.md so implement can complete it.
implement
Execute the implementation plan by processing and executing all tasks defined in tasks.md.