返回技能库

官方厂商 · 精选技能

Cloudflare Skills

2,792 Stars

教 Agent 在 Cloudflare 上构建与部署:Workers、Pages 与边缘计算全链路。

官方厂商官方出品边缘计算部署

如何使用这个技能

四步装进你的 AI Agent(Claude Code、Codex CLI、Cursor 等通用流程):

  1. 1

    复制安装命令

    点击右侧按钮,把安装命令复制到剪贴板。

  2. 2

    在你的 Agent 终端执行

    打开 Claude Code / Codex / Cursor 的终端,粘贴并回车执行,等待安装完成。

  3. 3

    在对话中直接点名调用

    新开一个会话,直接说「用 Cloudflare Skills 帮我……」,Agent 会按技能里的专业流程执行。

  4. 4

    阅读下方完整说明

    想深入了解参数、进阶玩法与真实示例,往下看该技能的完整说明文档。

安装示例 / 项目说明

Cloudflare Skills

A collection of 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:

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:

/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.

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 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
Cursor ~/.cursor/skills/ docs
OpenCode ~/.config/opencode/skills/ docs
OpenAI Codex ~/.codex/skills/ docs
Pi ~/.pi/agent/skills/ docs

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
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
wrangler Deploying and managing Workers, KV, R2, D1, Vectorize, Queues, Workflows
workers-best-practices Writing, reviewing, or configuring production Workers
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 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

MCP Servers

This plugin includes Cloudflare's main remote MCP server 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 Skills - AI Skill 技能库 - 莘禾教育