huxley
Cookbook

Cookbook

Real patterns from the first-party skills. Copy-paste-ready.

This section is recipes — small, focused patterns lifted from skills that ship with Huxley. Each one solves a specific problem and shows the actual code behind it.

How to read these

Each recipe:

  1. States the problem.
  2. Shows the smallest working version.
  3. Walks the gotchas — what we learned the hard way.
  4. Points to the source skill so you can see the production version.

The recipes assume you've read the relevant Concepts pages. They don't re-explain inject_turn or AudioStream; they show how to use them well.

On this page