Λογότυπο Cloudflare Ops

Cloudflare Ops

Οργανισμός
serversathome
cloudflare-ops

Read and manage Cloudflare: DNS records for your domains, Cloudflare Tunnels and their ingress rules, connector health, and Zero Trust Access applications. Use this whenever the user asks about a domain or DNS record, whether a service is reachable from outside, a tunnel being up or down, cloudflared, publishing a service to the internet, an Access application or who can sign in to one, or asks to add, repoint or remove a DNS record or a tunnel route. This integration CAN change DNS and tunnels when registered with an Edit token; destructive operations refuse to run without --force.

Επισκόπηση

Εκδότηςserversathome
Αποθετήριοhomelabhero
Όνομα δεξιότηταςcloudflare-ops
Αστέρια
104
Διακλαδώσεις
4
Συνοδευτικά αρχεία
Μόνο οδηγίες
Σύνδεσμοι
  • Οδηγίες σε Markdown

    Ένα αρχείο SKILL.md που το μοντέλο φορτώνει όταν χρειάζεται, ώστε να καταναλώνει token μόνο όταν ένα αίτημα είναι πράγματι σχετικό.

  • Λειτουργεί με οποιοδήποτε LLM

    Οι δεξιότητες AI είναι απλό Markdown, όχι κώδικας για συγκεκριμένο πάροχο, επομένως αυτή η δεξιότητα λειτουργεί με GPT, Claude, Gemini, Grok ή ένα τοπικό μοντέλο.

  • Αυτοτελής

    Όλα όσα χρειάζεται το μοντέλο περιλαμβάνονται στις οδηγίες — χωρίς επιπλέον αρχεία για συγχρονισμό.

  • Ανοιχτού κώδικα

    Δημοσιεύτηκε στο GitHub από τον λογαριασμό serversathome. Ελέγξτε τα αρχεία της δεξιότητας στο αποθετήριο πριν την εγκαταστήσετε.

Εγκατάσταση

Εγκαταστήστε τη δεξιότητα AI Cloudflare Ops στο TypingMind για να τη χρησιμοποιείτε με οποιοδήποτε LLM ή προσθέστε τη σε άλλον πράκτορα AI που διαβάζει αρχεία SKILL.md.

1

Εγκατάσταση στο TypingMind

Το TypingMind εγκαθιστά μια δεξιότητα απευθείας από τον φάκελό της στο GitHub — διαβάζει το SKILL.md, συγκεντρώνει τα συνοδευτικά αρχεία σε πακέτο και αποθηκεύει το αποτέλεσμα τοπικά.

  1. Ανοίξτε την εφαρμογή και μεταβείτε στα Πρόσθετα → Δεξιότητες.
  2. Επιλέξτε «Εγκατάσταση από GitHub».
  3. Επικολλήστε το παρακάτω URL του φακέλου της δεξιότητας και επιβεβαιώστε.
    https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/cloudflare-ops
  4. Ενεργοποιήστε τη δεξιότητα σε κάθε συνομιλία όπου θέλετε να είναι διαθέσιμη.
Πρόσθετα → Δεξιότητες → Προσθήκη δεξιότητας → Από URL του GitHub, έπειτα επικολλήστε το URL του φακέλου και πατήστε «Συνέχεια».
2

Εγκατάσταση σε άλλον πράκτορα AI

Κάθε πράκτορας AI που υποστηρίζει τη μορφή Agent Skills μπορεί να χρησιμοποιήσει αυτή τη δεξιότητα — αντιγράψτε τον φάκελο στον κατάλογο δεξιοτήτων του.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/serversathome/homelabhero.git /tmp/homelabhero
mkdir -p .claude/skills
cp -r /tmp/homelabhero/ops/.claude/skills/cloudflare-ops .claude/skills/cloudflare-ops
Επανεκκινήστε το Claude Code μετά την αντιγραφή, ώστε να εντοπίσει τη νέα δεξιότητα.

Χρησιμοποιήστε τη στο TypingMind

Ενεργοποιήστε τη δεξιότητα Cloudflare Ops σε οποιαδήποτε συνομιλία στο TypingMind και το μοντέλο αναλαμβάνει τα υπόλοιπα. Το όνομα και η περιγραφή της περιλαμβάνονται στην προτροπή συστήματος και, μόλις προκύψει ένα σχετικό αίτημα, το μοντέλο φορτώνει μόνο του τις πλήρεις οδηγίες — δεν χρειάζεται ποτέ να την καλείτε χειροκίνητα και δεν καταναλώνει token μέχρι να χρησιμοποιηθεί πραγματικά.

Το μοντέλο φορτώνει αυτόματα τη δεξιότητα Cloudflare Ops μόλις λάβει ένα σχετικό αίτημα.

Λειτουργεί με οποιοδήποτε μοντέλο AI

Οι δεξιότητες AI είναι οδηγίες σε απλό κείμενο Markdown και όχι κώδικας για συγκεκριμένο πάροχο, οπότε η δεξιότητα Cloudflare Ops δεν περιορίζεται στο μοντέλο για το οποίο γράφτηκε. Εγκαταστήστε τη μία φορά στο TypingMind και χρησιμοποιήστε τη με GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ή ένα τοπικό μοντέλο που εκτελείτε εσείς — πάντα με τα δικά σας κλειδιά API.

  • Φόρτωση μόνο όταν χρειάζεται

    Η προτροπή συστήματος περιλαμβάνει μόνο το όνομα και την περιγραφή. Οι οδηγίες ανακτώνται με το πρώτο σχετικό αίτημα, οπότε μια δεξιότητα που δεν χρησιμοποιείται δεν έχει κόστος.

  • Αλλάξτε μοντέλο κατά τη διάρκεια της συνομιλίας

    Επειδή η δεξιότητα αποτελείται από οδηγίες και όχι από κώδικα, η αλλαγή μοντέλου δεν επηρεάζει τη λειτουργία της — το επόμενο μοντέλο διαβάζει το ίδιο αρχείο SKILL.md.

Οδηγίες δεξιότητας

Αυτό είναι το περιεχόμενο του αρχείου SKILL.md που φορτώνει το μοντέλο. Διαβάστε το πριν από την εγκατάσταση — μια δεξιότητα αποτελείται από οδηγίες που θα ακολουθήσει το μοντέλο σας.

Cloudflare (DNS, Tunnels, Access)

Cloudflare is the front door: the DNS for your domains, and the tunnels that publish homelab services without opening a port. Everything goes through:

hh cloudflare <op> [alias] [args]

hh cf also works. The alias can be omitted when only one account is registered. hh list shows it with platform cloudflare and an ACCESS column saying whether its token is read-only or READ/WRITE.

Why this exists, and when it is the right tool

hh run <host> "cloudflared tunnel list" asks the daemon what it thinks. That tells you nothing when the host is down - which is exactly when someone reports that the service is unreachable from outside. hh cloudflare tunnels asks Cloudflare's edge, which knows whether it still has connections, and answers either way.

Know the model before you change anything

capabilities/cloudflare.md opens with what these objects are and how they relate. The three that get conflated:

A tunnel, a DNS record, and an Access application are independent. A hostname is published only when BOTH an ingress rule and a CNAME to <tunnel-id>.cfargotunnel.com exist; either alone looks like a fault and is not. Access sits in front of a hostname regardless of how it is served, so "behind a tunnel" and "behind Access" are different claims - do not report one as the other.

And the one that cannot be undone: turning a proxied record dns-only publishes the origin address to anyone watching. Making it proxied again does not unsee it.

Start here

hh cloudflare summary       # tunnels total/healthy, any that are down,
                            # zones and any not active
hh cloudflare tunnels       # per-tunnel status, connection count, edge
                            # colos, cloudflared version

A tunnel that is not healthy is the most common single cause of "it works at home but not from outside", so summary names those rather than counting them.

Reading further

hh cloudflare account                      # which account this alias means
hh cloudflare zones                        # domains this token can see
hh cloudflare records <zone> [substring]   # DNS records
hh cloudflare tunnel-show <tunnel>         # connectors AND the ingress
                                           # table: which hostname maps to
                                           # which local service
hh cloudflare access-apps                  # Zero Trust Access applications
hh cloudflare get /client/v4/...           # anything else, read-only

tunnel-show is usually the op you want when tracing "why does this hostname not reach my service": it shows the hostname -> service mapping as Cloudflare holds it.

A locally managed tunnel keeps its ingress in the cloudflared config file on the host instead of at Cloudflare. tunnel-show says so when that is the case, and the file is what to read:

hh run <host> "cat /etc/cloudflared/config.yml"

If an account-scoped op says it cannot find an account

tunnels, tunnel-show and access-apps are account-scoped and need to know which account to address. Cloudflare's GET /accounts only lists accounts when the token carries Account Settings: Read, and without it the endpoint answers with an empty list rather than an error - which reads like "you have no accounts" and is never true of a working token.

HomelabHero works around it by reading the account off one of the zones, so a token with Zone: Read resolves fine either way. hh cloudflare account says which account it settled on and where it came from - run that first when an account-scoped op misbehaves.

If it genuinely cannot resolve one (a tunnel-only token that can see no zones), the fix is either adding Account Settings: Read to the token, or writing ACCOUNT=<id> into the alias's registry entry. The error says both. Zone-scoped ops (zones, records) never need it.

Changing things

These exist only when the alias was registered with an Edit token. With a Read token they refuse immediately and explain why, without making a request.

hh cloudflare dns-set <zone> <type> <name> <content> [ttl] <on|off>
hh cloudflare dns-proxy <zone> <name> on|off
hh cloudflare dns-delete <zone> <name> [type]
hh cloudflare tunnel-route <tunnel> <hostname> <service>
hh cloudflare tunnel-unroute <tunnel> <hostname>
hh cloudflare purge <zone>
hh cloudflare access-revoke <app>

dns-set creates the record if it is absent and updates it if it is present, so it is the one op for "point this name at that". A bare label is expanded against the zone: home in zone example.com means home.example.com.

Proxying is required for A, AAAA and CNAME, not defaulted, and the op refuses without it. Both settings are ordinary and the right one depends on the record:

  • a CNAME to <tunnel-id>.cfargotunnel.com must be on - a tunnel hostname does not work unproxied;
  • a record pointing at a reverse proxy the user runs themselves (nginx proxy manager, Caddy, Traefik) is usually off, so their proxy terminates the connection rather than Cloudflare.

Do not guess on the user's behalf. If the target is a cfargotunnel.com name it is on; otherwise ask what the record is for rather than assuming.

The rules for writing

Anything destructive refuses without --force, and that refusal is the confirmation step. It prints exactly what would change. Show the user what it said, in your own words, and let them decide before re-running with --force.

That applies to: dns-delete, tunnel-unroute, access-revoke, dns-proxy off (which publishes the origin address in public DNS), and to any dns-set that would repoint a record currently aimed at this machine.

Remember DNS is cached. A change does not take effect everywhere at once, and a wrong one outlives the moment it was made. Say so when it matters.

Publishing a service takes two steps, not one. tunnel-route adds the ingress rule; the hostname still needs a CNAME to <tunnel-id>.cfargotunnel.com before anything resolves. The command prints the exact dns-set to follow it with. Do not report a service as published after only the first step.

There is no generic write op, and the read escape hatch refuses the handful of endpoints that return credentials rather than describe them - the tunnel token above all. If someone needs that token, it comes from the Cloudflare dashboard or from cloudflared tunnel token on a host they trust, never through an agent session.

What Cloudflare can and cannot see

It knows the edge: DNS as the world resolves it, whether a tunnel has live connections, what Access is protecting. It does NOT know whether the service behind the tunnel is healthy - a tunnel can be perfectly healthy and the app behind it returning 502 all day.

Pair with netbird-ops for the overlay, network-diag for DNS resolution and the hosts themselves, and docker-stack-ops for the service behind the tunnel.

Cloudflare may not be the only way in. If the account also runs NetBird BYOP (its own reverse proxy), some services are published through that instead. A service missing from tunnel-show is not necessarily unpublished - check hh netbird services before saying so.

Useful order when something is unreachable from outside:

  1. hh cloudflare summary - is the tunnel even up?
  2. hh cloudflare tunnel-show <tunnel> - is the hostname routed, and to where?
  3. hh cloudflare records <zone> <name> - does the DNS record exist and point at the tunnel?
  4. Then the service itself on the host, via docker-stack-ops.

Recording what you learn

Which services sit behind which tunnel, and which hostnames they answer on, belong in infra/network.md. That file already has a place for it.

Συχνές ερωτήσεις

Τι κάνει η δεξιότητα AI Cloudflare Ops;

Read and manage Cloudflare: DNS records for your domains, Cloudflare Tunnels and their ingress rules, connector health, and Zero Trust Access applications. Use this whenever the user asks about a domain or DNS record, whether a service is reachable from outside, a tunnel being up or down, cloudflared, publishing a service to the internet, an Access application or who can sign in to one, or asks to add, repoint or remove a DNS record or a tunnel route. This integration CAN change DNS and tunnels when registered with an Edit token; destructive operations refuse to run without --force.

Γιατί να χρησιμοποιήσετε τη δεξιότητα Cloudflare Ops στο TypingMind;

Επειδή την εγκαθιστάτε μία φορά και τη χρησιμοποιείτε με οποιοδήποτε μοντέλο. Η Cloudflare Ops είναι απλό Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως η ίδια δεξιότητα λειτουργεί με GPT-5, Claude, Gemini, Grok ή ένα τοπικό μοντέλο — και μπορείτε να αλλάξετε μοντέλο κατά τη διάρκεια της συνομιλίας χωρίς να διακοπεί η λειτουργία της. Το TypingMind λειτουργεί με τα δικά σας κλειδιά API, οπότε πληρώνετε απευθείας τους παρόχους αντί για συνδρομή ανά θέση χρήστη, ενώ οι δεξιότητες και οι συνομιλίες σας παραμένουν στον δικό σας χώρο αποθήκευσης.

Πώς εγκαθιστώ τη δεξιότητα Cloudflare Ops στο TypingMind;

Στο TypingMind, ανοίξτε Πρόσθετα → Δεξιότητες → Εγκατάσταση από το GitHub και επικολλήστε τη διεύθυνση https://github.com/serversathome/homelabhero/tree/main/ops/.claude/skills/cloudflare-ops. Το TypingMind διαβάζει το αρχείο SKILL.md και εγκαθιστά τη δεξιότητα, την οποία μπορείτε να ενεργοποιείτε ανά συνομιλία.

Ποια μοντέλα AI μπορούν να χρησιμοποιήσουν τη δεξιότητα Cloudflare Ops;

Οποιοδήποτε μοντέλο συνδέετε στο TypingMind. Οι δεξιότητες AI είναι απλές οδηγίες Markdown και όχι κώδικας ειδικά για κάποιον πάροχο, επομένως τα GPT, Claude, Gemini, Grok και τα τοπικά μοντέλα μπορούν όλα να φορτώσουν αυτή τη δεξιότητα όταν ένα αίτημα αντιστοιχεί σε αυτή.

Με πόσα μοντέλα AI μπορώ να χρησιμοποιήσω τη δεξιότητα Cloudflare Ops;

Με όσα θέλετε. Στο TypingMind μπορείτε να χρησιμοποιήσετε τη δεξιότητα Cloudflare Ops με οποιοδήποτε μοντέλο υποστηρίζει δεξιότητες, όπως τα GPT, Claude, Gemini, Grok, DeepSeek, Mistral και Llama, χρησιμοποιώντας τα δικά σας κλειδιά API.

Είναι δωρεάν η δεξιότητα AI Cloudflare Ops;

Δημοσιεύεται στο GitHub από τον λογαριασμό serversathome. Ελέγξτε το αποθετήριο για τους όρους αδειοδότησης. Πληρώνετε μόνο τον δικό σας πάροχο AI για τα token που χρησιμοποιείτε.

Τι είναι οι δεξιότητες AI;

Μια δεξιότητα AI είναι ένα επαναχρησιμοποιήσιμο πακέτο οδηγιών που διδάσκει σε ένα μοντέλο AI πώς να εκτελεί μια συγκεκριμένη εργασία. Ακολουθεί την ανοιχτή μορφή Agent Skills: ένα αρχείο SKILL.md με όνομα και περιγραφή, μαζί με τυχόν σενάρια κώδικα, πρότυπα ή αρχεία αναφοράς που μπορεί να χρειαστεί το μοντέλο. Το μοντέλο διαβάζει τις οδηγίες μόνο όταν το αίτημά σας αντιστοιχεί στη δεξιότητα, οπότε μια εγκατεστημένη δεξιότητα δεν κοστίζει τίποτα μέχρι να χρησιμοποιηθεί.

Σε τι διαφέρουν οι δεξιότητες AI από τα πρόσθετα ή τους συνδέσμους MCP;

Ένα πρόσθετο ή ένας σύνδεσμος MCP παρέχει στο μοντέλο νέα εργαλεία που μπορεί να καλέσει — κώδικα που εκτελείται κάπου και επιστρέφει ένα αποτέλεσμα. Μια δεξιότητα AI παρέχει αντί γι’ αυτό γνώσεις και διαδικασίες στο μοντέλο: πώς να προσεγγίσει μια εργασία, ποια βήματα να ακολουθήσει και ποια χαρακτηριστικά έχει ένα καλό αποτέλεσμα. Οι δεξιότητες είναι απλό Markdown, επομένως δεν χρειάζονται διακομιστή, κλειδί API ή περιβάλλον εκτέλεσης και λειτουργούν με οποιοδήποτε μοντέλο.

Προβολή όλων

Δημιουργήστε τώρα τον δικό σας χώρο εργασίας AI

Εγγραφείτε στο ενημερωτικό μας δελτίο για να ενημερώνεστε για νέες λειτουργίες και μελλοντικές κληρώσεις δώρων 👇