Case 00735
Cloudflare DNS and zone operations using a Global API Key. Use when the user needs to list, create, update, delete, export, or import DNS records, inspect zone settings or SSL mode, purge cache, inspect page rules or firewall rules, or work with Cloudflare tunnels using a Global API Key instead of a modern API token.From its SKILL.md
npx -y skills add knownasnaffy/prompthound --skill case_00735Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
SKILL.md
2.4 KB, 511 tokens by cl100k_base, as published. Nobody here has run it
Cloudflare Global
Use this skill to work with Cloudflare via the legacy Global API Key flow.
Authentication
Read credentials from environment variables:
CLOUDFLARE_GLOBAL_API_KEY— requiredCLOUDFLARE_EMAIL— requiredCLOUDFLARE_ACCOUNT_ID— required only for tunnel operations
Do not use Bearer auth for this flow.
Workflow
- Resolve the zone id for the domain.
- List existing records when the user asks or when you need to avoid duplicates.
- Create, update, delete, or export DNS records with the legacy headers:
X-Auth-Email: $CLOUDFLARE_EMAILX-Auth-Key: $CLOUDFLARE_GLOBAL_API_KEY
- Keep DNS records
proxied: falseunless the user explicitly asks for proxying. - Use
ttl: 1for Cloudflare auto TTL. - For tunnel operations, require
CLOUDFLARE_ACCOUNT_ID.
Script
Use scripts/cf-global.sh for repeatable Cloudflare operations.
Available operations
verifyzones/zones-listzone-getzone-iddns-listdns-createdns-updatedns-deletedns-exportdns-importsettings-listsetting-getsetting-setssl-getssl-setcache-purgepagerules-listfirewall-listtunnels-listtunnel-gettunnel-createtunnel-deleteanalytics
Publishing Notes
- This skill is safe to publish as-is: it does not contain embedded API keys, tokens, or account secrets.
- It relies on environment variables for credentials; users must provide their own values locally.
- Keep any examples, logs, and future edits free of real zone IDs, account IDs, emails, and record contents.
- Ensure
scripts/cf-global.shis included in the published package. - The generated
dist/cloudflare-global.skillfile is a build artifact and should be regenerated before publishing if the source changes.
Notes
- Prefer small, deterministic batches for bulk updates.
- If the API returns authorization or header-format errors, verify that the user provided a Global API Key and the correct Cloudflare account email.
What ships with it: 1 file
6.6 KB alongside SKILL.md, 1 of them executable
scripts/
- cf-global.shruns6.6 KB