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

Usage

ooneex ai:chat:create [options]

Examples

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

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

# Target a specific module
ooneex 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 @ooneex/ai, including its model, system prompts, tools, and middlewares.
ooneex claude:init