Files
skills/cli/plugin/openclaw.plugin.json
T

49 lines
1.3 KiB
JSON

{
"id": "skillhub",
"name": "Skillhub Plugin",
"description": "Injects Skillhub policy into prompt build only when prompts mention 技能 or skill, so agents prefer the primary Skillhub registry and fallback cleanly.",
"configSchema": {
"type": "object",
"additionalProperties": false,
"properties": {
"primaryCli": {
"type": "string"
},
"fallbackCli": {
"type": "string"
},
"primaryLabel": {
"type": "string"
},
"fallbackLabel": {
"type": "string"
},
"extraNote": {
"type": "string"
}
}
},
"uiHints": {
"primaryCli": {
"label": "Primary CLI",
"help": "Command the agent should try first for skills discovery/install (default: skillhub)."
},
"fallbackCli": {
"label": "Fallback CLI",
"help": "Command used when primary registry is unavailable or has no match (default: clawhub)."
},
"primaryLabel": {
"label": "Primary Label",
"help": "Short display label for the primary registry in injected guidance."
},
"fallbackLabel": {
"label": "Fallback Label",
"help": "Short display label for the fallback registry in injected guidance."
},
"extraNote": {
"label": "Extra Note",
"help": "Optional extra policy line appended to injected guidance."
}
}
}