← 返回 Skills 市场
Cloudflare Global
作者
HongWei Jiang
· GitHub ↗
· v1.0.0
· MIT-0
80
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install cloudflare-global
功能描述
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 zo...
使用说明 (SKILL.md)
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.
安全使用建议
This skill appears to be what it claims: a shell-based Cloudflare client using the legacy Global API Key. Before installing or using it, review the included scripts locally and avoid pasting your Global API Key into untrusted environments. The script requires jq, curl, and openssl even though registry metadata lists no required binaries — install those locally or run the script in a sandbox. Prefer creating and using a least-privilege Cloudflare API token (scoped to required actions/zones) rather than a Global API Key if possible. If you must use a Global API Key, store it in a secure environment variable, and consider testing actions on a non-production zone or account first.
能力评估
Purpose & Capability
Name/description align with behavior: the SKILL.md and script implement Cloudflare DNS, zone, cache, firewall, pagerules, tunnel, and analytics operations using the legacy Global API Key and email. The requested environment variables in SKILL.md (CLOUDFLARE_GLOBAL_API_KEY, CLOUDFLARE_EMAIL, optional CLOUDFLARE_ACCOUNT_ID) match the stated purpose.
Instruction Scope
Instructions and the script stay within Cloudflare API calls (CF_API=https://api.cloudflare.com). The script reads only the declared env vars and performs only listed operations. Note: the SKILL.md and registry metadata do not list needed local binaries, but the script requires jq (enforced at runtime), curl, and openssl for some operations.
Install Mechanism
No install spec and no external downloads; this is instruction-only plus a bundled shell script. Nothing is fetched from arbitrary URLs or written to unexpected system locations.
Credentials
The skill requires a Cloudflare Global API Key and account email, which is proportionate to managing zones via the legacy flow. However, a Global API Key is highly privileged compared with modern scoped API tokens; the skill requires users to supply that sensitive secret — consider using a scoped API token instead if possible.
Persistence & Privilege
always is false and the skill does not request persistent system-wide privileges or modify other skills. It does not attempt to enable itself or alter unrelated agent config.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install cloudflare-global - 安装完成后,直接呼叫该 Skill 的名称或使用
/cloudflare-global触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Cloudflare Global API Key-based DNS and tunnel operations.
元数据
常见问题
Cloudflare Global 是什么?
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 zo... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 80 次。
如何安装 Cloudflare Global?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install cloudflare-global」即可一键安装,无需额外配置。
Cloudflare Global 是免费的吗?
是的,Cloudflare Global 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
Cloudflare Global 支持哪些平台?
Cloudflare Global 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 Cloudflare Global?
由 HongWei Jiang(@ugvfpdcuwfnh)开发并维护,当前版本 v1.0.0。
推荐 Skills