automation

cfnb

这是一个全自动的 Cloudflare CDN 节点优选工具。它通过 TCP 延迟筛选 + IP 可用性二次检测 + HTTP 延迟及抖动检测 + 真实带宽测速 多重机制,从多个公开数据源中聚合节点,自动识别并解析任意格式(标准代码、中文名、emoji国旗、JSON等),筛选出当前网络环境下速度最快、延迟最低、抖动最小的 Cloudflare IP,并支持自动更新至 Cloudflare DNS 以及同步至 GitHub 仓库,同时支持微信实时通知。
869 stars+16★ this week329 forksPythonUpdated 10/20/2026100% free · open source
What it does

自动挑选并更新最快的 Cloudflare CDN 节点到你的 DNS,让网站访问速度在当前网络环境下最优。

When to use it
  • •你的站点已经使用 Cloudflare,但在某些地区访问慢,想自动找出最优 IP 替换。
  • •需要在 CI/CD 流程里保持 DNS 记录始终指向最低延迟的节点。
  • •想把节点选择结果实时推送到微信,以便团队第一时间获知更新。
Ready-to-paste prompt
python main.py --mode auto --notify wechat --sync-github
Heads up: 首次运行前必须在 Cloudflare 为目标域名创建一个可编辑的 A 记录,并在 config.yml 中提供拥有 "Zone DNS Edit" 权限的 API Token;没有此权限脚本会因授权错误而退出。
Saves to your device
Use with Claude
New

Skip the builder — one click puts this in Claude, Cursor, Antigravity and more.

🛠️ Technical setup

Expect 20–40 minutes in a terminal — or let your AI agent drive it.

Try it instantly — no install
Claude Code
mkdir -p ~/.claude/skills/cfnb && curl -fsSL https://workflowstacks.com/api/skills/cfnb/claude-skill -o ~/.claude/skills/cfnb/SKILL.md
Open in another AI app

Opens the app with this repo with the prompt ready to go — no copy-paste needed.

Connect the whole catalog (MCP)
claude mcp add --transport http workflowstacks https://workflowstacks.com/api/mcp

Adds a WorkflowStacks connector to Claude Code: search and load any skill here by chatting.

How cfnb works
Codeflow
Free to inspect

Cfnb is a medium Python project (~3.3k lines across 7 code files). Expect some technical setup — comfortable with a terminal, or ask a developer. Last commit this month, MIT license, no tests found.

Size
Medium codebase
~3.3k lines · 7 code files · 28 min skim
Setup
Some technical setup
Comfortable with a terminal? 20–40 min. Otherwise ask a dev.
Runs on
Python
No API keys detected
Python 68%PowerShell 19%Shell 13%
Where to start reading
  1. 1
    README.md
    Start here — what it does and how to install it
  2. 2
    main.py
    Where the program starts running
READMENo tests foundThin docsNo CIMIT licenseUpdated this month
Quick Actions
Details
Creator
xinyitang3
Language
Python
Category
automation
Published
4/19/2026

Are you the creator of this tool? and earn 85% of every sale.

Show it off in your README:

Featured on WorkflowStacks
[![Featured on WorkflowStacks](https://workflowstacks.com/api/badge/cfnb.svg)](https://workflowstacks.com/skills/cfnb?utm_source=github&utm_medium=badge)
🔥 Hot this week, in your inbox
Skills like this, every Monday.

The five fastest-growing open-source AI skills, ranked by GitHub star growth. One email a week, unsubscribe anytime.