تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

cloudflare-toolkit

بواسطة insipidpoint

Web & Frontend Development
1.0kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Manage Cloudflare domains, DNS records, SSL settings, zone configuration, firewall rules, tunnels, and analytics.

الوصف

ما الذي تفعله هذه المهارة

Manages Cloudflare zones, DNS records, SSL configuration, firewall rules, tunnels, and analytics through a bundled bash script that wraps the Cloudflare API. Covers the full range of domain and zone operations without requiring any external tooling beyond curl and jq.

The bundled cf.sh script means no separate CLI installation or authentication setup beyond a single API token.

متى تستخدمها

  • Point a new domain to a server with A and CNAME records
  • Switch a zone to strict SSL mode before launch
  • Purge CDN cache after deploying updated assets
  • Export DNS records before migrating to a new registrar
  • Create a Cloudflare Tunnel to expose a local service

مثال على سير العمل

الإدخال

User asks: add an A record for api.example.com pointing to 203.0.113.10 with Cloudflare proxying enabled

الوكيل
  1. 1

    Run cf zones example.com to retrieve the zone ID

  2. 2

    Run cf dns-create <zone_id> A api.example.com 203.0.113.10 true to create the proxied A record

  3. 3

    Run cf dns-list <zone_id> A api.example.com to confirm the record exists

الإخراج

A record for api.example.com → 203.0.113.10 created with orange-cloud proxying active

المتطلبات

  • CLOUDFLARE_API_TOKEN environment variable
  • CLOUDFLARE_ACCOUNT_ID environment variable (required for tunnel operations only)

التثبيت

clawhub install insipidpoint/cloudflare-toolkit

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط