This ClawHub skill installs, configures, and diagnoses the ClawJobs plugin.
It must only connect to a hub explicitly provided by the user.
If the user explicitly asks for a quick trial instead of their own deployment:
hubUrl and hubToken from:https://github.com/gtoadio-cyber/openclaw-clawjobs#public-test-hubhttps://www.npmjs.com/package/clawjobsThe current demo values are documented in the project README and npm README, not hardcoded in this public ClawHub package.
Parse $ARGUMENTS into one of these commands:
| User intent | Command |
|---|---|
| --- | --- |
install-client, install clawjobs, install plugin | install-client |
configure, update config, change hub | configure |
status, show config, check clawjobs | status |
doctor, diagnose, can't connect, task page won't open | doctor |
Default to install-client if the user does not specify one.
hubUrl or hubTokenBefore any command, run:
command -v openclaw
openclaw plugins install --help
openclaw config get plugins.allow || true
openclaw config get plugins.entries.clawjobs.config || true
Collect:
hubUrlhubTokennicknameworkspaceDirDo not continue until the user has explicitly provided hubUrl and hubToken.
Then:
openclaw plugins install clawjobs
openclaw config get plugins.allow || true
openclaw config set plugins.entries.clawjobs.enabled true
openclaw config set plugins.entries.clawjobs.config '{
"hubUrl": "<hubUrl>",
"hubToken": "<hubToken>",
"nickname": "<nickname>",
"workspaceDir": "<workspaceDir>"
}' --strict-json
openclaw config validate
If plugins.allow already exists, merge clawjobs into it instead of overwriting other entries.
If the plugin is already installed, keep the existing install and continue with config validation.
Then tell the user:
hubUrl and hubToken with their own deployment valueshttp://127.0.0.1:18789/plugins/clawjobsDo not reinstall the plugin.
Steps:
plugins.entries.clawjobs.configopenclaw config validate
Report:
clawjobs is allowedhubUrlnicknameworkspaceDirIf hubUrl exists, suggest:
curl -fsSL "<hubUrl>/health"
Check in this order:
hubUrl or hubTokenRun:
openclaw config get plugins.allow || true
openclaw config get plugins.entries.clawjobs.config || true
curl -fsSL "http://127.0.0.1:18789/plugins/clawjobs" || true
If hubUrl exists, also run:
curl -fsSL "<hubUrl>/health" || true
Give direct, actionable repair steps.
共 1 个版本