一键导入
skill-hub-gateway-setup
Configure Skill Hub Gateway (OpenClaw) - install skill, obtain API key via bootstrap flow, and set up environment variables
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Configure Skill Hub Gateway (OpenClaw) - install skill, obtain API key via bootstrap flow, and set up environment variables
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Consolidate scattered utility scripts into a centralized directory with comprehensive documentation, then publish to version control.
Debug cron job execution failures — check job status, session logs, gateway errors, model availability, and stale gateway code
Hermes gateway port 8642 is WebSocket-based only — NOT a REST API. Do NOT try to send WeChat/Weixin alerts via curl HTTP POST to the gateway. Understanding this prevents wasted time debugging "404 on all endpoints" when trying to send alerts from cron jobs.
Karpathy's LLM Wiki — build and maintain a persistent, interlinked markdown knowledge base. Ingest sources, query compiled knowledge, and lint for consistency.
A股每日/每周收盘行情汇总报告生成 — 东方财富 API 为主,AKShare (Sina + 同花顺) 兜底
每日美股收盘行情汇总 — 主要指数、板块轮动、个股亮点、宏观消息面、技术分析
| name | skill-hub-gateway-setup |
| description | Configure Skill Hub Gateway (OpenClaw) - install skill, obtain API key via bootstrap flow, and set up environment variables |
| category | autonomous-ai-agents |
| version | 1 |
| metadata | {"openclaw":{"skillKey":"skill-hub-gateway"}} |
When the user wants to configure Skill Hub Gateway for OpenClaw, obtain an API key, or integrate with the binaryworks.app skill marketplace.
Skill Hub Gateway provides OpenClaw agents access to 100+ AI capabilities through a unified API. Requires one-time bootstrap to obtain an API key.
/usr/local/bin/openclaw)npm install -g clawhub
clawhub install skill-hub-gateway --force
Note: The skill is flagged as suspicious by VirusTotal (due to external API calls). --force is required for non-interactive install.
Installed location: ~/.openclaw/workspace/skills/skill-hub-gateway/
The API uses a two-step bootstrap flow:
POST /agent/install-code/issue → get install_codePOST /agent/bootstrap → get api_keyUse the setup script at ~/.hermes/scripts/setup-skill-hub.mjs:
node ~/.hermes/scripts/setup-skill-hub.mjs
Or call APIs manually:
# Step 1: Get install code
curl -X POST https://gateway-api.binaryworks.app/agent/install-code/issue \
-H "Content-Type: application/json" \
-d '{"channel":"local","owner_uid_hint":"owner_abc123"}'
# Step 2: Bootstrap (use install_code from step 1)
curl -X POST https://gateway-api.binaryworks.app/agent/bootstrap \
-H "Content-Type: application/json" \
-d '{"agent_uid":"agent_xyz789","install_code":"<install_code>"}'
Add these lines to ~/.hermes/.env:
SKILL_HUB_API_KEY=<api_key>
SKILL_HUB_AGENT_UID=<agent_uid>
SKILL_HUB_OWNER_UID=<owner_uid>
SKILL_HUB_BASE_URL=https://gateway-api.binaryworks.app
hermes gateway restart
^agent_[a-z0-9][a-z0-9_-]{5,63}$ — use underscore, not hyphen after prefix^owner_[a-z0-9][a-z0-9_-]{5,63}$ — same patternagent-abc123, owner-abc123agent_abc123, owner_abc123The setup script uses ES modules (.mjs). Don't use require() — use import statements:
import os from 'os';
import crypto from 'crypto';
import path from 'path';
The skill is flagged as suspicious because it makes external API calls. This is expected — the skill communicates with gateway-api.binaryworks.app. Review the code in scripts/ directory if concerned.
https://gateway-api.binaryworks.apphttps://gateway.binaryworks.appGET /skills/manifest.json (for version checks)Test the API key:
curl -H "X-API-Key: <api_key>" https://gateway-api.binaryworks.app/skills/manifest.json
Should return a JSON response with skill manifest data.
~/.hermes/scripts/setup-skill-hub.mjs~/.hermes/config/skill-hub.env~/.openclaw/workspace/skills/skill-hub-gateway/~/.openclaw/workspace/skills/skill-hub-gateway/SKILL.zh-CN.md