Co-Pilot
Updated a month ago

cloudflare-skill

Ddmmulroy
0.6k
dmmulroy/cloudflare-skill
76
Agent Score

💡 Summary

This skill provides comprehensive reference documentation for using Cloudflare services with AI and LLMs.

🎯 Target Audience

Cloudflare developersAI/ML engineersDevOps professionalsTechnical writersSoftware architects

🤖 AI Roast:The installation script could pose risks if the source is compromised, potentially leading to unauthorized access or code execution. Ensure to verify the script's integrity before

Security AnalysisMedium Risk

The installation script could pose risks if the source is compromised, potentially leading to unauthorized access or code execution. Ensure to verify the script's integrity before running it.

Cloudflare Skill for OpenCode

Comprehensive Cloudflare platform reference docs for AI/LLM consumption. Covers Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking, security, and infrastructure-as-code.

Install

Local installation (current project only):

curl -fsSL https://raw.githubusercontent.com/dmmulroy/cloudflare-skill/main/install.sh | bash

Global installation (available in all projects):

curl -fsSL https://raw.githubusercontent.com/dmmulroy/cloudflare-skill/main/install.sh | bash -s -- --global

Usage

Once installed, the skill appears in OpenCode's <available_skills> list. The agent loads it automatically when working on Cloudflare tasks.

Use the /cloudflare command to load the skill and get contextual guidance:

/cloudflare set up a D1 database with migrations

Updating

To update to the latest version:

/cloudflare --update-skill

Structure

The installer adds both a skill and a command:

# Skill (reference docs)
skill/cloudflare/
├── SKILL.md              # Main manifest + decision trees
├── patterns.md           # Multi-product architecture patterns
└── references/           # 60 product subdirectories
    └── <product>/
        ├── README.md         # Overview, when to use
        ├── api.md            # Runtime API reference
        ├── configuration.md  # wrangler.toml + bindings
        ├── patterns.md       # Usage patterns
        └── gotchas.md        # Pitfalls, limitations

# Command (slash command)
command/cloudflare.md     # /cloudflare entrypoint

Decision Trees

The main SKILL.md contains decision trees for:

  • Running code (Workers, Pages, Durable Objects, Workflows, Containers)
  • Storage (KV, D1, R2, Queues, Vectorize)
  • AI/ML (Workers AI, Vectorize, Agents SDK, AI Gateway)
  • Networking (Tunnel, Spectrum, WebRTC)
  • Security (WAF, DDoS, Bot Management, Turnstile)
  • Media (Images, Stream, Browser Rendering)
  • Infrastructure-as-code (Terraform, Pulumi)

Products Covered

Workers, Pages, D1, Durable Objects, KV, R2, Queues, Hyperdrive, Workers AI, Vectorize, Agents SDK, AI Gateway, Tunnel, Spectrum, WAF, DDoS, Bot Management, Turnstile, Images, Stream, Browser Rendering, Terraform, Pulumi, and 40+ more.

License

MIT - see LICENSE

5-Dim Analysis
Clarity8/10
Novelty6/10
Utility9/10
Completeness8/10
Maintainability7/10
Pros & Cons

Pros

  • Comprehensive documentation for various Cloudflare products.
  • Supports AI and LLM integration.
  • Easy installation and usage.

Cons

  • May be overwhelming due to extensive content.
  • Requires familiarity with Cloudflare services.
  • Limited examples for practical implementation.

Related Skills

durable-objects

A
toolCo-Pilot
82/ 100

“Powerful, but the setup might scare off the impatient.”

building-mcp-server-on-cloudflare

A
toolCo-Pilot
82/ 100

“Powerful, but the setup might scare off the impatient.”

cloudflare-docs

C
toolCo-Pilot
68/ 100

“Powerful, but the setup might scare off the impatient.”

Disclaimer: This content is sourced from GitHub open source projects for display and rating purposes only.

Copyright belongs to the original author dmmulroy.