Setup
Install / configure the push-to-talk voice plugin (Python venv, config file, audio tools, input-group check). Use when the user wants to set up voice chat, when it fails because dependencies or config are missing, or after first installing this plugin.From its SKILL.md
npx -y skills add erkkimon/programming-agent-push-to-talk --skill setupAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
One thing to look at
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.3 KB, as published. Nobody here has run it
Set up push-to-talk voice
Get push-to-talk voice chat working on this Linux machine.
1. Run the installer
bash "${CLAUDE_PLUGIN_ROOT}/scripts/install.sh"
(Outside Claude Code, run scripts/install.sh from the repo root.)
It is idempotent. It:
- creates a Python venv with
requests+evdev, - writes
~/.config/claude-ptt/config.envfrom the example (only if absent), - checks for
arecordandpaplay(prints the pacman/apt install line if missing), - symlinks
pttinto~/.local/binand the voice-chat skill into~/.agents/skills(so opencode, pi, and other Agent Skills tools find it), - checks whether the user is in the
inputgroup.
Read its output and act on any warnings it prints (install audio tools, add
to the input group).
2. Configure the endpoints
Open ~/.config/claude-ptt/config.env and set the OpenAI-compatible TTS and
Whisper URLs, models, voice, and auth token. Ask the user for these if you don't
know them. Both must speak the OpenAI /v1/audio/speech and
/v1/audio/transcriptions shapes.
3. Input group (push-to-talk needs it)
If the installer said the user isn't in input:
sudo usermod -aG input $USER
Then they log out/in — or you run listen/chat under sg input -c '...',
which grants the group without a relogin.
4. Smoke test
Speaking needs no key or group:
echo 'Hello, this is a test. Setup looks good.' | ptt speak
If you hear it, TTS + config + audio playback all work. Then hand off to the voice-chat skill for real conversation.
Troubleshooting
- No audio / paplay error → install
libpulse(Arch) orpulseaudio-utils(Debian); confirm PipeWire/Pulse is running. ModuleNotFoundError→ the venv didn't build; re-run the installer and read the pip output.- Connection refused / timeout on speak → wrong
PTT_TTS_URL, or the endpoint isn't reachable from this machine. exit 3on listen → not in theinputgroup (see step 3).