npx skills add https://github.com/christos-antono/NPCTalkRun it in a terminal, then start a new agent session so the skill loads. Read the repo's README and scripts before you install: skills run with your agent's permissions.
What it does
NPCTalk is a plugin from the team behind universal-modder that teaches a coding agent how to give non-player characters a voice. The player speaks or types, the game reports who is being addressed and what is nearby, a language model writes a reply in character, and the NPC speaks it in a cloned voice with subtitles, mouth movement and an optional action.
The main make-npcs-talk skill walks the agent through a fixed order: study the game and how code runs in it, choose the voice, language model, speech-to-text and action services, stand up the voice server outside the game and test it, build reference voices from recordings you have rights to, get one NPC answering typed text, then add push-to-talk or an open mic, personas and actions, and finally verify in the real game.
The voice server runs Fish Audio Drama 3 or S2 Pro on a serverless GPU, and the README puts the delay from the end of a sentence to the spoken reply at roughly 1.2 to 2.2 seconds with push-to-talk. GTA V story mode is the worked example, but most of the code is game-agnostic and the skills describe what another game has to provide.
Features
- Step-by-step skill for wiring talking NPCs into a game
- Self-hosted Fish Audio voice server with voice cloning
- Push-to-talk and open-mic voice input
- Character personas, scene facts and spoken orders that trigger actions
- npctalk CLI for testing voices outside the game
- Complete GTA V story-mode example
Limits
- Needs several paid services: Modal for the GPU voice server, fal, an OpenAI-compatible LLM such as Cerebras, and TypeSafe for actions
- Needs Git, Python 3.10+, uv and ffmpeg; the GTA V example needs Windows, the .NET SDK and the game
- Voice cloning should only use recordings you have the rights to