[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7BG45RESNMD0JGE1D48VC6Z":3,"skill-same:01M7BG45RESNMD0JGE1D48VC6Z":68},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":41,"commitSha":42,"skillDirectory":43,"forksCount":44,"repositoryHtmlUrl":45,"repositoryHomepageUrl":6,"ownerHtmlUrl":46,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":47,"install":48,"resources":61},"01M7BG45RESNMD0JGE1D48VC6Z","cloudflare-temporary-deploy",null,"Deploy a Worker live, no account, via wrangler --temporary.","LIJALEN23\u002FBeryl","LIJALEN23","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F141412346?v=4","01M7AQK5G18E0M3NKP1S35F4KE","oneplusnine","01M7AQK5GNQE3MMPFJ9TCCJQCN",1,"MIT","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Foptional-skills\u002Fweb-development\u002Fcloudflare-temporary-deploy\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cloudflare-temporary-deploy\ndescription: Deploy a Worker live, no account, via wrangler --temporary.\nversion: 1.0.0\nauthor: Hermes Agent\nlicense: MIT\nplatforms: [linux, macos, windows]\nmetadata:\n  hermes:\n    tags: [cloudflare, workers, wrangler, deploy, temporary, agent, serverless, web-development]\n    category: web-development\n---\n\n# Cloudflare Temporary Deploy Skill\n\nDeploy 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.\n\nThis 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.\n\n## When to Use\n\nLoad this skill when the user wants to:\n\n- **Ship agent-written code to a live URL** without first creating a Cloudflare account — \"deploy this and give me a link\"\n- **Iterate in a background\u002Fautonomous session** where a browser OAuth step would be a hard stop\n- **Prototype or evaluate Workers** quickly with a throwaway, claimable target\n- **Build a self-verifying deploy loop** — deploy, `curl` the live URL, confirm output matches the code, redeploy\n\n## When NOT to Use\n\n- **Production or CI\u002FCD** → use a permanent account (`wrangler login` or `CLOUDFLARE_API_TOKEN`). `--temporary` errors out if any credential is present.\n- **Wrangler is already authenticated** → `--temporary` returns an error by design. Run `wrangler logout` first only if the user explicitly wants a throwaway deploy.\n- **Long-lived hosting** → temporary deployments are deleted after 60 minutes unless claimed.\n\n## Prerequisites\n\n- **Wrangler 4.102.0 or later.** This is the version that introduced `--temporary`. Earlier versions do not have it. Verify with `npx wrangler@latest --version`.\n- **Node 18+ \u002F npm** (or `npx`, `yarn`, `pnpm`). No global install needed — `npx wrangler@latest` works.\n- **No Cloudflare credentials present.** `--temporary` only works when Wrangler is unauthenticated: no OAuth login, no `CLOUDFLARE_API_TOKEN` \u002F `CLOUDFLARE_API_KEY` env var, no `~\u002F.wrangler` \u002F `~\u002F.config\u002F.wrangler` cached OAuth. Use the `terminal` tool's environment as-is; do not set those vars.\n- Network egress to `cloudflare.com` and `workers.dev`.\n- Using `--temporary` accepts Cloudflare's Terms of Service and Privacy Policy.\n\n## How to Run\n\nUse 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.\n\n1. **Scaffold a minimal Worker** (skip if the project already exists). A Worker needs a `wrangler.toml` (or `wrangler.jsonc`) and an entry script. Minimal TypeScript example — write these with `write_file`:\n\n   `wrangler.jsonc`:\n   ```jsonc\n   {\n     \"name\": \"hello-agent\",\n     \"main\": \"src\u002Findex.ts\",\n     \"compatibility_date\": \"2025-01-01\"\n   }\n   ```\n\n   `src\u002Findex.ts`:\n   ```typescript\n   export default {\n     async fetch(): Promise\u003CResponse> {\n       return new Response(\"hello cloudflare\");\n     },\n   };\n   ```\n\n2. **Deploy with `--temporary`** from the project directory:\n   ```\n   npx wrangler@latest deploy --temporary\n   ```\n   The proof-of-work check adds a short automatic delay. On success Wrangler prints an `Account: \u003Cname> (created)` (or `(reused)`) line, a `Claim URL`, and the live `https:\u002F\u002F\u003Cworker>.\u003Caccount>.workers.dev` URL.\n\n3. **Parse the URLs** from that output. Run the helper to extract them reliably instead of eyeballing:\n   ```\n   npx wrangler@latest deploy --temporary 2>&1 | python scripts\u002Fparse_deploy_output.py\n   ```\n   (Resolve `scripts\u002Fparse_deploy_output.py` to this skill's absolute path.) It prints JSON: `{\"live_url\", \"claim_url\", \"account\", \"account_state\", \"expires_minutes\", \"deployed\"}`.\n\n4. **Verify the deploy is actually live** — do not trust the deploy log alone. `curl` the live URL and confirm the body matches what the code returns:\n   ```\n   curl -sS \u003Clive_url>\n   ```\n\n5. **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: \u003Cname> (reused)`), so the URL stays stable. `curl` again to confirm the change.\n\n6. **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.\n\n## Quick Reference\n\n| Step | Command |\n|---|---|\n| Check version (need 4.102.0+) | `npx wrangler@latest --version` |\n| Deploy (no account) | `npx wrangler@latest deploy --temporary` |\n| Deploy + parse URLs | `npx wrangler@latest deploy --temporary 2>&1 \\| python scripts\u002Fparse_deploy_output.py` |\n| Verify live | `curl -sS \u003Clive_url>` |\n| Clear cached temp account | `npx wrangler@latest logout` |\n\n### Temporary account product limits\n\n| Product | Limit on a temporary account |\n|---|---|\n| Workers | Deploys to `workers.dev` |\n| Static Assets | Up to 1,000 files, 5 MiB each |\n| KV | Allowed |\n| D1 | 1 database, 100 MB per DB \u002F 100 MB total |\n| Durable Objects | Allowed |\n| Hyperdrive | 2 configs, 10 connections |\n| Queues | Up to 10 |\n| SSL\u002FTLS certs | Allowed |\n\n## Pitfalls\n\n- **`--temporary` is not in `wrangler deploy --help` and is not a global flag.** It is intentionally hidden and surfaced dynamically: when an unauthenticated `wrangler deploy` fails, Wrangler prints \"rerun with `--temporary`\". Don't conclude the flag is missing just because `--help` omits it — check the version instead.\n- **Old global wrangler.** A stale globally-installed `wrangler` (`\u003C 4.102.0`) silently lacks the flag. Always invoke `npx wrangler@latest` (or a pinned `>=4.102.0`) so you control the version.\n- **Auth present → hard error.** If `wrangler login` was ever run, or `CLOUDFLARE_API_TOKEN`\u002F`CLOUDFLARE_API_KEY` is set, `--temporary` errors. Either unset the var for this shell or `wrangler logout`. Never strip a user's real credentials without telling them.\n- **Rate limiting.** Creating temporary accounts too fast fails. Reuse the cached account (just redeploy) within the 60-minute window instead of forcing a new one; if rate-limited, wait or use a permanent account.\n- **60-minute hard expiry, not extendable.** If the deploy must outlive an hour, the user must claim it. Surface this clearly.\n- **`curl` may briefly serve the old body after a redeploy.** `workers.dev` has a short edge cache; the `(reused)` line plus a new `Current Version ID` confirm the deploy succeeded even if `curl` shows stale content for a few seconds. Re-curl, or add a cache-busting query string, before concluding a redeploy failed.\n- **Don't log the claim URL into shared transcripts as \"just a link.\"** It is credential-equivalent.\n\n## Verification\n\n- `npx wrangler@latest --version` returns `>= 4.102.0`.\n- `npx wrangler@latest deploy --temporary` prints a `workers.dev` live URL and a `claim-preview?claimToken=` claim URL.\n- `curl -sS \u003Clive_url>` returns the exact body the Worker code produces.\n- A second deploy reports `Account: \u003Cname> (reused)` and the live URL is unchanged.\n- The parser script's self-test passes: `python scripts\u002Fparse_deploy_output.py --selftest`.\n","# Cloudflare Temporary Deploy Skill\n\nDeploy 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.\n\nThis 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.\n\n## When to Use\n\nLoad this skill when the user wants to:\n\n- **Ship agent-written code to a live URL** without first creating a Cloudflare account — \"deploy this and give me a link\"\n- **Iterate in a background\u002Fautonomous session** where a browser OAuth step would be a hard stop\n- **Prototype or evaluate Workers** quickly with a throwaway, claimable target\n- **Build a self-verifying deploy loop** — deploy, `curl` the live URL, confirm output matches the code, redeploy\n\n## When NOT to Use\n\n- **Production or CI\u002FCD** → use a permanent account (`wrangler login` or `CLOUDFLARE_API_TOKEN`). `--temporary` errors out if any credential is present.\n- **Wrangler is already authenticated** → `--temporary` returns an error by design. Run `wrangler logout` first only if the user explicitly wants a throwaway deploy.\n- **Long-lived hosting** → temporary deployments are deleted after 60 minutes unless claimed.\n\n## Prerequisites\n\n- **Wrangler 4.102.0 or later.** This is the version that introduced `--temporary`. Earlier versions do not have it. Verify with `npx wrangler@latest --version`.\n- **Node 18+ \u002F npm** (or `npx`, `yarn`, `pnpm`). No global install needed — `npx wrangler@latest` works.\n- **No Cloudflare credentials present.** `--temporary` only works when Wrangler is unauthenticated: no OAuth login, no `CLOUDFLARE_API_TOKEN` \u002F `CLOUDFLARE_API_KEY` env var, no `~\u002F.wrangler` \u002F `~\u002F.config\u002F.wrangler` cached OAuth. Use the `terminal` tool's environment as-is; do not set those vars.\n- Network egress to `cloudflare.com` and `workers.dev`.\n- Using `--temporary` accepts Cloudflare's Terms of Service and Privacy Policy.\n\n## How to Run\n\nUse 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.\n\n1. **Scaffold a minimal Worker** (skip if the project already exists). A Worker needs a `wrangler.toml` (or `wrangler.jsonc`) and an entry script. Minimal TypeScript example — write these with `write_file`:\n\n   `wrangler.jsonc`:\n   ```jsonc\n   {\n     \"name\": \"hello-agent\",\n     \"main\": \"src\u002Findex.ts\",\n     \"compatibility_date\": \"2025-01-01\"\n   }\n   ```\n\n   `src\u002Findex.ts`:\n   ```typescript\n   export default {\n     async fetch(): Promise\u003CResponse> {\n       return new Response(\"hello cloudflare\");\n     },\n   };\n   ```\n\n2. **Deploy with `--temporary`** from the project directory:\n   ```\n   npx wrangler@latest deploy --temporary\n   ```\n   The proof-of-work check adds a short automatic delay. On success Wrangler prints an `Account: \u003Cname> (created)` (or `(reused)`) line, a `Claim URL`, and the live `https:\u002F\u002F\u003Cworker>.\u003Caccount>.workers.dev` URL.\n\n3. **Parse the URLs** from that output. Run the helper to extract them reliably instead of eyeballing:\n   ```\n   npx wrangler@latest deploy --temporary 2>&1 | python scripts\u002Fparse_deploy_output.py\n   ```\n   (Resolve `scripts\u002Fparse_deploy_output.py` to this skill's absolute path.) It prints JSON: `{\"live_url\", \"claim_url\", \"account\", \"account_state\", \"expires_minutes\", \"deployed\"}`.\n\n4. **Verify the deploy is actually live** — do not trust the deploy log alone. `curl` the live URL and confirm the body matches what the code returns:\n   ```\n   curl -sS \u003Clive_url>\n   ```\n\n5. **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: \u003Cname> (reused)`), so the URL stays stable. `curl` again to confirm the change.\n\n6. **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.\n\n## Quick Reference\n\n| Step | Command |\n|---|---|\n| Check version (need 4.102.0+) | `npx wrangler@latest --version` |\n| Deploy (no account) | `npx wrangler@latest deploy --temporary` |\n| Deploy + parse URLs | `npx wrangler@latest deploy --temporary 2>&1 \\| python scripts\u002Fparse_deploy_output.py` |\n| Verify live | `curl -sS \u003Clive_url>` |\n| Clear cached temp account | `npx wrangler@latest logout` |\n\n### Temporary account product limits\n\n| Product | Limit on a temporary account |\n|---|---|\n| Workers | Deploys to `workers.dev` |\n| Static Assets | Up to 1,000 files, 5 MiB each |\n| KV | Allowed |\n| D1 | 1 database, 100 MB per DB \u002F 100 MB total |\n| Durable Objects | Allowed |\n| Hyperdrive | 2 configs, 10 connections |\n| Queues | Up to 10 |\n| SSL\u002FTLS certs | Allowed |\n\n## Pitfalls\n\n- **`--temporary` is not in `wrangler deploy --help` and is not a global flag.** It is intentionally hidden and surfaced dynamically: when an unauthenticated `wrangler deploy` fails, Wrangler prints \"rerun with `--temporary`\". Don't conclude the flag is missing just because `--help` omits it — check the version instead.\n- **Old global wrangler.** A stale globally-installed `wrangler` (`\u003C 4.102.0`) silently lacks the flag. Always invoke `npx wrangler@latest` (or a pinned `>=4.102.0`) so you control the version.\n- **Auth present → hard error.** If `wrangler login` was ever run, or `CLOUDFLARE_API_TOKEN`\u002F`CLOUDFLARE_API_KEY` is set, `--temporary` errors. Either unset the var for this shell or `wrangler logout`. Never strip a user's real credentials without telling them.\n- **Rate limiting.** Creating temporary accounts too fast fails. Reuse the cached account (just redeploy) within the 60-minute window instead of forcing a new one; if rate-limited, wait or use a permanent account.\n- **60-minute hard expiry, not extendable.** If the deploy must outlive an hour, the user must claim it. Surface this clearly.\n- **`curl` may briefly serve the old body after a redeploy.** `workers.dev` has a short edge cache; the `(reused)` line plus a new `Current Version ID` confirm the deploy succeeded even if `curl` shows stale content for a few seconds. Re-curl, or add a cache-busting query string, before concluding a redeploy failed.\n- **Don't log the claim URL into shared transcripts as \"just a link.\"** It is credential-equivalent.\n\n## Verification\n\n- `npx wrangler@latest --version` returns `>= 4.102.0`.\n- `npx wrangler@latest deploy --temporary` prints a `workers.dev` live URL and a `claim-preview?claimToken=` claim URL.\n- `curl -sS \u003Clive_url>` returns the exact body the Worker code produces.\n- A second deploy reports `Account: \u003Cname> (reused)` and the live URL is unchanged.\n- The parser script's self-test passes: `python scripts\u002Fparse_deploy_output.py --selftest`.\n",{"name":5,"author":24,"license":15,"version":25,"metadata":26,"platforms":37,"description":7},"Hermes Agent","1.0.0",{"hermes":27},{"tags":28,"category":36},[29,30,31,32,33,34,35,36],"cloudflare","workers","wrangler","deploy","temporary","agent","serverless","web-development",[38,39,40],"linux","macos","windows","master","4a5caebee4b5f9068d3a68c9a7ecd8df12bd4962","local-agent\u002Foptional-skills\u002Fweb-development\u002Fcloudflare-temporary-deploy",0,"https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl","https:\u002F\u002Fgithub.com\u002FLIJALEN23","2026-09-01 14:02:08",{"source":8,"skillName":5,"commands":49,"prompt":59,"zipAvailable":60},[50,53,56],{"tool":51,"command":52},"npx","npx skills add LIJALEN23\u002FBeryl --skill cloudflare-temporary-deploy",{"tool":54,"command":55},"bunx","bunx skills add LIJALEN23\u002FBeryl --skill cloudflare-temporary-deploy",{"tool":57,"command":58},"pnpm","pnpm dlx skills add LIJALEN23\u002FBeryl --skill cloudflare-temporary-deploy","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Foptional-skills\u002Fweb-development\u002Fcloudflare-temporary-deploy\u002FSKILL.md",true,[62],{"path":63,"resourceType":64,"resourceTypeDesc":65,"sizeBytes":66,"sourceHtmlUrl":67},"scripts\u002Fparse_deploy_output.py","SCRIPT","脚本",4281,"https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Foptional-skills\u002Fweb-development\u002Fcloudflare-temporary-deploy\u002Fscripts\u002Fparse_deploy_output.py",[69,76,83,90,97,104],{"skillNo":70,"name":71,"nameZh":6,"description":72,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":73,"categories":74,"keywords":75,"publishedAt":19},"01M7BGCRH58RARQTF3R8CZ84DB","test-driven-development","TDD: enforce RED-GREEN-REFACTOR, tests before code.","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Ftest-driven-development\u002FSKILL.md",[],[],{"skillNo":77,"name":78,"nameZh":6,"description":79,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":80,"categories":81,"keywords":82,"publishedAt":19},"01M7BGCK0GGNV3K6NWMM0MDN3W","systematic-debugging","4-phase root cause debugging: understand bugs before fixing.","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Fsystematic-debugging\u002FSKILL.md",[],[],{"skillNo":84,"name":85,"nameZh":6,"description":86,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":87,"categories":88,"keywords":89,"publishedAt":19},"01M7BGCF0TAZPKSM4WMYA27XGD","spike","Throwaway experiments to validate an idea before build.","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Fspike\u002FSKILL.md",[],[],{"skillNo":91,"name":92,"nameZh":6,"description":93,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":94,"categories":95,"keywords":96,"publishedAt":19},"01M7BGCBH01YYYBQWR7ZFRMX27","simplify-code","Parallel 4-agent cleanup of recent code changes.","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Fsimplify-code\u002FSKILL.md",[],[],{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":19},"01M7BGC8MGHS5SRJ3NZYYNAKJY","requesting-code-review","Pre-commit review: security scan, quality gates, auto-fix.","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Frequesting-code-review\u002FSKILL.md",[],[],{"skillNo":105,"name":106,"nameZh":6,"description":107,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":108,"categories":109,"keywords":110,"publishedAt":19},"01M7BGC4HB5ZJP5N19MZTZXKZ1","python-debugpy","Debug Python: pdb REPL + debugpy remote (DAP).","https:\u002F\u002Fgithub.com\u002FLIJALEN23\u002FBeryl\u002Fblob\u002Fmaster\u002Flocal-agent\u002Fskills\u002Fsoftware-development\u002Fpython-debugpy\u002FSKILL.md",[],[]]