skill-hub-gateway
Unified gateway skill for async execute/poll, portal user closure, and telemetry feedback workflows.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/chinasilva/skill-hub-gatewaySkill Hub Gateway
Default API base URL: https://gateway-api.binaryworks.app
Default site base URL (for upload route): https://gateway.binaryworks.app
Chinese documentation: SKILL.zh-CN.md
Version Check Protocol (Agent)
- Official latest version source:
GET /skills/manifest.json->data.version. - Local current version source: this installed
SKILL.mdfrontmatterversion. - Compare versions using semantic version order (
major.minor.patch). - Check timing: once at session start, then at most once every 24 hours within the same session.
- If version check fails (network/timeout/parse error), do not block runtime execution. Continue current workflow and retry at the next allowed check window.
Agent Decision Flow
- If
latest_version > current_version, read the matching section underRelease Notesin this document to buildupdate_summary. - Agent should show the user:
current_versionlatest_versionupdate_summary
- User decision options:
Update nowRemind me later in this session
- If user chooses
Remind me later in this session, suppress repeated prompts for the same target version until a new session starts.
First-Time Onboarding (install_code)
Scripts auto-complete onboarding by default:
POST /agent/install-code/issuewith{"channel":"local"}or{"channel":"clawhub"}.- Read
data.install_code. POST /agent/bootstrapwith{"agent_uid":"<agent_uid>","install_code":"<install_code>"}.- Read
data.api_key, then call runtime APIs withX-API-KeyorAuthorization: Bearer <api_key>.
Manual override:
- You can still provide
api_keyexplicitly. - If
agent_uidandowner_uid_hintare omitted, scripts derive stable local defaults from the current workspace path.
Legacy Runtime Contract (Compatibility)
- Execute:
POST /skill/execute - Poll:
GET /skill/runs/:run_id
Portal Actions (User Closure)
Action catalog (single default path per action):
portal.me->GET /user/meportal.balance->GET /user/points/balanceportal.ledger.query->GET /user/points/ledgerportal.usage.query->GET /user/usageportal.skill.execute->POST /user/skills/executeportal.skill.poll->GET /user/skills/runs/:runIdportal.skill.presentation->GET /user/skills/runs/:runId/presentationportal.voucher.redeem->POST /user/vouchers/redeem(write)portal.recharge.create->POST /user/recharge/orders(write)portal.recharge.get->GET /user/recharge/orders/:orderId
Write safety gate:
portal.voucher.redeemandportal.recharge.createrequirepayload.confirm === true.- If
confirmis missing or nottrue, action runner rejects the call locally and does not send write traffic.
Payload Contract
Default payload conventions:
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-chinasilva-skill-hub-gateway": {
"enabled": true,
"auto_update": true
}
}
}Related Skills
ai-task-hub
AI task hub for image analysis, background removal, speech-to-text, text-to-speech, markdown conversion, and points queries. Default host path is connector-first and result-first; async poll/presentation remain compatibility or asset-delivery follow-up surfaces.
peter-bugfix-loop
代码缺陷修复闭环。聚焦“先复现、再定位、最小修复、同上下文补测试”,并衔接现有 Peter 门禁与 PR 收口流程。
peter-code-review
提交前质量闸门。快速完成本地测试、静态检查和风险审查,判断“是否可提交”。
peter-ci-gate
CI 绿灯门禁。负责远端检查状态、失败定位、单次重跑策略,并输出“是否可合并”。
peter-commit-ops
提交与建 PR 桥接自动化。负责将“可提交”改动落成 commit、推送分支并创建 PR,衔接 peter-code-review 与 peter-pr-ops。用于用户提到“帮我提交”“推分支”“创建 PR”“从 review 到 merge 串起来”等场景。