skills/cloudflared-tunnel/SKILL.md
Create temporary public URLs for localhost apps using Cloudflare Quick Tunnels with tmux-based process management. Use when you need to preview a local app externally (mobile device, remote collaborator, QA), including host-allowlist fixes when a dev server blocks external hosts.
npx skillsauth add antoniolg/agent-kit cloudflared-tunnelInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Use this skill when a user wants to expose any localhost web app to the internet quickly and temporarily.
tmux for stability.Host checks.Run these checks first:
command -v tmux >/dev/null 2>&1 && echo "tmux ok" || echo "tmux missing"
command -v cloudflared >/dev/null 2>&1 && echo "cloudflared ok" || echo "cloudflared missing"
If cloudflared is missing on macOS:
brew install cloudflared
If not provided, infer from the repo (scripts/config/docs), then proceed.
Use a stable session name (example: dev-tunnel).
cd <project-path>
tmux kill-session -t dev-tunnel 2>/dev/null || true
tmux new-session -d -s dev-tunnel -n app '<dev-command>'
tmux new-window -t dev-tunnel -n tunnel 'cloudflared tunnel --url http://127.0.0.1:<port>'
sleep 6
tmux capture-pane -pt dev-tunnel:tunnel -S -160
Look for a URL ending in .trycloudflare.com.
Symptom in browser:
Blocked request. This host ("<host>.trycloudflare.com") is not allowed.This is not Cloudflare-specific; it is a dev-server host allowlist rule. Only apply this fix when that error appears.
Fix by allowing trycloudflare hosts in the corresponding framework/server config.
astro.config.mjs)vite: {
server: {
allowedHosts: ['.trycloudflare.com']
}
}
vite.config.js|ts)export default defineConfig({
server: {
allowedHosts: ['.trycloudflare.com']
}
})
module.exports = {
devServer: {
allowedHosts: '.trycloudflare.com'
}
}
After editing config, restart the tmux session:
tmux kill-session -t dev-tunnel
# then run the start commands again
Your quick Tunnel has been created!.Stop everything for this tunnel:
tmux kill-session -t dev-tunnel
pkill -f 'cloudflared tunnel --url http://127.0.0.1:<port>' || true
Optional checks:
lsof -nP -iTCP:<port> -sTCP:LISTEN || true
pgrep -fl 'cloudflared tunnel|astro dev|vite' || true
.trycloudflare.com to avoid per-run edits.references/troubleshooting.mdtools
Use the private LearnWorlds CLI to inspect DevExpert Academy users, find students by email, list their enrolled courses/products, look up products, and perform safe enrollment workflows. Trigger when Antonio asks what courses a student has in LearnWorlds or academia.devexpert.io, whether someone belongs to the current or next AI Expert edition, or to use the LearnWorlds/academy CLI.
tools
Orchestrates Android development tasks including project creation, deployment, SDK management, and environment diagnostics using the `android` command-line tool.
development
Elite website image-to-code skill for Codex. For visually important web tasks, it must first generate the design image(s) itself, deeply analyze them, then implement the website to match them as closely as possible. In Codex, it must prefer large, readable, section-specific images instead of tiny compressed boards, generate fresh standalone images for sections or detail views instead of cropping old ones, avoid lazy under-generation, avoid cards-inside-cards-inside-cards UI, and keep the hero clean, spacious, readable, and visible on a small laptop.
development
Create, repair, validate, preview, and package Codex-compatible animated pet spritesheets from character art, screenshots, generated images, or visual references. Use when a user wants to hatch a Codex pet, create a custom animated pet, or build a built-in pet asset with an 8x9 atlas, transparent unused cells, row-by-row animation prompts, QA contact sheets, preview videos, and pet.json packaging. This skill composes the installed $imagegen system skill for visual generation and uses bundled scripts for deterministic spritesheet assembly.