Skip to main content
Scaffold a new AI chat class and its matching test file under a module’s ai/chats directory. The @talosjs/ai dependency is installed if it is not already present.

Usage

talos ai:chat:create [options]

Examples

# Interactive: prompts for the chat name
talos ai:chat:create

# Provide the name as a flag
talos ai:chat:create --name=Support

# Target a specific module
talos ai:chat:create --name=Support --module=help

Options

OptionDescriptionDefault
--nameChat name. Normalized to PascalCase with a Chat suffix.Prompted if omitted
--moduleTarget module the chat is created in.shared
--overrideOverwrite the files if they already exist.false

AI Skill

This command ships a matching ai:chat:create skill. It generates the chat class and test file, then guides your AI agent through completing a chat that extends the Chat base class from @talosjs/ai, including its model, system prompts, tools, and middlewares.
talos claude:init