Agent skill

Cloudflare DNS

by OpenMinis in OpenMinis/MinisSkills

Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information.

MITAuto-check passedDevOps & Cloud

Install Cloudflare DNS

skills CLI
$ npx skills add OpenMinis/MinisSkills --skill cloudflare-dns -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install OpenMinis/MinisSkills cloudflare-dns --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/cloudflare-dns .claude/skills/cloudflare-dns && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
cloudflare-dns
GitHub stars
444
Token cost
~1.4k tokens
SKILL.md length
269 words
Files
1
Skills in repo
49
Repo updated
First seen
Licence
MIT

At a glance

Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information.

  • Works in 4 steps: Verify authentication: Check whether… → Confirm the domain: If the user has not… → Perform the operation: Run… → …
  • DevOps & Cloud work in your project
  • SKILL.md covers Environment Setup, Common Operations, Workflow and Notes
  • Calls python3 and wget; reaches github.com; needs CF_API_TOKEN and CF_API_KEY

What it does

Cloudflare DNS is an agent skill from OpenMinis/MinisSkills. Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information. This skill must be triggered whenever a user mentions "Cloudflare DNS," "CF DNS," "add DNS record," "delete DNS record," "update DNS," "view DNS records," "cloudflare-dns," "flarectl," or any scenario involving Cloudflare DNS management.

Its SKILL.md is about 1.4k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud. It works with Cloudflare. The repository describes itself as: Skills collection for Minis. The licence is MIT.

When your agent uses it

  • DevOps & Cloud work in your project

Example prompts

  • “Cloudflare DNS,”
  • “CF DNS,”
  • “add DNS record,”
  • “/cloudflare-dns”

Requirements

  • Python 3
  • A credential in CF_API_TOKEN
  • A credential in CF_API_KEY

Workflow steps

4 steps, taken from the first numbered list in SKILL.md.

  1. Verify authentication: Check whether CF_API_TOKEN or CF_API_KEY+CF_API_EMAIL is set
  2. Confirm the domain: If the user has not specified a zone, first use flarectl zone list to list available domains for the user to choose from
  3. Perform the operation: Run list/create/update/delete as needed
  4. Display results: After the operation, use flarectl dns list --zone to show the latest record status

What it can do on your machine

Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • python3
    • wget

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • CF_API_TOKEN
    • CF_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Cloudflare DNS loads about 1.4k tokens when it runs. Until then it costs about 106 tokens; SKILL.md has 269 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~106
When it runs · the whole SKILL.md, loaded when a task matches
~1.4k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 269 words, ~1,366 tokens.

Download SKILL.mdSave it as .claude/skills/cloudflare-dns/SKILL.md (or your agent's skills folder).
name
cloudflare-dns
description
Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information. This skill must be triggered whenever a user mentions "Cloudflare DNS," "CF DNS," "add DNS record," "delete DNS record," "update DNS," "view DNS records," "cloudflare-dns," "flarectl," or any scenario involving Cloudflare DNS management.

Cloudflare DNS Management

Environment Setup

Install flarectl

In the current environment (Alpine Linux arm64), the preinstalled version can be used directly. If it is not available, install it from the release:

bash
if ! which flarectl > /dev/null 2>&1; then
  wget -q https://github.com/wsvn53/flarectl/releases/download/flarectl-v0.1.0-alpine-arm64/flarectl-linux-arm64 \
    -O /usr/local/bin/flarectl && chmod +x /usr/local/bin/flarectl
fi
Authentication Configuration

flarectl supports two authentication methods. Prefer the API Token method:

Method 1: API Token (recommended)

bash
export CF_API_TOKEN=<your_token>

Method 2: Global API Key

bash
export CF_API_KEY=<your_key>
export CF_API_EMAIL=<your_email>

Optional:

bash
export CF_ACCOUNT_ID=<account_id>   # Specify when using multiple accounts

Check whether the environment variables are set:

bash
[ -n "$CF_API_TOKEN" ] && echo "Token: set" || echo "Token: NOT SET"
[ -n "$CF_API_KEY" ] && echo "API Key: set" || echo "API Key: NOT SET"

If they are not set, tell the user which variable names are required and provide setup links:

  • API Token: Set CF_API_TOKEN
  • API Key: Set CF_API_KEY and Set CF_API_EMAIL

Common Operations

Query the Zone List
bash
flarectl zone list

Example output:

ID                               NAME          PLAN   STATUS
abc123...                        example.com   Free   active
List DNS Records
bash
# List all records for a domain
flarectl dns list --zone example.com

# Filter by type
flarectl dns list --zone example.com --type A

# Filter by name
flarectl dns list --zone example.com --name sub.example.com

# Output in JSON format (useful for parsing IDs)
flarectl --json dns list --zone example.com
Add DNS Records
bash
# A record
flarectl dns create --zone example.com --type A --name sub.example.com --content 1.2.3.4 --ttl 1

# CNAME record (enable orange-cloud proxy)
flarectl dns create --zone example.com --type CNAME --name www.example.com --content example.com --proxy

# MX record
flarectl dns create --zone example.com --type MX --name example.com --content mail.example.com --priority 10

# TXT record
flarectl dns create --zone example.com --type TXT --name _dmarc.example.com --content "v=DMARC1; p=none"

# AAAA record (IPv6)
flarectl dns create --zone example.com --type AAAA --name ipv6.example.com --content "2001:db8::1"

Parameter descriptions:

  • --ttl 1: Automatic TTL (recommended); other values are in seconds (for example, --ttl 300)
  • --proxy: Enable the Cloudflare orange-cloud proxy (supported only for A/AAAA/CNAME records)
Update DNS Records

Updating requires the record id. Use dns list to get it first:

bash
# Get the record ID
flarectl --json dns list --zone example.com --name sub.example.com | python3 -c "
import sys,json
for r in json.load(sys.stdin):
    print(r['id'], r['type'], r['name'], r['content'])
"

# Update the content
flarectl dns update --zone example.com --id <record_id> --content 5.6.7.8

# Update and enable proxy
flarectl dns update --zone example.com --id <record_id> --content 5.6.7.8 --proxy
Create or Update (upsert)
bash
# Update if it exists; create it if it does not exist
flarectl dns create-or-update --zone example.com --type A --name sub.example.com --content 1.2.3.4
Delete DNS Records
bash
# Look up the ID first
flarectl --json dns list --zone example.com --name sub.example.com | python3 -c "
import sys,json
for r in json.load(sys.stdin):
    print(r['id'], r['name'], r['type'])
"

# Delete
flarectl dns delete --zone example.com --id <record_id>
Batch Delete Records with the Same Name
bash
flarectl --json dns list --zone example.com --name sub.example.com | python3 -c "
import sys,json,subprocess
for r in json.load(sys.stdin):
    subprocess.run(['flarectl','dns','delete','--zone','example.com','--id',r['id']])
    print('Deleted:', r['id'], r['type'], r['content'])
"

Workflow

  1. Verify authentication: Check whether CF_API_TOKEN or CF_API_KEY+CF_API_EMAIL is set
  2. Confirm the domain: If the user has not specified a zone, first use flarectl zone list to list available domains for the user to choose from
  3. Perform the operation: Run list/create/update/delete as needed
  4. Display results: After the operation, use flarectl dns list --zone <zone> to show the latest record status

Notes

  • Deletions are irreversible; confirm with the user before proceeding
  • --proxy supports only A, AAAA, and CNAME record types
  • MX records must specify --priority
  • TXT record content that contains spaces must be enclosed in quotes
  • The global flag flarectl --json must be placed before the subcommand.

© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in cloudflare-dns of OpenMinis/MinisSkills.

Open the folder on GitHubat commit ae8c5db

Compare with similar skills

Cloudflare DNS next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Cloudflare DNS compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Cloudflare DNS this skillOpenMinis/MinisSkills444—~1.4kAutomated safety check: PassMIT
Cloudflarehodgef/apiker1277 repos~2.2kAutomated safety check: PassMIT
Nextjs On Cloudflarecloudflare/skills3k2 repos~678Automated safety check: PassApache-2.0
Cloudflaredmmulroy/cloudflare-skill727—~1.6kAutomated safety check: PassMIT
Devopsnicepkg/auto-company1922 repos~814Automated safety check: PassMIT
Prepare Cloudflare Production DeploymentLubomirGeorgiev/cloudflare-workers-nextjs-saas-template786—~5.9kAutomated safety check: NotesMIT

Similar skills

  • Cloudflare

    hodgef/apiker

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), feature flags (Flagship), networking (Tunnel, Spectrum), security (WAF…

    127 GitHub starsUsed in 7 repos~2.2k tokens
    DevOps & CloudAuto-check passed
  • Nextjs On Cloudflare

    cloudflare/skills

    Official

    Build, migrate, and deploy Next.js apps on Cloudflare Workers with vinext.

    3k GitHub starsUsed in 2 repos~678 tokens
    DevOps & CloudAuto-check passed
  • Cloudflare

    dmmulroy/cloudflare-skill

    Comprehensive Cloudflare platform skill covering Workers, Pages, storage (KV, D1, R2), AI (Workers AI, Vectorize, Agents SDK), networking (Tunnel, Spectrum), security (WAF, DDoS), and…

    727 GitHub stars~1.6k tokensUpdated 8 mo ago
    DevOps & CloudAuto-check passed
  • Devops

    nicepkg/auto-company

    Deploy to Cloudflare (Workers, R2, D1), Docker, GCP (Cloud Run, GKE), Kubernetes (kubectl, Helm).

    192 GitHub starsUsed in 2 repos~814 tokens
    DevOps & CloudAuto-check passed
  • Prepare Cloudflare Production Deployment

    LubomirGeorgiev/cloudflare-workers-nextjs-saas-template

    Source-of-truth runbook for preparing this Vinext Cloudflare Workers SaaS template for production deployment.

    786 GitHub stars~5.9k tokensUpdated yesterday
    DevOps & CloudAuto-check: notes
  • Workers Best Practices

    cloudflare/skills

    Official

    Cloudflare Workers best practices for production applications.

    3k GitHub starsUsed in 2 repos~1.4k tokens
    DevOps & CloudAuto-check passed

More from OpenMinis/MinisSkills

All 49 skills in this repo
  • Android UI Automation

    OpenMinis/MinisSkills

    Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.

    444 GitHub stars~1.6k tokensUpdated today
    Auto-check passed
  • Codex On Ish

    OpenMinis/MinisSkills

    Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.

    444 GitHub stars~1k tokensUpdated today
    Auto-check passed
  • Evidence Chain Builder

    OpenMinis/MinisSkills

    Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.

    444 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Hyperframes CLI

    OpenMinis/MinisSkills

    HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.

    444 GitHub stars~3.5k tokensUpdated today
    Auto-check passed
  • Whenpeak

    OpenMinis/MinisSkills

    Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.

    444 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Openstreetmap Marker

    OpenMinis/MinisSkills

    Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.

    444 GitHub stars~1.9k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Cloudflare DNS

What does Cloudflare DNS do?

Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information. Cloudflare DNS is an agent skill from OpenMinis/MinisSkills. Use the flarectl command-line tool to manage Cloudflare DNS records, including listing, adding, updating, and deleting DNS records, as well as querying zone information.

When should I use Cloudflare DNS?

Cloudflare DNS fits situations like: devOps & Cloud work in your project.

How do I install Cloudflare DNS in Claude Code?

Run `npx skills add OpenMinis/MinisSkills --skill cloudflare-dns -a claude-code`. Or copy the skill folder (cloudflare-dns in OpenMinis/MinisSkills) into .claude/skills/cloudflare-dns in your project. Claude Code loads it when a task matches its description.

How do I install Cloudflare DNS in Codex?

Run `npx skills add OpenMinis/MinisSkills --skill cloudflare-dns -a codex`. Or copy the skill folder (cloudflare-dns in OpenMinis/MinisSkills) into .agents/skills/cloudflare-dns in your project. Codex loads it when a task matches its description.

Can I use Cloudflare DNS in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill cloudflare-dns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/cloudflare-dns, .gemini/skills/cloudflare-dns, .github/skills/cloudflare-dns and .opencode/skills/cloudflare-dns in your project.

What does Cloudflare DNS need to run?

Going by SKILL.md and its folder, Cloudflare DNS needs the command-line tools its instructions call (python3 and wget) and credentials named CF_API_TOKEN and CF_API_KEY. Our summary lists: Python 3; A credential in CF_API_TOKEN; A credential in CF_API_KEY.

Does Cloudflare DNS access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Cloudflare DNS safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Cloudflare DNS use?

Cloudflare DNS is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Cloudflare DNS use?

About 1.4k tokens (SKILL.md is roughly 5.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Cloudflare DNS?

Skills that share tags, products or a category with Cloudflare DNS: Cloudflare (hodgef/apiker, 127 stars), Nextjs On Cloudflare (cloudflare/skills, 3k stars), Cloudflare (dmmulroy/cloudflare-skill, 727 stars) and Devops (nicepkg/auto-company, 192 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Cloudflare DNS?

OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 444 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.

Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.