Skills
Skills are a lightweight way to keep the base prompt small while still enabling targeted workflows.
How It Works
- The runtime injects an
<available_skills>list into the prompt (only when skills are eligible). - If the model decides it needs one, it calls
readto load that skill'sSKILL.mdfrom the listed location. - The model then executes the workflow using sandbox tools (
read,edit,write,exec,process). - If no skills are eligible, the Skills section is omitted.
<available_skills> <skill> <name>...</name> <description>...</description> <location>...</location> </skill> </available_skills>
# Read skill instructions first +read(path: string): string # Then execute skill steps in sandbox +edit(path: string, diff: string): string +write(path: string, content: string): string +exec(code: string): string +process(command: string, args: string[]): string
Weather Skill Example
OpenClaw weather example:

In practice:
- The model sees the weather skill in
<available_skills>. - It uses
readon the skill path. - It follows the instructions and uses sandbox/tool calls to complete the task.