Skills and bash tools that teach AI coding agents to run VoicePrivacy 2026 voice-anonymization research: baselines, attacker scoring, reproducibility checks and an experiment log.
Works with Claude Code, Codex and Cursor. Activates automatically in voice-anonymization projects and stays silent everywhere else.
The VoicePrivacy 2026 challenge asks systems to hide who is speaking while keeping what is said intelligible. Scoring mixes privacy (attacker EER, where higher is better and 50% is ideal), utility (WER, lower is better) and naturalness. General-purpose coding agents routinely get these directions backwards, quote baseline numbers from older challenge years, run the wrong attacker condition, or ship results that cannot be reproduced. vpstack packages that domain knowledge as markdown skills, and the repetitive computation as small bash tools the agent calls instead of improvising scripts.
- 18 domain-aware skills covering the research loop: plan, hypothesise, spike, attack, evaluate, check reproducibility, write up, ship.
- Real tools, not prompts-only:
vpstack-b1(McAdams baseline),vpstack-b2(neural baseline wrapper),vpstack-score(ASV attacker),vpstack-wer,vpstack-utmos, andvpstack-eval(writes the VP2026 submission CSV layout). - Reproducibility gates:
vpstack-lockpins checkpoint hashes;/vp-repro-checkreports PASS_STRONG or PASS_WEAK. - Experiment memory:
vpstack-brainbrowses a plain-JSONL store of experiments and learnings under~/.vpstack/. No database. - Safe by default: ML dependencies install on demand after a prompt, telemetry is off unless enabled, and no model weights or challenge data are bundled.
- Licence-aware: the GPLv3 VP2024 baseline code is never imported; it can only be driven as an external tool.
git clone https://github.com/khamidov17/vpstack.git ~/.claude/skills/vpstack
chmod +x ~/.claude/skills/vpstack/bin/*Restart Claude Code, open a voice-anonymization project and run /vp-talk (planning) or /vp-baseline-compare.
git clone https://github.com/khamidov17/vpstack.git ~/.claude/skills/vpstack
chmod +x ~/.claude/skills/vpstack/bin/*
cp ~/.claude/skills/vpstack/AGENTS.md /path/to/your/project/AGENTS.mdCodex reads AGENTS.md for domain context; point it at skills/vp-*/SKILL.md to follow a workflow.
git clone https://github.com/khamidov17/vpstack.git ~/.claude/skills/vpstack
chmod +x ~/.claude/skills/vpstack/bin/*
mkdir -p /path/to/your/project/.cursor
cp ~/.claude/skills/vpstack/.cursor/rules /path/to/your/project/.cursor/rulescat ~/.claude/skills/vpstack/docs/claude-md-template.md >> CLAUDE.mdRequirements: bash, Python 3 and git. Python packages (numpy, scipy, soundfile, speechbrain, torch, whisper, speechmos) are installed only when a skill needs them; run vpstack-deps list to see status.
flowchart LR
U[You] -->|slash command| A[AI coding agent]
A -->|reads| S["skills/vp-*/SKILL.md<br/>workflow + domain rules"]
A -->|runs| B["bin/vpstack-*<br/>b1, b2, score, wer, utmos, eval, lock, brain"]
B -->|reads and writes| ST[("~/.vpstack/<br/>JSONL state, configs, reports")]
D["docs/domain.md<br/>metrics, attackers, failure modes"] -->|loaded as context| A
ST -->|learnings and past runs| A
Skills are markdown only: they tell the agent which questions to ask, which gates to enforce and which binary to run. The binaries do the actual work and print machine-readable JSON, so the agent parses results instead of guessing. State lives in ~/.vpstack/projects/{slug}/, outside your repo. A full example session is in docs/walkthrough.md.
| Skill | What it does |
|---|---|
/vp-talk |
Research mode (forcing questions, research plan) or Engineering mode (domain config and engineering plan) |
/vp-hypothesis |
Formalise an experiment in 7 questions |
/vp-spike |
Run 1-3 B1 ablation variants and log verdicts |
/vp-baseline-compare |
Run B1 (and optionally B2) and build a delta table |
/vp-attack |
ASV attacker: ignorant, lazy-informed or semi-informed |
/vp-eval |
VP2026 scorecard (EER, WER, naturalness) and submission CSVs |
/vp-repro-check |
Seeds, splits and checkpoint hashes: PASS_STRONG or PASS_WEAK |
/vp-implement |
Gated implementation workflow with licence and repro checks |
/vp-investigate |
Debug suspicious numbers (EER polarity, broken attacker, no-op anonymisation) |
/vp-writeup |
Engineering report from logged experiments, without generated citations |
/vp-qa |
Repro check, attacker smoke test and submission-format check |
/vp-ship |
Version bump, gates and PR |
/vp-plan-eng-review |
18 voice-privacy engineering gates against a plan |
/vp-plan-design-review |
Architecture review before coding |
/vp-autoplan |
Chain the planning and review skills |
/vp-context-save, /vp-context-restore |
Save and resume session state |
/vp-brain |
Browse experiments: list, top, stats, query, diff, learnings, timeline |
The bash tools are documented in docs/reference.md; run any of them with --help.
skills/vp-*/SKILL.md markdown workflows the agent follows
bin/vpstack-* bash tools the skills call (also usable standalone)
docs/ domain reference, quick start, telemetry, design history
tests/ bats test suite for the bin/ tools
AGENTS.md context for Codex and other agents
.cursor/rules context for Cursor
CI runs ShellCheck over bin/ and a bats suite on every push and pull request. The tests cover argument parsing, input validation, config, project detection, checkpoint locking, the experiment store, telemetry gating and update checks. They need no GPU, datasets or network.
npm install -g bats # or: brew install bats-core
bats tests/
shellcheck $(grep -l '^#!/usr/bin/env bash' bin/*)The ML paths (B1 audio processing, ECAPA scoring, Whisper, UTMOS) are not exercised in CI because they need model downloads and audio data.
- CI coverage for the audio paths using a small CC-BY fixture clip.
- A native installer for Codex and Cursor instead of copying
AGENTS.mdand.cursor/rulesby hand. - Promote the experimental
speechbrain-vcbackend ofvpstack-b2once it is VP2026-comparable. - Published, reproducible baseline results produced by the tools in this repo.
Issues and pull requests are welcome. Read CLAUDE.md for the non-negotiable rules: no vendored GPLv3 code, no bundled model weights or challenge data, a strict telemetry allowlist, and bash-only code in bin/. Add a bats test for any tool you change, and make sure shellcheck and bats tests/ pass.
Apache-2.0, see LICENSE and NOTICE. Third-party model and dataset licences are listed in THIRD_PARTY_LICENSES.md and LICENSING.md.
The shape of this project (markdown SKILL.md workflows with a shared bash preamble, per-project state directories, and skill names such as autoplan, investigate, qa, ship and context-save) is modelled on gstack by Garry Tan, which is MIT-licensed (Copyright (c) 2026 Garry Tan). No gstack source files are copied; see THIRD_PARTY_LICENSES.md. vpstack builds on SpeechBrain, HuBERT, ECAPA-TDNN, HiFi-GAN, Whisper and UTMOS, and implements B1 from the VoicePrivacy 2024/2026 evaluation plans. It is not affiliated with the VoicePrivacy challenge organisers.