Logo von Cloudflare Skill

Cloudflare Skill

Community
zeenie-ai
cloudflare-skill

Work with Cloudflare via the official cf CLI — check auth identity, list zones, list/create/delete DNS records, query the GraphQL Analytics API (zone traffic, Web Analytics/RUM), and run any other cf command. Output is parsed JSON.

Übersicht

Herausgeberzeenie-ai
RepositoryOpenCompany
Skill-Namecloudflare-skill
Sterne
912
Forks
137
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von zeenie-ai auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Cloudflare Skill in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/cloudflare/cloudflare-skill
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/zeenie-ai/OpenCompany.git /tmp/OpenCompany
mkdir -p .claude/skills
cp -r /tmp/OpenCompany/server/skills/cloudflare/cloudflare-skill .claude/skills/cloudflare-skill
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Cloudflare Skill in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Cloudflare Skill automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Cloudflare Skill nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

Cloudflare Skill

Wrapper over the official Cloudflare CLI (cf, a Technical Preview — "the next version of Wrangler"). Typed operations for the core flows plus a custom passthrough that covers the entire cf surface. cf prints JSON to stdout by default, so results come back parsed in result.

Tool: cloudflare

Operations

OperationPurposeKey fields
whoamiAuth status + identity (email, scopes)—
zones_listList/filter zones (parsed JSON)name_filter, account_id (both optional)
dns_records_listDNS records for a zone (parsed JSON)zone (zone ID or domain)
dns_record_createCreate a DNS recordzone, record_body (raw JSON record)
dns_record_deleteDelete a DNS record by idzone, record_id
graphql_queryGraphQL Analytics API (traffic, RUM, DNS analytics)graphql_query, graphql_variables (JSON)
customAny other cf commandcommand — exactly what you would type after cf

Response

json
{
  "operation": "zones_list",
  "success": true,
  "result": [{ "id": "023e105f4ecef8ad9ca31a8372d0c353", "name": "example.com", "status": "active" }],
  "stdout": null,
  "stderr_tail": null
}

Parsed JSON lands in result; plain text (rare) lands in stdout. On failure the tool raises an error carrying cf's own message — surface it verbatim; cf's errors are precise (including "Not logged in", which tells the user exactly how to authenticate).

DNS records

record_body is the raw JSON request body (the API's DNS record shape — stable across cf versions, unlike per-field flags):

json
{ "operation": "dns_record_create", "zone": "example.com", "record_body": "{\"type\":\"A\",\"name\":\"www\",\"content\":\"192.0.2.1\",\"ttl\":1,\"proxied\":false}" }

Common record fields: type (A/AAAA/CNAME/TXT/MX/NS/SRV), name (record name; @ for the zone apex), content, ttl (1 = auto), proxied (orange-cloud), priority (MX/SRV). Get record ids from dns_records_list before deleting:

json
{ "operation": "dns_records_list", "zone": "example.com" }
{ "operation": "dns_record_delete", "zone": "example.com", "record_id": "023e105f4ecef8ad9ca31a8372d0c353" }

To update a record, use custom with --body:

json
{ "operation": "custom", "command": "dns records update <record-id> --zone example.com --body '{\"content\":\"192.0.2.2\"}'" }

Analytics — the GraphQL Analytics API

Cloudflare's legacy Zone Analytics REST API was deprecated (2021) and the DNS analytics REST API is scheduled for removal (2026-12-01); the official replacement for both is the GraphQL Analytics API. The cf CLI does not expose it (its commands are generated from the REST schema), so use the graphql_query operation — it POSTs to the official endpoint api.cloudflare.com/client/v4/graphql.

Requires the API token from Credentials -> Cloudflare (the OAuth login has no analytics scopes): permission Account > Account Analytics > Read, plus Zone > Analytics > Read for zone-scoped queries.

Zone HTTP traffic (official migration-guide query, current dataset):

json
{
  "operation": "graphql_query",
  "graphql_query": "query Sample($zoneTag: string, $start: Time, $end: Time) { viewer { zones(filter: {zoneTag: $zoneTag}) { series: httpRequestsAdaptiveGroups(limit: 5, orderBy: [count_DESC], filter: {datetime_geq: $start, datetime_lt: $end, requestSource: \"eyeball\"}) { count avg { sampleInterval } sum { visits edgeResponseBytes } dimensions { coloCode } } } } }",
  "graphql_variables": "{\"zoneTag\": \"<zone id>\", \"start\": \"2026-07-01T00:00:00Z\", \"end\": \"2026-07-15T00:00:00Z\"}"
}

Web Analytics / RUM (account-scoped datasets: rumPageloadEventsAdaptiveGroups, rumPerformanceEventsAdaptiveGroups, rumWebVitalsEventsAdaptiveGroups):

json
{
  "operation": "graphql_query",
  "graphql_query": "query Rum($accountTag: string, $start: Time, $end: Time) { viewer { accounts(filter: {accountTag: $accountTag}) { rumPageloadEventsAdaptiveGroups(limit: 100, orderBy: [count_DESC], filter: {datetime_geq: $start, datetime_lt: $end}) { count sum { visits } dimensions { requestPath } } } } }",
  "graphql_variables": "{\"accountTag\": \"<account id>\", \"start\": \"2026-07-01T00:00:00Z\", \"end\": \"2026-07-15T00:00:00Z\"}"
}

DNS analytics: dnsAnalyticsAdaptive / dnsAnalyticsAdaptiveGroups (zone- and account-scoped). Notes: a query spans at most 10 zones or 1 account; the user quota is 300 queries per 5 minutes; wide time ranges are sampled (multiply by sampleInterval for estimates). Web Analytics site CONFIG (create/list sites) lives on REST under accounts/{account_id}/rum/site_info — the cf CLI has no rum commands yet, and those endpoints also need the API token.

The full cf surface via custom

json
{ "operation": "custom", "command": "accounts list" }
{ "operation": "custom", "command": "dns records get <record-id> --zone example.com" }
{ "operation": "custom", "command": "registrar domains list" }
{ "operation": "custom", "command": "zones get --zone example.com" }
{ "operation": "custom", "command": "dns analytics report --zone example.com" }

Discovery helpers when unsure of a command's shape:

  • { "operation": "custom", "command": "agent-context dns" } — cf's built-in per-product agent context (also agent-context --list for the product catalogue).
  • { "operation": "custom", "command": "schema zones list" } — the API schema behind a command.
  • Append --dry-run to any write command to validate without executing.

Quoting and escaping

command is parsed with shlex.split — wrap JSON bodies in single quotes: custom: "dns records create --zone example.com --body '{\"type\":\"A\",...}'".

Authentication

Two independent paths; the token wins when both exist (cf's documented resolution order):

  1. OAuth login — Credentials Modal → Cloudflare → Login (cf opens the browser itself; localhost callback, so the browser must be on the server's machine), or cf auth login in a terminal. The OAuth grant is a FIXED scope set: zones, DNS (incl. dns_analytics:read), accounts, registrar, Workers — but NO Web Analytics/RUM or zone analytics scopes, and no way to request more.
  2. API token or Global API Key — pasted in the credentials panel (or CLOUDFLARE_API_TOKEN / CLOUDFLARE_API_KEY+CLOUDFLARE_EMAIL in the server env; panel values take precedence). Required for graphql_query and anything else outside the OAuth scopes. Scoped token: dash.cloudflare.com/profile/api-tokens with the permission groups the task needs. Global API Key (cfk_ prefix): full access, needs the Account Email field filled alongside it.

If a command fails with an authentication or 403 error, tell the user which permission group the token needs; don't ask them to paste a token in chat.

Best practices

  1. Run whoami first when auth state is unknown — it returns the authenticated email and scopes without side effects.
  2. Pass zone as the domain name (cf resolves it to the zone ID).
  3. Preview writes with --dry-run via custom when the user's intent is ambiguous.
  4. Destructive operations (zone deletes, record deletes) — confirm with the user before running unless they explicitly asked.
  5. Surface cf error messages verbatim — don't paraphrase.

Häufig gestellte Fragen

Was macht der KI-Skill Cloudflare Skill?

Work with Cloudflare via the official cf CLI — check auth identity, list zones, list/create/delete DNS records, query the GraphQL Analytics API (zone traffic, Web Analytics/RUM), and run any other cf command. Output is parsed JSON.

Warum Cloudflare Skill in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Cloudflare Skill besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Cloudflare Skill in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/zeenie-ai/OpenCompany/tree/main/server/skills/cloudflare/cloudflare-skill ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Cloudflare Skill nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Cloudflare Skill verwenden?

So viele Sie möchten. In TypingMind können Sie Cloudflare Skill mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Cloudflare Skill kostenlos?

Ja. Der Skill wird von zeenie-ai auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇