Add upgrade guide for v2.x skill-based /ocp users

Explains removing old skills/ocp/SKILL.md to avoid conflict
with the new plugin-based command handler.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-24 20:07:29 +10:00
co-authored by Claude Opus 4.6
parent 47e39d7820
commit f6f4f68ecd
+15
View File
@@ -165,6 +165,21 @@ Add to `~/.openclaw/openclaw.json`:
Restart the gateway: `openclaw gateway restart`
### Upgrading from v2.x (skill-based /ocp)
If you previously used the skill-based `/ocp` command (via `skills/ocp/SKILL.md`), remove it to avoid conflicts:
```bash
# Remove the old skill
rm -rf ~/.openclaw/workspace/main/skills/ocp
# Restart gateway
launchctl kickstart -k gui/501/ai.openclaw.gateway # macOS
# or: systemctl --user restart openclaw-gateway # Linux
```
**Why?** The old skill routed `/ocp` to the agent as a prompt (slow, costs tokens). The new plugin handles commands directly in the gateway (instant, free). If both exist, the skill takes priority and you get "Unknown skill" errors.
## API Endpoints
| Endpoint | Method | Description |