Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

voice-subsystem-keeper

Skill by discord-php

voice-subsystem-keeper is an agent skill for working on DiscordPHP's voice subsystem. It covers the voice gateway protocol, VoiceGroupCrypto encryption, voice packets, and voice integration in Discord.php.

  • Score 76
  • 1.1k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install voice-subsystem-keeper

Built from the published package, never by AI.

git clone --depth 1 https://github.com/discord-php/DiscordPHP /tmp/DiscordPHP && mkdir -p ~/.claude/skills && cp -r /tmp/DiscordPHP/.agents/skills/voice-subsystem-keeper ~/.claude/skills/voice-subsystem-keeper

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install voice-subsystem-keeper in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

voice-subsystem-keeper is an agent skill that guides changes to the voice subsystem of DiscordPHP. It covers the voice gateway handshake, the VoiceGroupCrypto encryption classes, VoicePacket, SessionDescription, and the voice opcode classes under src/Discord/Voice/. It also explains how Discord.php wires voice events, including joinVoiceChannel().

The skill sets boundaries between three places: protocol types in Voice/*, runtime wiring in Discord.php, and audio I/O in the external discord-php-helpers/voice package. It gives a reading order, companion files to check, playbooks for adding an encryption mode or a voice opcode, and design tripwires. It is aimed at developers maintaining DiscordPHP who edit voice code with an AI assistant.

Written from the project's SKILL.md and checked against it.

What it can do

  • Voice gateway handshakeExplains the Hello, Identify, Ready, Select Protocol, Session Description and Speaking sequence.
  • Encryption guidanceCovers VoiceGroupCrypto, its trait and interface, and the libsodium availability check.
  • VoicePacket and SessionDescriptionDescribes RTP packet encapsulation and session key and mode negotiation.
  • New encryption mode playbookLists steps for adding a voice encryption mode, including encrypt and decrypt round-trip tests.
  • New opcode playbookLists steps for adding a voice gateway opcode as a typed value class.
  • Layer boundary rulesSeparates protocol types, Discord.php wiring and external audio I/O to keep changes in the right place.

What you need

  • ext-sodium (libsodium) for voice encryption
  • discord-php-helpers/voice external package

Try asking

  • Add a new voice encryption mode to DiscordPHP following the playbook
  • Add a typed class for a new voice gateway opcode in src/Discord/Voice/
  • Trace how joinVoiceChannel wires voice gateway events in Discord.php

Good to know

  • Old* classes are legacy and kept for compatibility only.
  • Audio I/O, Opus, UDP and FFmpeg work lives in the external discord-php-helpers/voice package.
  • Audio codec, UDP or FFmpeg logic should not be added inside src/Discord/Voice/.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: .agents/skills/voice-subsystem-keeper/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md7 KB

Alternatives to voice-subsystem-keeper

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

voice-subsystem-keeper: common questions

Where does voice audio encoding happen in DiscordPHP?

The source says Opus encoding, UDP transport and FFmpeg integration are handled by the external discord-php-helpers/voice package, not by src/Discord/Voice/.

What happens if libsodium is missing?

The source says LibSodiumNotFoundException is thrown at runtime when the extension is absent, and it should not be suppressed.

Can I add new features to the OldVoiceClient class?

No. The source says Old* classes are legacy, preserved for compatibility, and should not be extended for new features.

How do I install voice-subsystem-keeper?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is voice-subsystem-keeper free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is voice-subsystem-keeper safe to use?

It scores 76 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to voice-subsystem-keeper?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

voice-subsystem-keeper Install

Add to stack

Loading.