Pick the right task
The fastest way to waste an afternoon is to skill-ify something you only do once a month. A good first skill is a task that's boring, frequent, and follows the same shape every time. My first one was a daily log check: pull the last 24 hours of errors from a machine, summarize them, and send a message. Nothing clever, just something I was tired of doing by hand.
If you come from an automation background, you already know the rule: don't automate the edge cases first. Get the happy path working, then add the weird stuff.
Where skills live
OpenClaw keeps your workspace in ~/.openclaw/workspace/ and installed skills under ~/.openclaw/skills/. A skill bundles a set of instructions, scripts, and config into one reusable unit. The exact fields change between releases, so check the docs for the current schema rather than copying mine blindly.
What matters more than the file format is how you think about the skill. A good one has three parts:
- What it does, in one sentence.
- What it needs (credentials, input files, a schedule).
- What it returns, and where that output goes.
A working example
Here's the shape of that daily log-check skill, minus the boilerplate that changes per version. The useful parts are the trigger and the output, not the scaffolding around them.
name: daily-log-check
description: Summarize the last 24h of errors from the target machine
trigger:
schedule: "0 7 * * *" # every morning at 07:00
steps:
- run: ssh target 'journalctl --since "24 hours ago" -p err'
- summarize: keep only unique errors, group by service
- send: telegram message with the summary
The point isn't the exact syntax. It's that you chain three boring things, run, summarize, send, and suddenly you have a 7am report without touching a keyboard.
For something closer to hardware or monitoring, the same pattern works: read a Modbus register or a log file, compare it against a threshold, and only message you when something's actually wrong. Alerting on silence is where these agents genuinely earn their keep.
Mistakes I made
- Too much in one skill. Start narrow. A skill that does one thing well beats a mega-skill that half-works.
- No approval gates. Anything that deletes, spends, or messages outside should ask first, even if it's your own bot.
- Ignoring the failure case. Decide what happens when the trigger fires and the task errors out. A silent failure at 7am is worse than no automation at all.
Once the first one runs on schedule without you thinking about it, you'll find ten more things to hand it. That's the whole game.