1. Habit
  2. Skills
  3. Google Agents CLI Deploy skill
google · 507K installs

Google Agents CLI Deploy skill
Runs by itself, eval scores ready.

Agents deployed only after your approval.

Install the Google Agents CLI Deploy skill and make it a habit: follow https://gethabit.dev/skills/google/google-agents-cli-deploy.md

  1. 1Copy
  2. 2Paste into Claude Code, Codex or Cursor
  3. 3It runs by itself

507K installs6K starsApache-2.0 licenceSource on GitHub ↗

Google Agents CLI Deploy

by google · 507K installs

The skill

The google agents cli deploy skill by Google guides deploying agents with agents-cli to Agent Runtime, Cloud Run or GKE: CI/CD, secrets, service accounts, sizing, rollback and troubleshooting.

Only when you ask.

The habit

Agents deployed only after your approval.

↻ Runs by itselfeval scores ready

How the habit works.
You don't have to.

Three questionsWhen does it start? How does it check its work? What does it remember?

One run, step by step.
Then it stops.

Stop ruleStops after one deploy per run, or when the same error shows 3 times in a row.

  1. 01

    Load related skills

    Your agent follows google-agents-cli-workflow, and uses google-agents-cli-scaffold if the project has no deployment target.

  2. 02

    Pick the target

    It asks you to choose Agent Runtime, Cloud Run or GKE, using the decision matrix.

  3. 03

    Enhance a prototype

    If there is no target yet, it runs agents-cli scaffold enhance . --deployment-target.

  4. 04

    Ask for approval

    It pastes the eval scores and test results and asks if you are ready to deploy to dev.

  5. 05

    Deploy

    Only after your explicit yes, it runs agents-cli deploy with the needed flags.

  6. 06

    Poll the status

    If the command times out, it runs agents-cli deploy --status every 60 seconds until done.

  7. 07

    Test live

    It runs agents-cli run --url with a prompt to test the deployed agent.

  8. 08

    Log

    It writes the target, URL and result to the deploy log, and notes google-agents-cli-publish for registration.

What it may do.
Nothing more.

Safe by defaultIt writes only in its own folder and asks you before anything goes out.

Is it for you?
Use it when it fits.

Quick checkRead both lists. If the left one sounds like you, the Google Agents CLI Deploy skill helps.

Use it when

  • ✓ You deploy an ADK agent
  • ✓ You set up CI/CD for an agent
  • ✓ A deploy fails with 403

Skip it when

  • – You still write agent code
  • – You only need evaluation

Questions

Google Agents CLI Deploy skill, answered.

Will it deploy without asking?

No. agents-cli deploy runs only after your explicit approval.

How do I roll back?

Fix, commit and push to main. Cloud Run can also shift traffic to an older revision; GKE uses kubectl rollout undo.

Where do secrets go?

In GCP Secret Manager, passed with --secrets, not as plain environment variables.

How do I install the Google Agents CLI Deploy skill?

Copy the prompt at the top into your agent. It installs the skill from google/agents-cli and sets up the habit. Or run npx skills add google/agents-cli --skill google-agents-cli-deploy.

Is the Google Agents CLI Deploy skill free?

Yes. It is published under Apache-2.0. Habit is free too.

Google Agents CLI Deploy. Now as a habit.

Install the Google Agents CLI Deploy skill and make it a habit: follow https://gethabit.dev/skills/google/google-agents-cli-deploy.md

  • Free
  • No account
  • Undo in one line

All google skills →More ops skills →

Works in

  • Claude Code
  • Codex
  • Cursor
  • ChatGPT
  • Claude app

Made by google, published under Apache-2.0. Habit links to the original and never changes it. Is this your skill?

Copying didn't work here. Select the line and copy it by hand.