Got suspended while using headless mode with custom system prompt

2 min read Original article ↗

I ran into #20632

 Error: Account Suspended

 This service has been disabled in this account for violation of Terms of Service. Please submit an appeal to continue using this product.
Appeal Form — Terms of Service suspension for Antigravity, Gemini CLI, and Gemini Code Assist
If you are viewing this form, you have likely been suspended from Antigravity, Gemini CLI, or Gemini Code Assist for violating our Terms of Service. Using third party software, tools, or services to access Antigravity, Gemini CLI, or Gemini Code Assist (e.g. using OpenClaw with Antigravity OAuth) violates applicable terms and policies. Such actions may be grounds for suspension or termination of your account.

If you would like to use a third party coding agent with Gemini, we recommend using a Vertex or AI Studio API key rather than a product login.

I am running the following in a cron job, performing a burst of several requests approximately every 30 minutes.
GEMINI_SYSTEM_MD=my_prompt.md gemini -p "@file"

I don't believe that the suspension is justified because these are all documented features of gemini-cli.

  1. System Prompt Override (GEMINI_SYSTEM_MD) - https://geminicli.com/docs/cli/system-prompt/
  2. Automate tasks with headless mode - https://geminicli.com/docs/cli/tutorials/automation

I have submitted an appeal via google docs, but that form does not allow me to provide an explanation.

I would like clarity to understand what exactly is considered a violation for "third party coding agent" here?

  • The use of a custom system prompt?
  • Running gemini-cli in a headless mode via a cron job?