cloud-cli
Skill by yc-software
Signs a cloud provider's CLI (AWS, Google Cloud, Azure, or another) in with a device-code flow, then runs that CLI as the requesting user. It is for agents that need to work with cloud accounts from the agent computer.
Install cloud-cli
Built from the published package, never by AI.
git clone --depth 1 https://github.com/yc-software/qm /tmp/qm && mkdir -p ~/.claude/skills && cp -r /tmp/qm/skills-seed/cloud-cli ~/.claude/skills/cloud-cliRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/yc-software/qm /tmp/qm && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/qm/skills-seed/cloud-cli ~/.gemini/antigravity-cli/skills/cloud-cliAntigravity 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
This skill guides an agent through using a cloud provider's command-line tool on the agent computer. It adds no new tool. The agent runs the provider's CLI through the execute tool and checks first that the CLI is installed. It then signs in with the device-authorization grant, which gives the user a verification URL and a one-time code to approve in a browser on their own device. The skill covers AWS, Google Cloud, Azure, and other providers with a documented device-code flag.
Logins are saved with the interactive-login skill and used only when named in execute.credentials. The skill also sets boundaries: the provider's own permissions limit what the agent can do, any cloud write needs approval first, and access tokens and secrets must not be echoed. It is intended for operators and users who need cloud CLI access from an agent.
Written from the project's SKILL.md and checked against it.
What it can do
- CLI installation checkChecks whether the provider's CLI is present on the agent computer before use and suggests fallbacks if it is missing.
- Device-code loginSigns in with the provider's device-authorization flag so the user can approve from any device.
- Identity verificationConfirms the signed-in identity with each provider's 'who am I' command, such as aws sts get-caller-identity.
- Saved loginsStores the login HOME in the keychain through the interactive-login skill for later commands.
- Cloud write boundariesRequires approval before any mutating action such as delete, terminate, scale, or write.
What you need
- A cloud provider account with CLI access, such as AWS IAM Identity Center
- The provider's CLI installed on the agent computer
- The interactive-login skill
- Org egress allowlist entries for the provider's identity and service endpoints
- AWS CLI v2 2.22 or later for the AWS device-code flag
Try asking
- Sign me in to the AWS CLI with a device code and check my identity.
- Check whether the gcloud CLI is installed on the agent computer.
- Log in to Azure with the device-code flow and show my active account.
Good to know
- Login sessions expire in roughly ten minutes, so a fresh login is needed if the user is slow.
- Bare login commands such as aws sso login or az login are not allowed because they default to a browser redirect.
- Cloud writes such as delete, terminate, scale, or write need approval first.
- AWS CLI v2 needs a glibc base image and will not run on musl or Alpine images.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: skills-seed/cloud-cli/SKILL.md. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md5 KB
Alternatives to cloud-cli
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
cloud-cli: common questions
Why does the skill force a device-code login?
The user approves the login in a browser on their own computer, so a redirect to 127.0.0.1 on the agent computer would never reach the agent. The device-code flow lets the agent poll the provider server-side instead.
Can the agent use a cloud CLI that is not installed?
The skill says to verify first. If the CLI is missing, the agent can install it for the task if the image allows it, use the provider's HTTP API with an existing credential, or ask the operator to add the CLI to the image.
Does the agent get more cloud access than the user has?
No. The skill states that the provider's own permissions are the hard ceiling, and the agent is never a way to exceed the user's own cloud access.
How do I install cloud-cli?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is cloud-cli free?
The code is published under the MIT licence. The service it connects to may have its own pricing.
Is cloud-cli safe to use?
It scores 87 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to cloud-cli?
Similar skills: deploy-release-test, deepeval-tracing, azure-container-registry-cli, crabbox-apps.
