ワンクリックで
openclaw-hf-deploy
Agent SOP for deploying this repository to Hugging Face Space with the project bootstrap scripts.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Agent SOP for deploying this repository to Hugging Face Space with the project bootstrap scripts.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
| name | openclaw-hf-deploy |
| description | Agent SOP for deploying this repository to Hugging Face Space with the project bootstrap scripts. |
Use this skill when a user asks an agent to deploy openclaw-hf to Hugging Face.
./scripts/bootstrap-hf.shpowershell -ExecutionPolicy ByPass -File .\scripts\bootstrap-hf.ps1Run and verify:
command -v git >/dev/null 2>&1 || MISSING_GIT=1
command -v hf >/dev/null 2>&1 || MISSING_HF=1
command -v python3 >/dev/null 2>&1 || MISSING_PYTHON3=1
git --version
hf version
python3 --version
python3 -c "import huggingface_hub" >/dev/null 2>&1 || python3 -m pip install --user 'huggingface_hub[cli]'
Install missing tools before continuing.
Run:
git clone https://github.com/tenfyzhong/openclaw-hf.git
cd openclaw-hf
Do not continue until the shell is inside the cloned openclaw-hf directory.
HF_TOKEN in the conversation:
HF_TOKEN directly: hf auth login --token <HF_TOKEN>hf auth whoami.HF_TOKEN (required)hf auth login --token <HF_TOKEN>yes: continueno:
HF_TOKENhf auth login --token <HF_TOKEN>After step 3 is completed, collect:
space_name (default openclaw-hf)dataset_name (default <space_name>-backup)OPENCLAW_VERSION (default latest detected from npm, fallback latest)OPENCLAW_GATEWAY_TOKEN (optional, auto-generated if empty)OPENCLAW_GATEWAY_PASSWORD (optional, auto-generated if empty)Configure custom LLM now? (y/N)
yes: OPENCLAW_LLM_BASE_URL, OPENCLAW_LLM_MODEL, OPENCLAW_LLM_API_KEYno: OPENCLAW_SSHX_AUTO_START (Y/n)Proceed with these settings? defaults to Y; agent should press Enter directly and not collect this input from user.If user explicitly asks to cancel before execution, answer n at final confirmation and stop without creating/updating remote resources.
From the cloned openclaw-hf repo root, run the platform-specific bootstrap script and follow prompts in order.
The script will:
OPENCLAW_BACKUP_DATASET_REPO, OPENCLAW_VERSION, HF_TOKEN, gateway secrets, and optional LLM/SSHX settingsAgent final message must include:
<owner>/<space_name>https://huggingface.co/spaces/<owner>/<space_name><owner>/<dataset_name>OPENCLAW_VERSION usedhttps://<owner>-<space_name>.hf.spacehttps://<owner>-<space_name>.hf.space/healthzSleep time=Never for strict 24/7 uptimeAfter deployment and final hand-off are done, remove the local cloned repository:
cd ..
rm -rf openclaw-hf