What Are Skills?
Skills are modular capability packages for OpenClaw agents. Each skill contains:
- SKILL.md — instructions the agent follows
- Scripts — helper scripts and tools
- References — documentation and examples
- Assets — any supporting files
Your First Skill
Let's create a simple skill that checks website uptime.
Directory Structure
skills/
uptime-checker/
SKILL.md
check.shSKILL.md
# Uptime Checker
Check if a website is responding.
## Usage
When the user asks to check a website's status, use the `check.sh`
script in this skill's directory.
## Commands
- `bash check.sh <url>` — Returns HTTP status code and response timecheck.sh
#!/bin/bash
URL="${1:?Usage: check.sh <url>}"
STATUS=$(curl -s -o /dev/null -w "%{http_code}" --max-time 10 "$URL")
TIME=$(curl -s -o /dev/null -w "%{time_total}" --max-time 10 "$URL")
echo "Status: $STATUS | Response time: ${TIME}s | URL: $URL"Master this topic with hands-on labs
Go beyond reading — build real projects in sandboxed environments with expert video guidance.
Browse Courses →Skill Best Practices
Keep Instructions Clear
Your SKILL.md is what the agent reads. Be explicit about: - When to use the skill - What commands are available - Expected inputs and outputs - Error handling
Use Relative Paths
Skills reference files relative to the skill directory. The agent resolves these automatically.
Make Skills Self-Contained
A good skill works without external dependencies. If it needs something, document it in the prerequisites section.
Advanced: Skills with Configuration
Some skills need per-user configuration. Store this in TOOLS.md:
### Uptime Checker
- Monitored sites: copypastelearn.com, lucaberton.com
- Check interval: 30 minutes
- Alert via: Discord #alerts channelGet weekly IT automation tips
Docker, Ansible, Terraform, MLOps — curated insights delivered to your inbox. No spam.
Subscribe Free →Sharing Skills
Package your skill and share it on ClawhHub. The community benefits from reusable, well-documented skills.
Built-in Skills
OpenClaw comes with several skills out of the box: - Weather — forecasts via wttr.in or Open-Meteo - Discord — channel management and messaging - Health Check — system security auditing - Skill Creator — meta-skill for building new skills
---
Ready to go deeper? Check out our hands-on course: OpenClaw Agent — practical exercises you can follow along on your own machine.
Further reading
To go deeper, the Ansible intelligent assistant and MCP server expands on these patterns in production.
Ready to learn by doing?
Stop reading tutorials — start building. Expert video courses with hands-on labs in real sandboxed environments.
Related Articles
OpenClaw Volume Permissions Fix
Fix OpenClaw Docker volume permission errors. Resolve EACCES issues for named volumes and bind mounts with troubleshooting steps.
Troubleshoot OpenClaw Gateway Errors
Fix OpenClaw gateway errors: 401 unauthorized, connection refused, origin not allowed, and WebSocket failures with resolution guides.
OpenClaw Reverse Proxy with Caddy
Set up HTTPS for OpenClaw using Caddy reverse proxy. Automatic TLS certificates, WebSocket support, and production config.
Building REST APIs with Node.js
Learn how to build production-ready REST APIs with Node.js and Express — routing, middleware, error handling, and best practices.
Buildpacks vs Dockerfiles Comparison
Cloud Native Buildpacks automatically detect and build your app without a Dockerfile. Compare Buildpacks and Dockerfiles for build speed, security.
Cert Manager Kubernetes TLS Guide
Cert-manager automates TLS certificate management in Kubernetes with Let's Encrypt. Learn how to install cert-manager, configure issuers, and secure your.
Explore topics
Browse more articles on the topics covered here.