Agent Skills guide
OpenClaw skills: folders, ClawHub and what to check before you install
Where OpenClaw loads skills from and in what order, how openclaw skills install, update and verify work with ClawHub, and the checks to run before any install.
Bookmark
Bookmarks are kept in your free account, so you can find this page again on any device.
Sign in to bookmarkOn this page
OpenClaw loads skills from <workspace>/skills/ first (by default ~/.openclaw/workspace/skills/), then .agents/skills/ in the workspace, ~/.agents/skills/, and ~/.openclaw/skills/, before its bundled skills. openclaw skills install @owner/<slug> installs from ClawHub, the public registry, into the workspace folder; add --global for ~/.openclaw/skills/. Read every file before you install anything: an OpenClaw skill runs with whatever your agent can reach.
The skills are ordinary Agent Skills, folders with a SKILL.md, so most skills in our directory load in OpenClaw unchanged. What is different is the setting. OpenClaw runs all the time, takes instructions from chat apps and can act on your files and accounts, and its registry has already been used to spread malware. This guide was checked against OpenClaw’s skills docs, CLI reference and ClawHub docs on 25 November 2026. For what OpenClaw is and a safe way to try it, read what OpenClaw is first.
Check before you install
ClawHub is not a curated store. In February 2026 Koi Security reviewed every skill then on ClawHub and reported 341 malicious ones, most from a single campaign posing as crypto tools; our OpenClaw explainer has the details. ClawHub now scans each release automatically, which catches known malware. It cannot catch a SKILL.md that just tells your agent to send files somewhere, because to a scanner that is just text. OpenClaw’s own docs say: “Treat third-party skills as untrusted code. Read them before enabling.”
Before any install:
- Read the skill on ClawHub or GitHub. The
SKILL.md, every script and every file it points to. If you cannot follow what a script does, do not install it. - Run
openclaw skills verify @owner/<slug>. It prints ClawHub’s verification record for that version, including the stored scanner reports and, when ClawHub has it, a commit-pinned source URL. Add--cardfor a summary that exits non-zero when ClawHub marks the skill as failed. It reads the last scan; it does not run a new one. - Check what the skill asks for.
metadata.openclaw.requireslists the binaries, environment variables and config it needs. A note-taking skill that wants a cloud API key orcurldeserves a second look. - Never use
--force-install. It installs a GitHub-backed ClawHub skill before its scan has finished. - Run new skills in a sandbox. Sandboxing is off by default. Turn it on for every session (
agents.defaults.sandbox.mode: "all") while you try a skill, and remember that a skill’senvandapiKeyvalues are injected into the host process, not the sandbox. - Prefer skills you could have written. A short instruction-only skill is easy to review. A skill with an installer, a binary download or obfuscated code is not.
The general version of this list is our security checklist for third-party skills, and the audit a skill before installing workflow walks through it with an agent.
Where OpenClaw looks for skills
OpenClaw scans these places, highest precedence first. When two skills share a name, the higher one wins.
| Order | Location | Default path |
|---|---|---|
| 1 | Workspace skills | ~/.openclaw/workspace/skills/ |
| 2 | Project agent skills | <workspace>/.agents/skills/ |
| 3 | Personal agent skills | ~/.agents/skills/ |
| 4 | Managed (global) skills | ~/.openclaw/skills/ |
| 5 | Workshop skills (skills an agent wrote for itself) | ~/.openclaw/agents/<agentId>/agent/workshop-skills/ |
| 6 | Bundled skills | Shipped with OpenClaw |
| 7 | Extra folders and plugin skills | skills.load.extraDirs and installed plugins |
The workspace path moves if you set agents.defaults.workspace, OPENCLAW_WORKSPACE_DIR or a profile, and the state folder moves with OPENCLAW_STATE_DIR. Each root is scanned up to six levels deep. A skill whose real path leaves its root through a symlink is ignored unless you allow the target with skills.load.allowSymlinkTargets.
Because ~/.agents/skills/ is on the list (when you use the default state folder), any skill you put there for Codex or Cursor is visible to OpenClaw too. Check that folder before you connect OpenClaw to anything that matters.
Installing and updating
openclaw skills search "calendar"
openclaw skills install @owner/<slug>
openclaw skills install @owner/<slug> --version <version>
openclaw skills install @owner/<slug> --global
ClawHub installs record where they came from in .clawhub/origin.json inside the skill folder, and the workspace keeps installed versions in .clawhub/lock.json. That record is what update and verify use, so do not delete it.
--version pins a ClawHub install. To update:
openclaw skills update @owner/<slug>
openclaw skills update --all
Without --force, an update keeps your local edits. update only knows about ClawHub installs. OpenClaw can also install from other sources, which are never updated for you:
openclaw skills install git:owner/repo@<commit-sha>
openclaw skills install skills-sh:<owner>/<repo>/<slug>
openclaw skills install ./path/to/skill --as my-skill
A Git or local install needs SKILL.md at the root of what you point it at, so this suits single-skill repositories. Pinning the Git ref to a full commit SHA gives you the same reviewed-commit guarantee our directory install commands use. Installs from skills.sh are tied to a synced commit and show as “Not scanned by ClawHub”. To refresh a Git or local install, reinstall it after reading the new version.
To see what is loaded and why something is missing, use openclaw skills list --eligible and openclaw skills check. Removing a skill goes through the separate ClawHub CLI: clawhub uninstall @owner/<slug>, run against the same folder the skill was installed into.
OpenClaw’s own frontmatter
The spec fields work as everywhere else. OpenClaw adds its own keys, which other agents ignore:
user-invocable(defaulttrue) anddisable-model-invocation(defaultfalse) decide whether a skill is a slash command, model-triggered or both, the same meaning as in Claude Code.command-dispatch: "tool"withcommand-toolandcommand-arg-modeturns the slash command into a direct tool call.metadata.openclawholds gating rules:requires.bins,requires.anyBins,requires.env,requires.configandos. A skill whose requirements are not met is not offered to the agent.always: trueskips every check exceptos.
Skills written for the older metadata.clawdbot block or installed under .clawdhub/ are no longer read; rename them to metadata.openclaw and .clawhub/.
Per-skill configuration lives in skills.entries.<key> in your OpenClaw config: enabled, env, apiKey and config. Use it to switch off a skill without deleting it, and keep keys there rather than in the skill folder. allowBundled restricts which bundled skills load, and agents.entries.*.skills gives each agent its own allowlist.
Context cost
Every eligible skill adds its name, description and path to the prompt, about 24 tokens each before the text itself. When the list passes skills.limits.maxSkillsPromptChars, OpenClaw shortens descriptions and then drops skills. Short, specific descriptions keep more skills visible, which is the same advice as in our guide to skill descriptions that trigger.
Publishing to ClawHub
Publishing uses the clawhub CLI, not openclaw:
npm i -g clawhub
clawhub login
clawhub skill publish ./my-skill --slug my-skill --version 1.0.0 --changelog "First release"
ClawHub tracks semver versions, tags (latest by default) and changelogs, and runs its automated checks on each release. A release held by a scan disappears from public install pages but stays visible to you in your dashboard. Signed-in users can report a skill, and moderators can hide it or ban the account.
Where to go next
- Install skills in other agents with how to install Agent Skills.
- Find a skill to start with in the Agent Skills directory, where every entry is reviewed at a pinned commit.
- Write your own with skill creator, which keeps it small enough to review.
Check your understanding
Agent Skills in OpenClaw quiz
Checking a ClawHub skill before install, verify and its limits, sandboxing, where OpenClaw looks for skills, pinning and updates, OpenClaw frontmatter and per-skill config.
8 questions · pass mark 70%
Review
Related
- What is OpenClaw, and should you let it run your computer?
OpenClaw is an open-source personal AI agent you message from chat apps. What it can reach, why ClawHub skills are the big risk, and a safer way to try it.
- Are Agent Skills safe? A security checklist for third-party skills
Are agent skills safe? What can go wrong when you install someone else's skill, what researchers found in public registries, and a fifteen-minute review.
- Scan a third-party Agent Skill before you install it
Read every file, grep scripts for risky patterns, run a skill scanner, then record a yes or no and pin it.
- OpenClaw
Open-source personal agent you message from chat apps.