Skills
A skill is a folder that tells the AI what it knows and can do with your app. It has:SKILL.md— instructions the AI reads (required).tools.ts— a list of tools the AI can call (optional).
SKILL.md describes the app and its tools; tools.ts declares the tools; each tool is implemented by an HTTP route in one of your app’s components.
Defining skills
Pointkazzle.config.ts at each skill’s SKILL.md. Kazzle uses its folder, so tools.ts beside it is picked up automatically.
SKILL.md
Markdown with frontmatter, then instructions the AI should follow.tools.ts
tools.ts beside a SKILL.md declares the tools that skill can call. The full tool contract — declaration types, the handler request/response shape, and the content vs markdown result channels — lives in Tools.
How the AI uses skills
The AI readsSKILL.md on demand (not all skills upfront) to ground its answers, and can call the tools declared in tools.ts. A tool with no matching route does nothing; add both together. tools.json is not supported.