vm0-ai avatar

Cloudflare Tunnel

This skill helps Claude make authenticated requests to services protected by Cloudflare Access tunnels. It covers the essential pattern of adding CF-Access-Client-Id and CF-Access-Client-Secret headers to curl commands, which is what you need whether you're hitting internal APIs, downloading files, or posting data through Argo tunnels. The examples show how to layer Cloudflare's authentication with your service's own auth schemes like Bearer tokens or Basic Auth. Honestly, it's a reference card for a pretty specific use case, but if you're running services behind Cloudflare Zero Trust, you'll be copying these header patterns constantly.

skills.sh installs
870
GitHub stars
76
last updated
Aug 21, 2026

Install

$ npx -y skills add vm0-ai/vm0-skills --skill cloudflare-tunnel --agent claude-code

Installs into .claude/skills of the current project.

Files

Usage

Basic curl Request

Add two headers to authenticate through Cloudflare Access:

curl -s \
  -H "CF-Access-Client-Id: $CF_ACCESS_CLIENT_ID" \
  -H "CF-Access-Client-Secret: $CF_ACCESS_CLIENT_SECRET" \
  "https://your-protected-service.example.com/api/endpoint"

With Additional Authentication

Many services require both Cloudflare Access AND their own authentication:

curl -s \
  -H "CF-Access-Client-Id: $CF_ACCESS_CLIENT_ID" \
  -H "CF-Access-Client-Secret: $CF_ACCESS_CLIENT_SECRET" \
  -H "Authorization: Bearer $API_TOKEN" \
  "https://your-protected-service.example.com/api/endpoint"

With Basic Auth

curl -s \
  -H "CF-Access-Client-Id: $CF_ACCESS_CLIENT_ID" \
  -H "CF-Access-Client-Secret: $CF_ACCESS_CLIENT_SECRET" \
  -u "username:password" \
  "https://your-protected-service.example.com/api/endpoint"

POST Request with JSON Body

Write to /tmp/request.json:

{
  "key": "value"
}

Then run:

Sponsors

Details

Repository
github.com/vm0-ai/vm0-skills
Categories
Backend & APIs, Cloud & Infrastructure
First seen
May 16, 2026

More from vm0-ai/vm0-skills

All 24
1jup-ag avatarintegrating-jupiterjup-ag/agent-skillsComprehensive guidance for integrating Jupiter APIs (Swap, Lend, Perps, Trigger, Recurring, Tokens, Price, Portfolio, Prediction Markets, Send, Studio, Lock, Ro855skills.sh installs
2riba2534 avatarfeishu-cli-msgriba2534/feishu-cli飞书消息发送。发送消息(text/post/interactive 卡片等 10 种类型:text/post/image/file/audio/media/sticker/interactive/share_chat/share_user;system 分割线 CLI 暂未直接支持,需用 `feishu-cli api855skills.sh installs
3mindrally avatarhono-typescriptmindrally/skillsGuidelines for building edge-first, high-performance APIs with Hono and TypeScript for Cloudflare Workers, Deno, Bun, and Node.js852skills.sh installs
4wot-ui avatarwot-ui-cliwot-ui/open-wot使用、调试或维护 @wot-ui/cli 与 open-wot 仓库。适用于 wot CLI 命令、Agent/MCP 接入、doctor/usage/lint、组件知识查询、客户端 adapter、离线数据提取、构建测试、发布包检查和仓库开发;如果任务是直接编写 wd-* 组件页面或解释组件 API,应改用 wot-852skills.sh installs
5circlefin avatarpay-via-agent-walletcirclefin/skillsUse this skill when the user wants to call a paid API, look something up online, search for data, get prices or odds or stats, or use any paid service with auto848skills.sh installs
6oracle avatarnetsuite-owasp-secure-codingoracle/netsuite-suitecloud-sdkPlatform-agnostic OWASP secure coding practices with JavaScript/Node.js patterns and NetSuite SuiteScript examples. Covers Open Worldwide Application Security P838skills.sh installs