cloudflare-vps-prep
/cloudflare-vps-prep
Configure the Cloudflare account prerequisites for the vps-ss Docker installer through the live dashboard, then generate a validated cloudflare-vps-prep.json file. Use when the user asks to prepare Cloudflare Workers credentials/materials for a VPS, automate the Cloudflare-side setup, or regenerate the installer preparation file.
- Author
- liqiuh ↗
- Repository
- vps-ss-docker ↗
- Licence
- MIT
- Last repository change
- 13.11.2026
Assessment and security
- Files in this package
- 5
- Scripts
- 2
- HTML comments
- 0
- URLs in SKILL.md
- 2
No signals detected. Repository changed on 13.11.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
- 2 scripts in this package. Review them before installing, as Claude may execute them.
Scripts: scripts/validate_prep.py, scripts/write_prep.py
What it does and when to use it
Configure the Cloudflare account prerequisites for the vps-ss Docker installer through the live dashboard, then generate a validated cloudflare-vps-prep.json file. Use when the user asks to prepare Cloudflare Workers credentials/materials for a VPS, automate the Cloudflare-side setup, or regenerate the installer preparation file.
Original author description
Configure the Cloudflare account prerequisites for the vps-ss Docker installer through the live dashboard, then generate a validated cloudflare-vps-prep.json file. Use when the user asks to prepare Cloudflare Workers credentials/materials for a VPS, automate the Cloudflare-side setup, or regenerate the installer preparation file.
How it works
- Workflow
- Boundaries
- Generate The File
- Handoff To The VPS
SKILL.md preview
--- name: cloudflare-vps-prep description: Configure the Cloudflare account prerequisites for the vps-ss Docker installer through the live dashboard, then generate a validated cloudflare-vps-prep.json file. Use when the user asks to prepare Cloudflare Workers credentials/materials for a VPS, automate the Cloudflare-side setup, or regenerate the installer preparation file. --- # Cloudflare VPS Preparation Prepare only the account-level inputs needed by `vps-ss.sh`. The VPS installer creates the actual Worker after it knows the VPS IP, origin port, random WebSocket path, and origin token. Read [references/schema.md](references/schema.md) before generating the output file. ## Workflow 1. Open the Cloudflare dashboard in the user's requested browser. 2. Hand control to the user for login, password entry, passkeys, 2FA, CAPTCHA, or recovery challenges. Never ask the user to send those credentials in chat. 3. Select the requested Cloudflare account. If there is exactly one account, use it. If multiple accounts exist and the intended one is not clear, ask one concise question before changing anything. 4. Record the account's 32-character Account ID. 5. Inspect the account's Workers configuration: - Reuse an existing `workers.dev` subdomain. - If none exists, generate a neutral lowercase suggestion such as `vps-ss-<random>` and configure it. Ask only when Cloudflare requires a user-selected value or the suggestion is unavailable. 6. Create a custom API token scoped to the selected account with only the account permission `Workers Scripts Write`. The dashboard may label the older equivalent as `Workers Scripts Edit` or offer the `Edit Cloudflare Workers` template. 7. Immediately before the final action that creates the API token, request the required action-time confirmation. Explain that the token grants persistent permission to create and update Workers in the selected account. 8. Capture the token shown once by Cloudflare. Do not paste the full token into chat or narration. 9. Generate `cloudflare-vps-prep.json` with `scripts/write_prep.py`, set file mode `0600`, and validate it with `scripts/validate_prep.py`. 10. Report the output path, Account ID, workers.dev hostname, masked token, and the upload/install commands. Never print the full token. ## Boundaries - Do not create or edit the VPS Worker, DNS records, zones, custom domains, Pages projects, billing, subscriptions, or existing applications unless the user separately asks. - Do not use a Global API Key or request the Cloudflare account password. - Do not broaden the token to all accounts when a specific account can be selected. - Do not add IP filtering unless the user supplies the future VPS egress IP and explicitly requests it. - Stop and explain the blocker if the signed-in user lacks permission to create account API tokens or configure Workers. - Reuse existing valid prerequisites instead of creating duplicates. ## Generate The File Use an interactive terminal so the API token is read with hidden input and is not placed in command arguments: ```bash python3 scripts/write_prep.py \ --account-id ACCOUNT_ID \ --workers-subdomain SUBDOMAIN \ --output /absolute/path/cloudflare-vps-prep.json ``` Then validate it: ```bash python3 scripts/validate_prep.py /absolute/path/cloudflare-vps-prep.json ``` When running in a Codex projectless chat, place the user-facing JSON in that task's `outputs` directory. Preserve a `0600` mode after copying or moving it. ## Handoff To The VPS Give commands in this shape, substituting the real host: ```bash scp cloudflare-vps-prep.json root@VPS_IP:/root/cloudflare-vps-prep.json ssh root@VPS_IP curl -fLO https://github.com/liqiuh/vps-ss-docker/releases/latest/download/vps-ss.sh curl -fLO https://github.com/liqiuh/vps-ss-docker/releases/latest/download/SHA256SUMS grep ' vps-ss.sh$' SHA256SUMS | sha256sum -c - chmod +x vps-ss.sh ./vps-ss.sh ``` The installer automatically detects `/root/cloudflare-vps-prep.json`; the user only chooses Cloudflare mode from the number menu.
Files in this package (5)
- SKILL.md 4 KB
- agents/openai.yaml 1 KB
- references/schema.md 2 KB
- scripts/validate_prep.py 3 KB
- scripts/write_prep.py 3 KB
Versions
The database has no other skills named cloudflare-vps-prep.
Database snapshot: 13.11.2026 · package version e0be841ab002 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 4 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100vps-panel-3xui
在一台 Linux VPS 上全自动部署、重装或迁移 3x-ui(x-ui)代理面板——SSH 探测、非交互安装、验收、备份数据库、凭据落盘一次做完。当用户提供 VPS 的 IP / SSH 端口 / root 密码,并说"搭面板""装 3x-ui""节点面板""重装面板""续费后恢复面板""帮我配代理服务器"时使用;也用于排查面板打不开、密码登不上、端口不通、HTTP/HTTPS 协议混淆等问题。 - 100vps-ops-toolkit
Install host operations on a VPS, with a cron health check that alerts on change, restore-verified encrypted database backups, and an installer. Use when a server has no monitoring or backups, or when adding a resource to them. - 96vps-provisioning
Use when provisioning/hardening a new VPS. - 90cloud-architecture
Choose and design cloud services from concrete application, data, availability and operational requirements. Use when comparing AWS, Azure, GCP, Cloudflare or VPS architectures; preserve provider/account constraints and verify region-specific capabilities. - 100margin-setup
Install Margin and set up a private hub (docs where many people and many AI agents write together) on the user's own machine, their VPS, or their Cloudflare account, then connect Codex / Claude Code agents to it. Use when the user wants to install, host, deploy, invite people… - 95Cloudflare
Deploy Cloudflare Workers/Pages. USE WHEN Cloudflare, worker, deploy, Pages, MCP server. SkillSearch('cloudflare') for docs.