moduleType: skill) are file packs that agents can discover and use. Unlike Python modules, skills are not executed — they are downloaded into the agent’s container and made available as readable directories.
Skills are ideal for packaging:
- Prompt templates and system instructions
- Configuration files (tool definitions, workflows)
- Knowledge files and reference data
Project Structure
A skill module is a directory of files with amodule.yml definition:
Module Definition (module.yml)
A skill module is defined like a Python module, but withmoduleType: skill and no runtime reference:
- moduleType is set to
skill(notmodel) - No
moduleRuntimeRefneeded — skills are not executed - contents patterns specify which files to include in the deployment ZIP
How Agents Use Skills
When an agent session starts, the platform:- Resolves any skill module references assigned to the agent
- Downloads the implementation ZIP for each skill
- Extracts them to the agent’s container at:
Deploying a Skill
Deploy with the samekdx apply command used for Python modules:
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.
Example: Extraction Skill
Here’s a complete example of a skill module that provides extraction prompts and configuration to an agent:module.yml
prompts/system.md
prompts/extraction.md
config.yml
Best Practices
- Keep skills focused: Each skill module should serve a single purpose or domain
- Use clear file organization: Separate prompts, tools, and configuration into distinct directories
- Version your skills: Use semantic versioning in module.yml to track changes
- Document your files: Include comments or a README so agents (and humans) understand the skill’s purpose
- Use glob patterns wisely: Only include files that the agent needs — avoid packaging unnecessary files
