cloudflare-vps-prep
/cloudflare-vps-prep
Przygotowuje konto Cloudflare pod instalator vps-ss w Dockerze przez panel i generuje sprawdzony plik JSON z wymaganymi danymi.
- Autor
- liqiuh ↗
- Repozytorium
- vps-ss-docker ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 13.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 5
- Skrypty
- 2
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 2
Brak sygnałów. Repozytorium zmienione 13.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
- 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
Skrypty: scripts/validate_prep.py, scripts/write_prep.py
Co robi i kiedy
Przygotowuje konto Cloudflare pod instalator vps-ss w Dockerze przez panel i generuje sprawdzony plik JSON z wymaganymi danymi.
Oryginalny opis (EN)
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.
Jak działa
- Workflow
- Boundaries
- Generate The File
- Handoff To The VPS
Podgląd SKILL.md
--- 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.
Pliki w paczce (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
Wersje
W bazie nie ma innych skilli o nazwie cloudflare-vps-prep.
Migawka bazy z 13.11.2026 · wersja paczki e0be841ab002 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 100vps-panel-3xui
Automatycznie instaluje, przywraca lub migruje panel 3x-ui na serwerze VPS przez SSH i sprawdza jego działanie. - 100vps-ops-toolkit
Instaluje na VPS monitoring z cyklicznym sprawdzaniem zdrowia, szyfrowane kopie bazy z weryfikacją odtwarzania i instalator. - 96vps-provisioning
Zakłada i utwardza nowy serwer VPS: użytkowników, dostęp, zapory i aktualizacje. - 90cloud-architecture
Dobiera usługi chmurowe do wymagań aplikacji i danych, porównując AWS, Azure, GCP, Cloudflare i serwery VPS. - 100margin-setup
Instaluje Margin i konfiguruje prywatny hub dokumentów dla ludzi i agentów AI na własnym komputerze, VPS lub koncie Cloudflare. - 95Cloudflare
Wdraża aplikacje Workers i Pages w Cloudflare i wskazuje, gdzie szukać dokumentacji.