Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

cloud-setup

/cloud-setup

Konfiguruje chmurowe środowiska Claude Code dla rozwoju AILANG: poziom sieci, zmienne środowiskowe, sekrety, skrypt startowy oraz provisioning i weryfikacja w sesji, w tym gdy brakuje ailang w PATH lub gcloud zgłasza CREDENTIALS_MISSING.

Repozytorium
ailang ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
27.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
4
Skrypty
2
Komentarze HTML
0
Adresy URL w SKILL.md
1
Przestarzałość

Brak sygnałów. Repozytorium zmienione 27.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.

Skrypty: scripts/setup.sh, scripts/verify.sh

Co robi i kiedy

Konfiguruje chmurowe środowiska Claude Code dla rozwoju AILANG: poziom sieci, zmienne środowiskowe, sekrety, skrypt startowy oraz provisioning i weryfikacja w sesji, w tym gdy brakuje ailang w PATH lub gcloud zgłasza CREDENTIALS_MISSING.

Wyzwalacze z opisu

cloudsetup cloudcloud environment
Oryginalny opis (EN)

Set up Claude Code cloud environments (claude.ai/code, mobile, desktop "cloud" sessions) for AILANG development — the environment's network level, env vars, secrets and setup script, plus in-session provisioning and verification. Use when configuring a new cloud environment, when `ailang` is not on PATH in a cloud session, when GCP commands fail with CREDENTIALS_MISSING, or when user says "setup cloud", "cloud environment", or mentions mobile Claude Code.

Jak działa

  1. 1. Environment config (user enters once)
  2. 2. Per session
  3. 3. Do not reintroduce
Sekcje z nagłówków SKILL.md, w oryginale · 85 linii, 535 słów
Podgląd SKILL.md
---
name: cloud-setup
description: Set up Claude Code cloud environments (claude.ai/code, mobile, desktop "cloud" sessions) for AILANG development — the environment's network level, env vars, secrets and setup script, plus in-session provisioning and verification. Use when configuring a new cloud environment, when `ailang` is not on PATH in a cloud session, when GCP commands fail with CREDENTIALS_MISSING, or when user says "setup cloud", "cloud environment", or mentions mobile Claude Code.
---

# Cloud Environment Setup

An Anthropic-hosted cloud session is a fresh container per session. The base image already
ships Go (matching `go.mod`), make, git, gh, node 22, python3, jq and gcloud/bq/gsutil wired
to the egress proxy. It does **not** ship the `ailang` binary on PATH, z3, or any GCP
credential — those are what this skill adds.

Two halves: the **environment config** the user enters once (only they can — it lives in the
cloud environment menu in the session title bar → Edit), and **scripts** that run per session.

## 1. Environment config (user enters once)

**Network access: Full.** The work reaches GitHub, `*.googleapis.com` (Firestore, GCS,
logging), OpenRouter, `dashboard.ailang.sunholo.com`, the registry validator and Go module
hosts; a Limited allowlist is always one host short.

**Environment variables:**

```
AILANG_STORAGE_MESSAGING=gcp
AILANG_MESSAGES_PROJECT=ailang-multivac
AILANG_CLOUD_PROJECT=ailang-multivac
GOOGLE_CLOUD_PROJECT=ailang-multivac
AILANG_AUTOPUSH=0
AILANG_AUTOREBASE=0
```

- Never `AILANG_STORAGE=gcp` — it moves all three stores, not just messaging.
- `AILANG_AUTOPUSH=0`: the Stop hook rebases and pushes `dev`. Right on the Mac; wrong from
  an ephemeral clone that may be far behind `origin/dev`. Push branches deliberately.

**Secrets** (environment settings, never pasted into chat) — only the ones you use:

| Variable | For |
|---|---|
| `GCP_SA_KEY_JSON` | Full JSON of a dedicated service-account key. `setup.sh` writes it to the ADC path and activates it for gcloud. Least privilege on `ailang-multivac`: `roles/datastore.user` (message store), `roles/logging.viewer` (cascade debugging), `roles/storage.objectViewer`. |
| `AILANG_REGISTRY_API_KEY` | `ailang publish` / unpublish only. Installing packages needs nothing. |
| `OPENROUTER_API_KEY` | Evals and benchmarks. |
| `ANTHROPIC_API_KEY`, `GEMINI_API_KEY`, `OPENAI_API_KEY` | Direct-provider evals and live tests only. |

**Setup script:**

```bash
bash /home/user/ailang/.claude/skills/cloud-setup/scripts/setup.sh || true
```

**What needs the GCP key.** The gcloud CLI is optional, but the message plane is not: the
`gcp` message store is Firestore through the Go client, which authenticates with ADC. With no
key, everything else works (build, `make test`, `ailang check`/`run`, evals with a provider
key, git and GitHub through the session's connector) and `ailang messages` reads an empty local
store. Only `roles/datastore.user` is needed for the inbox.

## 2. Per session

```bash
.claude/skills/cloud-setup/scripts/verify.sh   # read-only readiness check, exit 1 on failure
.claude/skills/cloud-setup/scripts/setup.sh    # idempotent; rerun if verify fails
```

`setup.sh`: checks Go against `go.mod`, apt-installs z3/openssh-client if missing, writes
`GCP_SA_KEY_JSON` to `~/.config/gcloud/application_default_credentials.json` and activates it,
runs `make quick-install` (version-stamped) and links `/usr/local/bin/ailang`, smoke-tests
`examples/runnable/hello.ail`. It never fails the boot.

Then confirm the message plane per CLAUDE.md: `ailang storage status` shows
`messaging gcp (AILANG_STORAGE_MESSAGING)`, and `ailang messages list --unread` prints a
`store: gcp (...)` header.

## 3. Do not reintroduce

These were in the 2025 version of this skill and are wrong for the current container:

- **`GOTOOLCHAIN=local`** — `go.mod` pins a newer Go than any old image; `local` makes that a
  hard error. Leave the default so go fetches the toolchain.
- **`GOPROXY=direct`** — hits GitHub's anonymous throttle. Use `https://proxy.golang.org|direct`.
- **Rewriting `/etc/resolv.conf`, `wget --no-check-certificate`** — egress goes through a TLS
  proxy whose CA is installed. Never disable TLS verification or unset `HTTPS_PROXY`; proxy
  problems are diagnosed with `/root/.ccr/README.md`.
- **Installing Go / gh from tarballs** — already in the image.

Details and symptoms: [resources/troubleshooting.md](resources/troubleshooting.md). The
coordinator's own cloud executor images (`docker/Dockerfile.agent-base`) are the reference for
what an AILANG container needs; their comments record the measured traps.
Pliki w paczce (4)
  • SKILL.md 5 KB
  • resources/troubleshooting.md 4 KB
  • scripts/setup.sh 5 KB
  • scripts/verify.sh 3 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · sunholo-data/ailang100Apache-2.0
dbt-labs/dbt-charts95Apache-2.0
jease0502/research-agent-kit90Apache-2.0
bdfinst/agentic-dev-team86MIT

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki 609612b0373d (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

  • 100use-ailang
    Pisze i uruchamia kod AILANG z poprawną składnią, sprawdza wersję i naprawia błędy w kodzie AILANG.
  • 100use-ailang
    Pisze i uruchamia kod AILANG z poprawną składnią, sprawdza wersję i naprawia błędy w kodzie AILANG.
  • 90cloud-sessions
    Uruchamia sesje Claude Code w chmurze dla repozytorium, śledzi je, czyta ich zdarzenia i wysyła kolejne polecenia.
  • 100code-env-setup
    Prowadzi interaktywny kreator konfiguracji środowiska Claude Code: wykrywa istniejące ustawienia i konfiguruje globalny CLAUDE.md, szkielet projektu, serwery MCP, hooki, agentów, skróty i ustawienia.
  • 100environment-setup
    Konfiguruje środowiska development, staging i produkcyjne: zmienne środowiskowe, pliki .env, zarządzanie konfiguracją i ustawienia zależne od środowiska.
  • 90gcp-setup
    Sprawdza środowisko Google Cloud na starcie sesji i ustawia uwierzytelnianie dla gcloud, ADC i kubectl.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.