Claude Skill
cloudflare/moltworker
Moltworker 允许您在 Cloudflare Workers 上运行 OpenClaw(原名 Moltbot/Clawdbot)。这是一个用于在边缘部署 AI 代理的无服务器 TypeScript 项目。
概览
仓库信息
安装这个 Skill
npm installRegistry 信息
npm installnpx wrangler secret put ANTHROPIC_API_KEY# npx wrangler secret put CLOUDFLARE_AI_GATEWAY_API_KEY# npx wrangler secret put CF_AI_GATEWAY_ACCOUNT_ID# npx wrangler secret put CF_AI_GATEWAY_GATEWAY_ID
项目简介
Moltworker 允许在 Cloudflare Workers 上运行 OpenClaw(原名 Moltbot,曾用名 Clawdbot),提供无服务器 AI 代理运行时和边缘部署能力。
Run OpenClaw, (formerly Moltbot, formerly Clawdbot) on Cloudflare Workers
要点
- 在 Cloudflare Workers 上运行 OpenClaw AI 代理
- 利用 Cloudflare 全球边缘网络实现低延迟执行
- 使用 TypeScript 构建,确保类型安全与可靠性
- 支持无服务器部署,自动扩展
- 与 Cloudflare 生态系统集成,实现无缝工作流
使用场景
- 在边缘部署 AI 代理以实现实时响应
- 使用 OpenClaw 构建无服务器自动化工作流
- 在 Cloudflare 基础设施上运行轻量级 AI 任务
- 在无服务器环境中原型设计和测试 AI 代理行为
README 摘要
# OpenClaw on Cloudflare Workers Run [OpenClaw](https://github.com/openclaw/openclaw) (formerly Moltbot, formerly Clawdbot) personal AI assistant in a [Cloudflare Sandbox](https://developers.cloudflare.com/sandbox/).  > **Experimental:** This is a proof of concept demonstrating that OpenClaw can run in Cloudflare Sandbox. It is not officially supported and may break without notice. Use at your own risk. [](https://deploy.workers.cloudflare.com/?url=https://github.com/cloudflare/moltworker) ## Requirements - [Workers Paid plan](https://www.cloudflare.com/plans/developer-platform/) ($5 USD/month) — required for Cloudflare Sandbox containers. Running the container incurs additional compute costs; see [Container Cost Estimate](#container-cost-estimate) below for details. - [Anthropic API key](https://console.anthropic.com/) — for Claude access, or you can use AI Gateway's [Unified Billing](https://developers.cloudflare.com/ai-gateway/features/unified-billing/) The following Cloudflare features used by this project have free tiers: - Cloudflare Access (authentication) - Browser Rendering (for browser navigation) - AI Gateway (optional, for API routing/analytics) - R2 Storage (optional, for persistence) ## Container Cost Estimate This project uses a `standard-1` Cloudflare Container instance (1/2 vCPU, 4 GiB memory, 8 GB disk). Below are approximate monthly costs assuming the container runs 24/7, based on [Cloudflare Containers pricing](https://developers.cloudflare.com/containers/pricing/): | Resource | Provisioned | Monthly Usage | Included Free | Overage | Approx. Cost | |----------|-------------|---------------|---------------|---------|-------------