moduleType: skill) are file packs that agents can discover and use. They provide prompts, configurations, and knowledge to agents without containing executable code.
How Agents Use Skills
When an agent session starts, the platform downloads any skill modules assigned to the agent and extracts them to the agent’s container at:Creating a Skill Module
A skill module is defined with a YAML file, just like a model module, but withmoduleType: skill:
Directory Structure
A typical skill module directory looks like:Deploying a Skill
Use the Kodexa CLI to deploy:contents patterns from the metadata, creates a ZIP of matching files, and uploads them as the module’s implementation.
Assigning Skills to Agents
Skills are assigned to agents throughmoduleRefs in the agent’s workspace context. This is configured at the project level — when a workspace is created, its context includes the module references that the agent should load.
The agent runtime resolves each module reference, checks its moduleType, downloads the implementation ZIP, and extracts it to the skills directory.
Key Differences from Model Modules
| Model Module | Skill Module | |
|---|---|---|
| moduleType | model (default) | skill |
| Contains | Python code | Files (prompts, configs, knowledge) |
| Execution | Runs via module runtime | Not executed — read by agent |
| Used by | Scheduled jobs, pipelines, assistants | Agents |
| Runtime ref | Required (modelRuntimeRef) | Not needed |
