mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-23 05:28:11 +00:00
docs(skills): show flat and two-layer capability declarations
This commit is contained in:
@@ -47,7 +47,27 @@ metadata: { "openclaw": { "capabilities": ["shell", "filesystem"] } }
|
||||
---
|
||||
```
|
||||
|
||||
Available capabilities: `shell`, `filesystem`, `network`, `browser`, `sessions`.
|
||||
Available capabilities: `shell`, `filesystem`, `network`, `browser`, `sessions`, `messaging`, `scheduling`.
|
||||
|
||||
You can use either a flat list or a 2-layer object shape under the same key:
|
||||
|
||||
```markdown
|
||||
---
|
||||
name: deploy_helper
|
||||
description: Automate deployment workflows.
|
||||
metadata:
|
||||
{
|
||||
"openclaw":
|
||||
{
|
||||
"capabilities":
|
||||
{
|
||||
"shell": { "mode": "restricted", "allow": ["git", "gh"] },
|
||||
"network": { "web_search": true, "web_fetch": true },
|
||||
},
|
||||
},
|
||||
}
|
||||
---
|
||||
```
|
||||
|
||||
Skills without capabilities are treated as read-only (model-only instructions). Community skills published to ClawHub **must** declare capabilities matching their tool usage — undeclared capabilities are blocked at runtime.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user