Page cover

Skills

This section covers adding custom skills to OpenClaw on Cloudeka, including both simple single-file skills and complex nested folder structures.

What are Skills?

Skills extend OpenClaw's capabilities with specialized tools and knowledge. A skill can:

  • Define new tools via MCP (Model Context Protocol) servers

  • Add specialized knowledge and instructions

  • Provide helper scripts and utilities

Skills are stored in an agent's workspace/skills/ directory.

Skill Structure

Minimal Skill (Single File)

my-skill/
└── SKILL.md

Complex Skill (Nested)

my-skill/
├── SKILL.md
├── lib/
│   └── helpers.ts
├── templates/
│   └── prompt.md
└── config.json
circle-exclamation

Method 1: Single-File Skills (Simple)

For skills with only a SKILL.md file, use a direct ConfigMap mount.

Step 1: Create the Skill File

Create my-skill/SKILL.md:

Step 2: Create ConfigMap

Step 3: Add to values.yaml

Step 4: Upgrade Helm Release

Method 2: Folder-Based Skills (Tar Archive)

For skills with nested directories, use a tar archive approach.

Step 1: Prepare Your Skill Folder

Step 2: Create Tar Archive

Step 3: Create ConfigMap from Tar

Step 4: Add to values.yaml

Mount to init-skills container for extraction:

Step 5: Update init-skills Command

Add extraction logic to init-skills command in values.yaml:

Step 6: Upgrade Helm Release

Updating Skills

Single-File Skills

Update the ConfigMap and restart:

Folder-Based Skills

Same process — recreate ConfigMap and restart:

Per-Agent Skills

In a multi-agent setup, each agent can have its own set of skills:

See Multi-Agent Guide for complete multi-agent setup.

MCP Server Integration

Skills can integrate MCP servers for external tools:

Example: Database Query Skill

  1. Create SKILL.md:

  1. Create MCP config:

  1. Create ConfigMap for MCP config:

  1. Mount to agent workspace:

  1. Add environment variable:

Skill Best Practices

  1. Keep skills focused — One skill should do one thing well

  2. Use metadata — Declare dependencies and environment variables

  3. Document tools — Provide clear examples for each tool

  4. Version control — Store skill definitions in git

  5. Test locally — Validate skill behavior before deploying

Common Issues

Issue
Solution

Skill not found

Check mount path matches workspace

Nested files missing

Use tar archive method

Permission denied

Ensure PVC is writable (init-skills has access)

MCP server unreachable

Verify baseUrl and network policy

Example Skills Repository

Structure for managing multiple skills:

Last updated