Token导航 LogoToken导航TokenDH.com
开发敏感数据clawhub未标认证来源可访问clear审计提醒

skill-hub-gateway技能中心网关

Agent Skill

skill-hub-gateway 用于补充开发相关能力,适合在 OpenClaw 中需要让 Agent 承接开发相关任务时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

15,496

周安装

633

GitHub Stars

1

下载量

5,013
OpenClaw

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

MIT-0

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:skill-hub-gateway(技能中心网关)
来源仓库:https://github.com/chinasilva/skill-hub-gateway
安装命令:
openclaw skills install skill-hub-gateway
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 OpenClaw 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

ClawHubOpenClaw
openclaw skills install skill-hub-gateway

简介

skill-hub-gateway 作为统一网关,支持异步任务执行、轮询与遥测反馈流程。

  • 适用于需要长时间运行或后台处理的开发任务。
  • 可集成门户关闭机制,提升用户体验与系统可控性。
  • 安装命令为 openclaw skills install skill-hub-gateway。
  • 使用前需配置正确的回调地址与超时参数,避免任务卡死。

SKILL.md

name
skill-hub-gateway
description
Unified gateway skill for async execute/poll, portal user closure, and telemetry feedback workflows.
version
2.4.2
metadata
openclaw
skillKey
skill-hub-gateway
emoji
🧩
homepage
https://gateway.binaryworks.app
requires
bins

Skill 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.md frontmatter version.
  • 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 under Release Notes in this document to build update_summary.
  • Agent should show the user:

- current_version - latest_version - update_summary

  • User decision options:

- Update now - Remind 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:

  1. POST /agent/install-code/issue with {"channel":"local"} or {"channel":"clawhub"}.
  2. Read data.install_code.
  3. POST /agent/bootstrap with {"agent_uid":"<agent_uid>","install_code":"<install_code>"}.
  4. Read data.api_key, then call runtime APIs with X-API-Key or Authorization: Bearer <api_key>.

Manual override:

  • You can still provide api_key explicitly.
  • If agent_uid and owner_uid_hint are 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/me
  • portal.balance -> GET /user/points/balance
  • portal.ledger.query -> GET /user/points/ledger
  • portal.usage.query -> GET /user/usage
  • portal.skill.execute -> POST /user/skills/execute
  • portal.skill.poll -> GET /user/skills/runs/:runId
  • portal.skill.presentation -> GET /user/skills/runs/:runId/presentation
  • portal.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.redeem and portal.recharge.create require payload.confirm === true.
  • If confirm is missing or not true, action runner rejects the call locally and does not send write traffic.

Payload Contract

Default payload conventions:

  • payload.input is the primary input object for portal.skill.execute.
  • payload.request_id is optional and passed through as-is.
  • Query actions use payload fields directly as query params (date_from, date_to, service_id, channel).

Media normalization conventions:

  • Prefer explicit URL fields already present in input: image_url, audio_url, file_url.
  • If attachment.url exists, map it to the capability target URL field.
  • If file_path exists, auto-upload through {site_base}/api/blob/upload, with fallback to {site_base}/api/blob/upload-file when @vercel/blob/client is unavailable, then backfill URL into input before execution.
  • For agent runtimes that do not include @vercel/blob/client, you can also pre-upload media via your backend (for example Vercel Blob) and pass attachment.url or explicit URL fields.
  • site_base_url is a guarded field: runtime only accepts the trusted configured site base URL (default https://gateway.binaryworks.app or env SKILL_SITE_BASE_URL).
  • Users should not need to manually paste media URLs in normal product flows.

Presentation files:

  • portal.skill.presentation accepts optional include_files=true to return visual.files.assets with rendered file URLs.
  • portal-action.mjs defaults include_files=true for portal.skill.presentation unless explicitly disabled.
  • Image runs return overlay (boxed image), plus mask / cutout assets when available.
  • Audio runs normalize data URLs to output.media_files.assets with uploaded file URLs when blob storage is configured.

Runtime Auth Bridge

User-scoped actions use a fixed auth bridge:

  1. Resolve runtime API key context (api_key, agent_uid, owner_uid_hint, base_url).
  2. GET /agent/me with X-API-Key + x-agent-uid to resolve user_id.
  3. POST /user/api-key-login with user_id + api_key to obtain userToken.
  4. Execute Portal Action with Authorization: Bearer <userToken>.

Insufficient Points Recovery

For POINTS_INSUFFICIENT responses:

  • Keep error.code and error.message unchanged.
  • Preserve and surface error.details.recharge_url when available.
  • Diagnostic logs should recommend portal.recharge.create or direct open of recharge_url.

Bundled Files

  • scripts/execute.mjs (CLI args: [api_key] [capability] [input_payload] [base_url] [agent_uid] [owner_uid_hint])
  • scripts/poll.mjs (CLI args: [api_key] <run_id> [base_url] [agent_uid] [owner_uid_hint])
  • scripts/feedback.mjs (CLI args: [api_key] [payload_json] [base_url] [agent_uid] [owner_uid_hint])
  • scripts/telemetry.mjs (shared best-effort telemetry helper)
  • scripts/runtime-auth.mjs (shared auto-bootstrap helper)
  • scripts/portal-auth.mjs (api-key -> user session bridge)
  • scripts/portal-action.mjs (CLI args: [api_key] <action> <payload_json> [base_url] [agent_uid] [owner_uid_hint])
  • scripts/attachment-normalize.mjs (attachment URL/path normalization + upload)
  • references/capabilities.json
  • references/openapi.json
  • SKILL.zh-CN.md

Telemetry and Feedback

  • Bundled scripts now support best-effort telemetry emit for auth/execute/poll/feedback flows.
  • Telemetry is non-blocking and does not change runtime exit semantics if telemetry delivery fails.
  • Optional environment variables:

- SKILL_TELEMETRY_ENABLED (true by default) - SKILL_TELEMETRY_BASE_URL (defaults to runtime base_url) - SKILL_TELEMETRY_TIMEOUT_MS (2000 by default)

  • Feedback script posts to POST /feedback/submit with runtime auth (X-API-Key) and attaches agent_uid + owner_uid_hint in metadata.

Capability IDs

  • human_detect
  • image_tagging
  • tts_report
  • embeddings
  • reranker
  • asr
  • tts_low_cost
  • markdown_convert
  • face-detect
  • person-detect
  • hand-detect
  • body-keypoints-2d
  • body-contour-63pt
  • face-keypoints-106pt
  • head-pose
  • face-feature-classification
  • face-action-classification
  • face-image-quality
  • face-emotion-recognition
  • face-physical-attributes
  • face-social-attributes
  • political-figure-recognition
  • designated-person-recognition
  • exhibit-image-recognition
  • person-instance-segmentation
  • person-semantic-segmentation
  • concert-cutout
  • full-body-matting
  • head-matting
  • product-cutout

Release Notes

When publishing a new version, add a new section here. Agent update summaries must be generated from this block.

2.4.2 (2026-03-12)

What's New

  • Added /api/blob/upload-file direct-upload fallback for file_path flows when @vercel/blob/client is unavailable.
  • Added portal.skill.presentation file rendering (visual.files.assets) for overlay/mask/cutout URLs.
  • Added audio output normalization to return output.media_files.assets with uploaded file URLs when blob storage is configured.

Breaking/Behavior Changes

  • None.

Migration Notes

  • For agent runtimes without @vercel/blob/client, send file_path as before; the runtime now falls back to direct upload.
  • To receive rendered files, call portal.skill.presentation with include_files=true or rely on the portal default.

2.4.1 (2026-03-12)

What's New

  • Added server-side portal.skill.execute input normalization for attachment.url (both input.attachment.url and top-level attachment.url).
  • Added explicit media URL precedence guard (image_url/audio_url/file_url take priority over attachment.url when both are present).
  • Added end-to-end tests for upload-first execution payload compatibility and precedence behavior.
  • Clarified fallback guidance for runtimes missing @vercel/blob/client to use backend pre-upload URLs.

Breaking/Behavior Changes

  • None.

Migration Notes

  • Existing portal-action.mjs workflows remain compatible.
  • For local file workflows in constrained agent runtimes, prefer backend pre-upload then pass attachment.url or explicit media URL.

2.4.0 (2026-03-12)

What's New

  • Added Portal Actions contract for single-skill user closure flows (portal.me, balance/ledger/usage, execute/poll/presentation, voucher and recharge actions).
  • Added local double-confirm write gate: portal.voucher.redeem and portal.recharge.create require confirm=true.
  • Added runtime auth bridge script (portal-auth.mjs) for api_key -> user session.
  • Added action runner (portal-action.mjs) and attachment normalization script (attachment-normalize.mjs) with attachment.url and file_path support.
  • Standardized insufficient-points diagnostics to preserve recharge_url in passthrough envelopes.

Breaking/Behavior Changes

  • Write actions now fail fast locally when confirm=true is absent.

Migration Notes

  • Existing execute.mjs and poll.mjs workflows remain available.
  • Portal users should call portal-action.mjs for user closure actions.

2.3.4 (2026-03-11)

What's New

  • Added best-effort telemetry emit in runtime scripts for auth/execute/poll flows.
  • Added scripts/feedback.mjs to submit structured feedback via runtime auth (X-API-Key).
  • Added shared telemetry helper with optional env controls (SKILL_TELEMETRY_*).

Breaking/Behavior Changes

  • None.

Migration Notes

  • Existing execute/poll calls remain unchanged.
  • If you run scripts in constrained environments, allow optional telemetry calls to /agent/telemetry/ingest and /telemetry/ingest.

2.3.3 (2026-03-11)

What's New

  • Standardized user-facing guidance around upload-based flows: do not expose manual URL/JSON fields for media/document inputs.
  • Updated capability reference examples and wording to match upload-first product UX.
  • Renamed CLI argument label from input_json to input_payload for consistency with structured payload semantics.

Breaking/Behavior Changes

  • None.

Migration Notes

  • Existing runtime API calls remain unchanged.
  • If your integration shows custom input forms, prefer file/attachment inputs instead of manual URL/JSON text fields.

适合场景

01

OpenClaw 用户查找和安装 Skill 时

02

用户想查找某类 Agent Skill 时

03

需要根据任务场景推荐可安装能力包时

04

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenClaw

83.8%
按下载量换算4,201

安全审计

VirusTotal

通过

ClawScan

可疑

Static analysis

可疑

权限和风险

敏感数据

该 Skill 可能接触密钥、Token、环境变量或敏感配置,应进入高风险复核队列,默认不自动发布。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills