make-npcs-talk
Make NPCs in a game talk back. The player speaks or types, the NPC answers in character, in a cloned voice, about 1-2 seconds later, and can act on what was said. Covers the whole loop and the order to build it in (who is being talked to, what the scene is, speech-to-text, an LLM in character, Fish Audio voices on a GPU, streamed playback from the NPC, subtitles, mouth movement, actions), the four hooks a game has to provide, latency budgets, costs, testing in the real game, and the rules (single-player, voices you have the rights to, nothing of the game shipped). Use when the user wants NPCs, characters, villagers, companions or enemies in any game to hold conversations, react to the player's voice, or be voiced by Fish Audio (S2 Pro or Drama 3) and an LLM.
Pinned to revision 59635ceb8ee0, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/make-npcs-talk/SKILL.md
- skills/make-npcs-talk/references/architecture.md
- skills/make-npcs-talk/references/game-hooks.md
- skills/make-npcs-talk/references/safety.md
Every link opens the file at its source, pinned to the revision this page describes.