cloudflare-temporary-deploy
Fungsinya
Skill ini membantu AI Anda menerbitkan aplikasi web kecil atau Worker ke alamat langsung tanpa membuat akun Cloudflare terlebih dahulu. Skill ini ditujukan untuk orang yang menginginkan tautan cepat untuk dibagikan atau penerapan uji yang cepat.
Kapan dipakai
- βSaat Anda ingin AI menerapkan halaman atau aplikasi ke tautan langsung tanpa mendaftar akun Cloudflare.
- βSaat Anda ingin prototipe cepat yang bisa diklaim ke akun Anda sendiri nanti.
- βSaat Anda menginginkan loop penerapan dan pemeriksaan otomatis dalam sesi latar belakang.
Link skill
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/web-development/cloudflare-temporary-deploy/SKILL.mdSalin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.
Cara pakai
Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.
Pesan siap tempel
Untuk Claude Code, Codex, atau Cursor: jalankan di folder proyek, lalu skill langsung terpasang.
Unduh SKILL.md lalu taruh di folder skill agen Anda.
Contoh permintaan ke AI
βTerapkan halaman kecil ini ke Cloudflare dan berikan tautan langsung yang bisa saya buka sekarang.β
5 skill baru setiap minggu. 1 menit baca.
Cara kerjanya
Skill menjalankan alat wrangler dengan flag sementara. Cloudflare membuat akun sementara, menerapkan kode, dan mencetak tautan klaim yang berlaku selama 60 menit.
Konten teknis (SKILL.md asli)
Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.
Cloudflare Temporary Deploy Skill
Deploy a Cloudflare Worker to a live workers.dev URL with zero account setup, using wrangler deploy --temporary. Cloudflare provisions a throwaway account, deploys, and prints a claim URL valid for 60 minutes; unclaimed accounts auto-delete. This gives an agent a tight write β deploy β verify loop without any OAuth, signup, or token copy-paste.
This skill does NOT cover production deploys (use wrangler login + a permanent account for those), nor non-Worker Cloudflare products beyond the temporary-account limits below.
When to Use
Load this skill when the user wants to:
- Ship agent-written code to a live URL without first creating a Cloudflare account β "deploy this and give me a link"
- Iterate in a background/autonomous session where a browser OAuth step would be a hard stop
- Prototype or evaluate Workers quickly with a throwaway, claimable target
- Build a self-verifying deploy loop β deploy,
curlthe live URL, confirm output matches the code, redeploy
When NOT to Use
- Production or CI/CD β use a permanent account (
wrangler loginorCLOUDFLARE_API_TOKEN).--temporaryerrors out if any credential is present. - Wrangler is already authenticated β
--temporaryreturns an error by design. Runwrangler logoutfirst only if the user explicitly wants a throwaway deploy. - Long-lived hosting β temporary deployments are deleted after 60 minutes unless claimed.
Prerequisites
- Wrangler 4.102.0 or later. This is the version that introduced
--temporary. Earlier versions do not have it. Verify withnpx wrangler@latest --version. - Node 18+ / npm (or
npx,yarn,pnpm). No global install needed βnpx wrangler@latestworks. - No Cloudflare credentials present.
--temporaryonly works when Wrangler is unauthenticated: no OAuth login, noCLOUDFLARE_API_TOKEN/CLOUDFLARE_API_KEYenv var, no~/.wrangler/~/.config/.wranglercached OAuth. Use theterminaltool's environment as-is; do not set those vars. - Network egress to
cloudflare.comandworkers.dev. - Using
--temporaryaccepts Cloudflare's Terms of Service and Privacy Policy.
How to Run
Use the terminal tool for every step. Always pin the version (wrangler@latest or wrangler@4.102.0 or newer) so you don't accidentally run an old global wrangler that lacks the flag.
Scaffold a minimal Worker (skip if the project already exists). A Worker needs a
wrangler.toml(orwrangler.jsonc) and an entry script. Minimal TypeScript example β write these withwrite_file:wrangler.jsonc:{ "name": "hello-agent", "main": "src/index.ts", "compatibility_date": "2025-01-01" }src/index.ts:export default { async fetch(): Promise<Response> { return new Response("hello cloudflare"); }, };Deploy with
--temporaryfrom the project directory:npx wrangler@latest deploy --temporaryThe proof-of-work check adds a short automatic delay. On success Wrangler prints an
Account: <name> (created)(or(reused)) line, aClaim URL, and the livehttps://<worker>.<account>.workers.devURL.Parse the URLs from that output. Run the helper to extract them reliably instead of eyeballing:
npx wrangler@latest deploy --temporary 2>&1 | python scripts/parse_deploy_output.py(Resolve
scripts/parse_deploy_output.pyto this skill's absolute path.) It prints JSON:{"live_url", "claim_url", "account", "account_state", "expires_minutes", "deployed"}.Verify the deploy is actually live β do not trust the deploy log alone.
curlthe live URL and confirm the body matches what the code returns:curl -sS <live_url>Iterate. Edit the code, redeploy with the same
npx wrangler@latest deploy --temporary. Within the 60-minute window Wrangler reuses the cached temporary account (Account: <name> (reused)), so the URL stays stable.curlagain to confirm the change.Hand the claim URL to the user. Tell them: open it within 60 minutes to keep the deployment and any resources; if they don't claim it, everything auto-deletes. Treat the claim URL as a secret β it grants ownership of the account.
Quick Reference
| Step | Command |
|---|---|
| Check version (need 4.102.0+) | npx wrangler@latest --version |
| Deploy (no account) | `npx wrangler@latest deploy --tempora |
Pertanyaan umum
Berapa lama tautannya berlaku?
Skill menyatakan tautan klaim berlaku selama 60 menit, dan akun yang tidak diklaim akan dihapus otomatis.
Apakah bisa dipakai untuk situs produksi?
Tidak. Skill menyatakan penerapan produksi harus memakai akun permanen, dan opsi sementara gagal jika kredensial ada.
Bagaimana jika saya sudah masuk ke Wrangler?
Skill menyatakan penerapan sementara akan mengembalikan error dalam kasus itu, dan Anda perlu keluar terlebih dahulu jika ingin penerapan sekali pakai.
Detail
Deskripsi asli dari pembuat
Deploy a Worker live, no account, via wrangler --temporary.
Popularitas
- Bintang GitHub
- 260k
- Peringkat
- #577
- Lisensi
- MIT
- Diperbarui
- 2/11/2026
Komentar
- β¦
Skill lain dari repositori ini
agent-merge-conflict-arbiter
260kMenyelesaikan konflik merge git antara cabang dua agent sebagai pihak ketiga yang netral, menghasilkan satu hasil gabungan untuk repo.
antigravity-cli
260kMemandu Anda memasang, memperbarui, dan memecahkan masalah alat baris perintah Antigravity, termasuk plugin, login, dan sandbox-nya.
blackbox
260kMemungkinkan agent Anda menyerahkan tugas pemrograman ke alat baris perintah Blackbox AI, yang menjalankan beberapa model AI dan memilih hasil terbaik.
dynamic-workflow
260kMengajari agent Anda menjalankan pekerjaan sejenis dalam jumlah besar sebagai skrip tersimpan, sehingga hanya hasil terverifikasi yang kembali ke percakapan utama.
Skill serupa
openclaw-update
394kMembantu agent Anda memperbarui OpenClaw Gateway yang sudah ada, dengan memilih metode pembaruan yang sesuai cara pemasangannya dan menjaga sesi Anda tetap berjalan.
diagnose-gateway
394kMembantu agent Anda mencari tahu mengapa OpenClaw Gateway gagal dengan memeriksa pengaturan, channel, dan port tanpa mengubah apa pun.
crabbox-apps
394kMembantu agent Anda membuka dan menjalankan aplikasi di mesin cloud sementara, lalu menampilkan tampilannya di panel samping chat Anda.