openclaw-hf-deploy

Automates OpenClaw deployment to a Hugging Face Space via bootstrap scripts.

1|3|Updated Mar 24, 2026
One-click install
npx skills add https://github.com/tenfyzhong/openclaw-hf --skill openclaw-hf-deploy
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: openclaw-hf-deploy
Source: https://github.com/tenfyzhong/openclaw-hf/tree/main
Command: npx skills add https://github.com/tenfyzhong/openclaw-hf --skill openclaw-hf-deploy

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires huggingface_hub, bash, curl, git, openssl, python3, jq, cron, npm, gh, and includes scripts (resource) components.

What problem does it solve?

The deployment SOP automates the end-to-end process of deploying OpenClaw to a Hugging Face Space, replacing manual, error-prone setup with a repeatable workflow.

Core Features & Use Cases

  • Reuse the project bootstrap scripts to create a private Space and Dataset, upload repository code, and bootstrap environment variables and secrets.
  • Handles cross-platform bootstrap flows (macOS/Linux and Windows PowerShell), including token management, initial gateway credentials, and optional LLM configuration.
  • Ensures safe execution with preflight checks, user prompts, and guarded deployment steps, while documenting the full hand-off details.

Quick Start

Run the bootstrap script at ./scripts/bootstrap-hf.sh to deploy openclaw-hf to Hugging Face Space.

Frequently Asked Questions about openclaw-hf-deploy

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I automate Hugging Face Space deployment and repository bootstrap?

You can automate Hugging Face Space deployment by running a bootstrap script that creates the Space and Dataset, uploads code, and configures secrets and environment variables for a repeatable workflow.

What is the best way to set up secrets and environment variables for a Hugging Face Space?

The best way to set up secrets and environment variables is using an automated bootstrap workflow that applies preflight checks and guided prompts to securely configure deployment assets.

Does the Hugging Face Space deployment script support Windows PowerShell and macOS?

Yes, the deployment script supports cross-platform bootstrap flows, handling token management and configuration for both macOS/Linux and Windows PowerShell environments.

Do I need to manually create a Hugging Face Dataset before deploying my Space?

No, you do not need to manually create a Dataset; the bootstrap script handles Space and Dataset creation automatically as part of its repeatable deployment workflow.

Why does my automated Hugging Face Space setup fail during repository bootstrap?

Automated Space setup may fail if preflight checks detect missing dependencies like python3, git, or curl, or if required Hugging Face tokens are not properly configured before execution.