Skills
Configure custom skills for OpenClaw agents to extend their capabilities.
Overview
Skills are modular capabilities that extend what an agent can do. They allow agents to use tools, access APIs, and perform specialized tasks beyond basic conversation.
Built-in Skills
| Skill | Description |
|---|---|
web-search | Search the web for information |
code-exec | Execute code in a sandbox |
file-access | Read and write files |
image-gen | Generate images via AI |
calculator | Perform calculations |
Configuration
Enable skills in your agent configuration:
{
"agents": {
"default": {
"provider": "openai",
"model": "gpt-4o",
"skills": ["web-search", "code-exec", "file-access"]
}
}
}Custom Skills
Create custom skills by defining tool schemas:
{
"skills": {
"weather": {
"description": "Get current weather for a location",
"parameters": {
"location": {
"type": "string",
"description": "City name"
}
},
"handler": "scripts/weather.js"
}
}
}