The skills
Two skills ship with Clayzo. They load into your agent’s context when the task calls for them.
Each skill is a short router that points at detailed references, so the agent reads only what the brief needs: motion fundamentals for every task, glass and refraction only when you ask for glass.
Installing
npx clayzo@latest init installs them. To install or update them on their own:
npx clayzo doctor --updates tells you when the installed skills are behind the CLI.
Writing a brief
An agent with the skills knows how to build a rounded card, time a stagger, or make a loop seamless. What it can’t know is what you want. Cover these in the brief:- The subject and the verb. “Three cards slide in and settle” beats “a nice hero animation”.
- Canvas and duration. Width and height in pixels, seconds, and whether it loops.
- Where it plays. A landing page hero, an in-app state change, a social video, an email. This decides the player, the export format, and whether interactivity is even possible.
- Palette and type. Hex colours, and font files if you have a brand face. Put them in a
fonts/folder next to the document. Without a font the agent builds wordmarks from shapes, which is often better anyway. - A reference, if you have one. A video, a screenshot, a competitor’s page. The authoring skill has a reference for matching one.
What the agent will do
- Write
author.ts(or similar) importing from@clayzo/animation/authoring, and run it withnpx tsxto write the JSON document. - Validate the document. Validation names the node and the field when something is wrong.
- Render a labelled frame sheet with
clayzo render-frame --samples 6and look at it. Expect several rounds of this. - Start
clayzo previewfor anything interactive, since bindings only show up when a pointer moves. - Run
clayzo reviewbefore handing over, and report the revision it reviewed. - Export or package on request.

