ubicloud
Skill by garrytan
Runs a suite, build or eval on an ephemeral Ubicloud VM. Each VM is named with its owner and TTL, reaped on expiry, and watched for hangs. It defaults to 4 vCPU and supports larger sizes.
Install ubicloud
Built from the published package, never by AI.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.claude/skills && cp -r /tmp/gstack/ubicloud ~/.claude/skills/ubicloudRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/garrytan/gstack /tmp/gstack && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/gstack/ubicloud ~/.gemini/antigravity-cli/skills/ubicloudAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
The ubicloud skill runs a test suite, build or eval on an ephemeral Ubicloud VM. It uses the gstack-ubi entry point, which calls scripts/ubicloud/ubi-runner.sh. The run creates a VM with a default size of standard-4 (4 vCPU), streams the checkout including uncommitted edits, runs a bootstrap once, runs the command, copies requested artifacts back and destroys the VM. Each VM carries its owner and TTL in its name.
Cleanup is built in. Every up reaps expired VMs, and a sweep command can remove VMs whose owner no longer runs. Quota preflight refuses creates that would exceed a project vCPU ceiling set with UBI_QUOTA_VCPUS. A watchdog stops silent commands and reports their last output. It is aimed at developers who need heavy runs on remote VMs and want shared quota and leftover VMs managed.
Written from the project's SKILL.md and checked against it.
What it can do
- runCreates a VM, runs a command on it, copies artifacts back and destroys the VM.
- verifyRuns the committed definition in .gstack/ubicloud.json on a VM.
- reap and gcDestroys expired or old VMs that belong to the current owner.
- sweepLists or destroys expired ubirun VMs across all owners, with a keep-file option.
- Quota preflightRefuses a create before the request when it would exceed the project vCPU ceiling.
- Hang watchdogExits with code 124 when a phase prints nothing for too long.
- usage and list --mineShows VMs and vCPUs per owner and lists the current owner's VMs.
- Size selectionUses standard-4 by default, with standard-16, standard-30 and standard-60 available via -s.
What you need
- UBICLOUD_API_KEY or UBICLOUD_API_TOKEN, a project-scoped Ubicloud token
- UBI_OWNER set to a lowercase owner code
- gstack installed at ~/.claude/skills/gstack
- Bash
Try asking
- Run the full test suite on a Ubicloud VM with make test
- Verify this repo on ubicloud using the committed config
- List my Ubicloud VMs and show vCPU usage per owner
Good to know
- The default VM size is standard-4 (4 vCPU); larger sizes need the -s flag.
- gstack ships no scheduler, so sweep must be run from the host's scheduled job.
- Unkept TTLs are capped at 24 hours in sweep unless a keep-file entry is added.
- up, run and verify refuse to run without UBI_OWNER set.
Security check
C- Asks for administrator rights (sudo)In
ubicloud/SKILL.md:`sudo - Allowed to use Bash without limitsIn
SKILL.md
Checked automatically: ubicloud/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
Allowed tools: BashReadBash(~/.claude/skills/gstack/bin/gstack-skill-load:*)
-
SKILL.md13 KB -
SKILL.md.tmpl11 KB -
sections/preamble.md1 KB
Alternatives to ubicloud
All alternatives →Runs the full Next.js deployment test suite for an internal vercel/next.js pull request. It validates the commit's preview package, then dispatches the test_e2e_deploy_release.yml workflow. Meant for maintainers who explicitly ask for the entire suite.
Instruments Python AI applications with DeepEval's native tracing so their execution appears span by span in Confident AI's Observatory. It is for developers building LLM apps, agents, RAG pipelines and chatbots.
Manages Azure Container Registry through the az acr Azure CLI command group. It covers registries, images, cloud builds, ACR Tasks, tokens, geo-replication and networking. Built for developers and operators who work with ACR in Azure.
Opens, runs, and shows apps on a temporary Crabbox machine, including native desktops and web previews. It is for OpenClaw users who want an app running and visible in their chat side panel.
Runs batch and HPC workloads on GKE using job queues and parallel processing. Aimed at teams running batch pipelines, HPC simulations, or ML training jobs on Google Kubernetes Engine.
Answers questions about GKE cluster and workload costs using BigQuery billing exports and live cluster metrics. Built for platform engineers and cloud teams who need to analyze and diagnose GKE spend.
Compare with deploy-release-test, deepeval-tracing or azure-container-registry-cli
ubicloud: common questions
What happens if the run process is killed?
The runner destroys its VM on every exit path only while it is alive. If the process is killed, the VM is removed by the reaper once its TTL has passed.
Will it delete other people's VMs?
No. Reap and gc only touch the current owner's ubirun- VMs. Other owners' VMs, untagged VMs and names outside ubirun- are left alone.
What is the default VM size?
The default is standard-4 with 4 vCPU. Larger sizes such as standard-16 are used only when a build or suite needs more CPU or RAM.
How do I install ubicloud?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ubicloud free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is ubicloud safe to use?
It scores 93 of 100. Grades: maintenance A, licence A, quality A. Security check: grade C (asks for administrator rights (sudo)). Review the code before you install. How grades work.
What are alternatives to ubicloud?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
