alanalvestech/hitank/cloudflare
Claude Code and agent skill by alanalvestech/hitank
- community
Checking that the SKILL.md file is still in the repository.
Manage Cloudflare zones, DNS records, Workers, Pages and cache via API
Install
npx vskill@latest install alanalvestech/hitank/cloudflareSKILL.md
/cloudflare
Connect to the Cloudflare API to manage zones (domains), DNS records, Workers, Pages projects and cache purging. Pure Ruby, zero gems — stdlib only.
Structure
Setup (check before using)
If the output is OK, proceed to the Flow section.
If the output is SETUP_NEEDED, guide the user step by step. Present ONE step at a time, wait for the user to confirm before moving to the next.
Step 1 — Ask the user to create an API token:
You need a Cloudflare API token. Go to the Cloudflare dashboard and create one:https://dash.cloudflare.com/profile/api-tokensClick Create Token. You can use the Edit zone DNS template for DNS management, or create a custom token with the permissions you need (Zone:Read, DNS:Edit, Workers:Read, Pages:Read, Cache Purge).Copy the token and paste it here.
Step 2 — When the user pastes the token, save it:
If the script outputs an error, the token is invalid. Ask the user to double-check and try again.
If setup is not complete, DO NOT proceed to the Flow. Complete all steps first.
Flow
The argument $ARGUMENTS may contain a zone name or account ID.
Step 1: List zones
Present the zones to the user. If $ARGUMENTS matches a zone name, use that zone. Otherwise ask which zone to work with.
Step 2: Show zone details
Present the zone info and ask what the user wants to do.
Step 3: Actions
List DNS records:
Create a DNS record (requires user confirmation):
Ask the user for the record type, name, content and whether it should be proxied. Then confirm: "Do you want to create a TYPE record for NAME pointing to CONTENT?" Only execute after a "yes".
Delete a DNS record (requires user confirmation):
Show the record details first, then ask: "Do you want to delete this DNS record?" Only execute after a "yes".
Purge all cache (requires user confirmation):
Ask: "Do you want to purge the entire cache for this zone? This will remove all cached files." Only execute after a "yes".
List Workers (requires account ID):
The account ID can be found in the zone details output. If not available, ask the user.
List Pages projects (requires account ID):
Notes
- Pure Ruby, zero gems — stdlib only (json, net/http, uri, fileutils)
- Auth via Bearer token
- Token file:
~/.config/cloudflare/token(outside the repo, never commit) - Creating DNS records, deleting DNS records, and purging cache require explicit user confirmation
- Base URL:
https://api.cloudflare.com/client/v4
Security
- Security scanPassed, 90 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/cloudflare/SKILL.md
Popularity
- Repository stars
- 33
- Repository forks
- 1
- 7-day trend score
- 18
Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 18 Mar 2026, 7 months ago.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/alanalvestech/hitank/cloudflare)