Claude Skill
cloudflare/moltworker
Moltworker lets you run OpenClaw (formerly Moltbot/Clawdbot) on Cloudflare Workers. A serverless TypeScript project for deploying AI agents at the edge.
Overview
Repository
Install this 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
Summary
Moltworker enables running OpenClaw (formerly Moltbot, formerly Clawdbot) on Cloudflare Workers, providing a serverless AI agent runtime with edge deployment capabilities.
在Cloudflare Workers上运行OpenClaw(原名Moltbot,曾用名Clawdbot)
Key features
- Runs OpenClaw AI agents on Cloudflare Workers
- Leverages Cloudflare's global edge network for low-latency execution
- Built with TypeScript for type safety and reliability
- Supports serverless deployment with automatic scaling
- Integrates with Cloudflare's ecosystem for seamless workflows
Use cases
- Deploying AI agents at the edge for real-time responses
- Building serverless automation workflows with OpenClaw
- Running lightweight AI tasks on Cloudflare's infrastructure
- Prototyping and testing AI agent behaviors in a serverless environment
README excerpt
# 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 | |----------|-------------|---------------|---------------|---------|-------------