cloudflare · cloudflare — Claude Code plugin: what it does, how to install
Equips Claude Code with guides for the Cloudflare platform and connects the remote MCP server. Helps manage Workers, Durable Objects, and deployment pipelines.
/plugin install cloudflare@claude-plugins-official
/plugin marketplace add anthropics/claude-plugins-community
/plugin install cloudflare@claude-community
/plugin marketplace add anthropics/claude-plugins-officialWhat cloudflare does
This plugin loads contextual skills into Claude Code whenever Cloudflare services are mentioned. It covers Workers, Durable Objects, Agents SDK, and database services like D1 or KV. It also brings migration paths to Cloudflare One from legacy setups like Palo Alto or Zscaler.
The package bundles the official remote cloudflare MCP server. Claude Code uses it to consult live developer documentation and call platform APIs through Code Mode. Cloudflare excluded product-specific MCP servers from this bundle. You will need to add those manually if your workflow requires them.
For operations, the skills guide deployments through Wrangler and cf-cli. They also assist with Core Web Vitals audits and CPU profiling inside active Workers.
What it helps with
- Configure stateful coordination using Durable Objects or the Agents SDK
- Provision and deploy Workers, D1, KV, and R2 using Wrangler
- Plan enterprise migrations from Zscaler or Palo Alto to Cloudflare One
- Profile CPU usage and allocation hotspots in deployed Workers
- Integrate Turnstile bot defense with server-side Siteverify checks
Example prompts for the agent
- Profile our Durable Object implementation to find CPU hotspots
- Write a Wrangler configuration for a Worker using D1 and Queues
- Help migrate legacy Gateway policies to Cloudflare One
How to install cloudflare
Plugin marketplace
/plugin install cloudflare@claude-plugins-official/plugin marketplace add anthropics/claude-plugins-community/plugin install cloudflare@claude-community/plugin marketplace add anthropics/claude-plugins-officialStep by step, with commands for each platform: Claude Code plugins: marketplaces, installing, and building your own
Questions about cloudflare
How to install cloudflare in Claude Code?
Add the official marketplace and install the package using these commands: /plugin marketplace add anthropics/claude-plugins-official followed by /plugin install cloudflare@claude-plugins-official.
What does the cloudflare plugin do?
It provides contextual instructions for Cloudflare developer products and connects to the official remote MCP server. The agent automatically triggers specific skills when you ask about Workers, Wrangler, or security policies.
Which MCP servers are included in this plugin?
The plugin bundles only the primary remote cloudflare MCP server for documentation and API access. Product-specific MCP servers released by Cloudflare must be installed separately.
Source text
SKILL.md · Apache-2.0
# Cloudflare Skills A collection of [Agent Skills](https://www.anthropic.com/engineering/equipping-agents-for-the-real-world-with-agent-skills) for building on Cloudflare, Workers, the Agents SDK, and the wider Cloudflare Developer Platform. ## Installing Use the native plugin where supported to install both Cloudflare guidance and the Cloudflare MCP server. Agents that only support the Agent Skills standard can install the skills separately. ### Codex Install from the Cloudflare plugin marketplace: ```sh codex plugin marketplace add cloudflare/skills codex plugin add cloudflare@cloudflare ``` Start a new Codex session after installation. ### Claude Code Install using the [plugin marketplace](https://code.claude.com/docs/en/plugins/install#add-a-marketplace): ``` /plugin marketplace add cloudflare/skills /plugin install cloudflare@cloudflare ``` ### VS Code / GitHub Copilot Install directly from this repository: 1. Enable `chat.plugins.enabled` in VS Code settings. 2. Open the Command Palette and run **Chat: Install Plugin From Source**. 3. Enter `https://github.com/cloudflare/skills`. For marketplace installation or troubleshooting, see [VS Code's agent plugin documentation](https://code.visualstudio.com/docs/agent-customization/agent-plugins). ### Cursor Install from the Cursor Marketplace or add manually via **Settings > Rules > Add Rule > Remote Rule (Github)** with `cloudflare/skills`. ### npx skills Install using the [`npx skills`](https://skills.sh) CLI: ``` npx skills add https://github.com/cloudflare/skills ``` ### Clone / Copy Clone this repo and copy the skill folders into the appropriate directory for your agent: | Agent | Skill Directory | Docs | |-------|-----------------|------| | Claude Code | `~/.claude/skills/` | [docs](https://code.claude.com/docs/en/skills) | | Cursor | `~/.cursor/skills/` | [docs](https://cursor.com/docs/context/skills) | | OpenCode | `~/.config/opencode/skills/` | [docs](https://opencode.ai/docs/skills/) | | OpenAI Codex | `~/.codex/skills/` | [docs](https://developers.openai.com/codex/skills/) | | Pi | `~/.pi/agent/skills/` | [docs](https://github.com/earendil-works/pi/blob/main/packages/coding-agent/docs/skills.md) | ## Skills Skills are contextual and auto-loaded based on your conversation. When a request matches a skill's triggers, the agent loads and applies the relevant skill to provide accurate, up-to-date guidance. | Skill | Useful for | |-------|------------| | cloudflare | Helps agents discover which Cloudflare products fit their needs, then find the right skills and docs | | basin | Building analytics workflows with Basin Pipelines, Basin Catalog, and Basin SQL; includes the Data Platform rebrand | | k2 | Building durable K2 Streams with HTTP or Worker producers and subscription consumers | | nextjs-on-cloudflare | Next.js on Workers with vinext; routes to vinext's upstream skills and docs | | agents-sdk | Building stateful AI agents with state, scheduling, RPC, MCP servers, email, and streaming chat | | durable-objects | Stateful coordination (chat rooms, games, booking), RPC, SQLite, alarms, WebSockets | | sandbox-next | Sandbox on `@cloudflare/sandbox@next` (1.0 preview); recommended for new projects | | sandbox-stable | Sandbox on the current stable `@cloudflare/sandbox` package | | sandbox-migrate-to-next | Port a stable Sandbox app to `@cloudflare/sandbox@next` | | cf-cli | Finding and running Cloudflare CLI (`cf`) commands, and choosing between `cf` and Wrangler | | wrangler | Deploying and managing Workers, KV, R2, D1, Vectorize, Queues, Workflows | | workers-best-practices | Writing, reviewing, or configuring production Workers | | workers-profiling | Profiling CPU usage and allocation hotspots in deployed Workers and Durable Objects | | cloudflare-email-service | Implementing or troubleshooting Email Sending, Email Routing, and delivery configuration | | turnstile-spin | Setting up, repairing, or migrating Turnstile bot verification, including server-side Siteverify | | web-perf | Auditing Core Web Vitals (FCP, LCP, TBT, CLS), render-blocking resources, network chains | | cloudflare-one | Designing, configuring, troubleshooting, or reviewing [Cloudflare One](https://developers.cloudflare.com/cloudflare-one/) deployments across Access, Gateway, WARP, Tunnel, Magic WAN, DLP, CASB, posture, and identity | | cloudflare-one-migrations | Migration assessments, policy mapping, rollout plans, and gap analysis for Zscaler, Palo Alto, legacy VPN/SWG, and SASE migrations to Cloudflare One | | gateway-workers | Writing and reviewing Workers invoked by the Forward action in Gateway HTTP policies | ## MCP Servers This plugin includes Cloudflare's main [remote MCP server](https://developers.cloudflare.com/agents/model-context-protocol/cloudflare/servers-for-cloudflare/) for enhanced functionality: | Server | Purpose | |--------|---------| | cloudflare | Access the Cloudflare API and current developer documentation through the Code Mode MCP server | Cloudflare also publishes product-specific MCP servers. This plugin intentionally bundles only the main `cloudflare` server.
© cloudflare · Apache-2.0 · cloudflare/skills
Similar plugins
All plugins for Cloud: AWS, Azure, GCP →cloudflare by other authors comes first.