From alternate-cloud
Deploy a pre-built service from a curated template — databases (Postgres, MySQL, Redis, MongoDB), AI inference (Ollama, vLLM, ComfyUI, Stable Diffusion), game servers (Minecraft, etc.), dev tools, web servers. Use when the user wants to spin up a known service without writing a Dockerfile — "deploy postgres", "I need redis", "spin up ollama", "launch a minecraft server", "run vLLM", "I want a database", "give me ComfyUI". Also use when they ask what templates / pre-built services are available. Routes via the user's default cloud (Alternate Clouds).
How this skill is triggered — by the user, by Claude, or both
Slash command
/alternate-cloud:deploy-from-templateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Templates are pre-built Docker images bundled with sensible defaults
Templates are pre-built Docker images bundled with sensible defaults (resources, ports, env-var slots) for common workloads. One CLI call provisions, configures env, and deploys end-to-end.
af whoami --json
Unauthenticated? Run the af-setup skill.
If the user named one (e.g. "ollama", "postgres"):
af templates list | grep -i <name>
af templates info <templateId> # shows resources, ports, required env vars
If they didn't:
af templates list # browse by category
# Categories: AI_ML, GAME_SERVER, DATABASE, DEVTOOLS, WEB_SERVER, STORAGE
Pick the template id (typically slugged like postgres-16, ollama, comfyui-stable).
af templates info <id> lists envVars with a required: true flag.
Anything required must be passed via --env KEY=VALUE in -y mode —
otherwise the deploy throws with a clear list of missing keys.
Typical patterns:
| Template type | Common required env |
|---|---|
| Database (postgres, mysql) | POSTGRES_PASSWORD / MYSQL_ROOT_PASSWORD |
| AI inference (ollama, vllm) | usually none required (model loaded on first request) |
| Auth-protected service | ADMIN_PASSWORD, JWT_SECRET, etc. |
Platform-injected env vars (generatedAccessKey, generatedSecret, orgId, apiKey) are filled in automatically by the backend — don't pass them.
af services create \
--kind template \
--template <templateId> \
--name <your-name> \
--env KEY1=value1 \
--env KEY2=value2 \
-y
Adjust resources / region if the template defaults don't fit:
... --cpu 4 --memory 16Gi --storage 100Gi --region us-east
GPU-bearing templates (e.g. ComfyUI, vLLM) — if the template defaults already include a GPU, no flag needed. To override:
... --gpu --gpu-model h100 --gpu-count 1
For confidential / TEE deploys:
... --confidential # routes to Phala
If af templates info <id> shows components: [...] (a multi-service bundle — e.g. app+db+cache), the CLI refuses with a clear error and points at the dashboard. Composite templates need per-component provider routing that the CLI doesn't prompt for yet. Tell the user to deploy from https://app.alternatefutures.ai and circle back.
af services info <your-name>
af services logs <your-name> --tail 100
The deploy poller prints connection details when ACTIVE:
af ssh or af services link to wire to another service)ssh root@<ip> -p <port>af services create --kind template --template postgres-16 \
--name app-db \
--env POSTGRES_PASSWORD="$(openssl rand -base64 24)" \
--env POSTGRES_DB=app \
--memory 4Gi --storage 50Gi \
-y
Then link your app service to it:
af services link my-app app-db --alias DB
# DB_HOST / DB_PORT / DB_USER / DB_PASSWORD show up in my-app's env
af services deploy my-app # redeploy to materialize the new env keys
af services create --kind template --template ollama \
--name local-llm \
--gpu --gpu-model h100 \
--region us-east \
-y
Pull a model after it's live:
af ssh local-llm --command "ollama pull llama3"
--template → the id is wrong. Run af templates list and copy the exact id (templates are slug-cased, e.g. postgres-16, not postgres:16).-y → the template requires keys you didn't pass. The error lists them; add each as --env KEY=VALUE.minMemory higher than your --memory override, the deploy will reject. Check af templates info <id> for floors.npx claudepluginhub alternatefutures/alternate-clouds-skills --plugin alternate-cloudProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.