cloudflare-temporary-deploy
Что он делает
Скилл помогает вашему ИИ опубликовать небольшое веб-приложение или Worker по живому адресу без предварительного создания аккаунта Cloudflare. Он нужен тем, кому нужна быстрая ссылка для показа или тестовое развёртывание.
Когда использовать
- ✓Когда вы хотите, чтобы ИИ развернул страницу или приложение по живой ссылке без регистрации в Cloudflare.
- ✓Когда нужен быстрый прототип онлайн, который можно позже привязать к вашему аккаунту.
- ✓Когда вам нужен автоматический цикл развёртывания и проверки в фоновой сессии.
Ссылка на скилл
https://github.com/NousResearch/hermes-agent/blob/main/optional-skills/web-development/cloudflare-temporary-deploy/SKILL.mdСкопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.
Как использовать
Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.
Готовое сообщение для вставки
Для Claude Code, Codex или Cursor: запустите в папке проекта, и скилл установится.
Скачайте SKILL.md и положите его в папку скиллов вашего агента.
Пример запроса к вашему ИИ
“Разверни эту небольшую страницу в Cloudflare и дай живую ссылку, которую я могу сразу открыть.”
5 новых скиллов в неделю. 1 минута чтения.
Как это работает
Скилл запускает инструмент wrangler с флагом временного развёртывания. Cloudflare создаёт временный аккаунт, развёртывает код и выводит ссылку для привязки, которая действует 60 минут.
Технический текст (оригинальный SKILL.md)
Оригинальный текст автора на английском, прямо с 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 |
Частые вопросы
Как долго действует ссылка?
Скилл говорит, что ссылка для привязки действует 60 минут, а непривязанные аккаунты удаляются автоматически.
Можно ли использовать это для рабочего сайта?
Нет. Скилл говорит, что рабочие развёртывания должны идти через постоянный аккаунт, а временный вариант не работает, если заданы учётные данные.
Что если я уже вошёл в Wrangler?
Скилл говорит, что временное развёртывание в этом случае выдаёт ошибку, и если нужен одноразовый вариант, сначала нужно выйти из аккаунта.
Подробности
Оригинальное описание автора
Deploy a Worker live, no account, via wrangler --temporary.
Популярность
- Звёзды на GitHub
- 260k
- Место в рейтинге
- #577
- Лицензия
- MIT
- Обновлён
- 02.11.2026
Комментарии
- …
Другие скиллы из этого репозитория
agent-merge-conflict-arbiter
260kРазрешает конфликт слияния git между ветками двух агентов как нейтральная третья сторона и создает один объединенный результат для репозитория.
antigravity-cli
260kПомогает установить, обновить и устранить неполадки в командной строке Antigravity, включая плагины, вход в аккаунт и песочницу.
blackbox
260kПозволяет агенту передать задачу по коду инструменту командной строки Blackbox AI, который запускает несколько ИИ-моделей и выбирает лучший результат.
dynamic-workflow
260kУчит агента выполнять большие пакеты однотипной работы как сохраненный скрипт, чтобы в основной разговор возвращались только проверенные результаты.
Похожие скиллы
openclaw-update
394kПомогает агенту обновить уже работающий OpenClaw Gateway, выбрав способ обновления по тому, как он был установлен, и сохранив вашу сессию.
diagnose-gateway
394kПомогает агенту выяснить, почему ваш OpenClaw Gateway не работает, проверяя настройки, каналы и порты, но ничего не меняя.
crabbox-apps
394kПомогает агенту открыть и запустить приложение на временной облачной машине, а затем показать его вид на боковой панели чата.