ClawKit Logo
ClawKitReliability Toolkit
Back to Registry
Official Verified developer tools Safety 3/5

cloudflare

Manage Cloudflare Workers, KV, D1, R2, and secrets using the Wrangler CLI. Use when deploying workers, managing databases, storing objects, or configuring Cloudflare resources. Covers worker deployment, KV namespaces, D1 SQL databases, R2 object storage, secrets management, and tailing logs.

skill-install — Terminal

Install via CLI (Recommended)

clawhub install openclaw/skills/skills/asleep123/wrangler
Or

What This Skill Does

The Cloudflare skill provides an interface to the wrangler CLI, enabling users to manage the entire Cloudflare ecosystem directly from OpenClaw. This includes deployment of Workers, administration of Key-Value (KV) stores, relational SQL databases via D1, object storage using R2, and robust queue management. By automating the interaction with Wrangler, this skill streamlines the CI/CD pipeline for serverless applications, handles sensitive environment variables through secret management, and provides live feedback loops via tailing logs. It abstracts the complexity of command-line flags while maintaining full feature parity with standard Cloudflare development workflows.

Installation

To integrate this skill, use the command: clawhub install openclaw/skills/skills/asleep123/wrangler. Ensure that you have Node.js version 20 or higher installed on your environment. After installation, authenticate by running wrangler login to authorize the agent to perform operations on your behalf, and verify the connection with wrangler whoami.

Use Cases

  • Full-stack Deployment: Automate the build and deployment process of Workers to Cloudflare edge networks.
  • Database Management: Perform migrations, schema updates, and ad-hoc SQL queries on D1 databases without manual CLI usage.
  • Secrets Governance: Securely rotate or update environment secrets across production and staging environments.
  • Infrastructure as Code: Programmatically define and modify R2 buckets, queues, and KV namespaces as part of your application lifecycle.
  • Debugging: Tailing live logs in real-time to troubleshoot edge-function errors or performance bottlenecks.

Example Prompts

  1. "Deploy my current worker project to production and list the latest five deployments to check the status."
  2. "Create a new D1 database named 'user-analytics' and apply the latest migrations from my schema file."
  3. "List all keys in my production KV namespace and add a new secret key called 'API_KEY' with the value 'secure-123'."

Tips & Limitations

  • Environment Context: Always ensure your wrangler.toml or wrangler.json configuration is correctly placed in the root directory, as the agent relies on these files to target the correct resources.
  • Security: The skill allows direct execution of shell commands. Always review the commands generated by the AI before confirming complex database operations or deleting production infrastructure.
  • Performance: While the skill handles large bulk operations for KV, ensure that large JSON files are properly formatted before initiating bulk puts to avoid syntax errors.
  • State Management: For database exports, ensure your environment has sufficient disk space for the generated SQL backup files.

Metadata

Author@asleep123
Stars4473
Views2
Updated2026-05-01
View Author Profile
AI Skill Finder

Not sure this is the right skill?

Describe what you want to build — we'll match you to the best skill from 16,000+ options.

Find the right skill
Add to Configuration

Paste this into your clawhub.json to enable this plugin.

{
  "plugins": {
    "official-asleep123-wrangler": {
      "enabled": true,
      "auto_update": true
    }
  }
}

Tags(AI)

#cloudflare#wrangler#serverless#devops#workers
Safety Score: 3/5

Flags: file-read, file-write, external-api, code-execution