gemini-cli
Installation
SKILL.md
Gemini CLI — Hermes Orchestration Guide
Delegate coding tasks to Gemini CLI (Google's open-source AI agent) via the Hermes terminal. As of July 2026, the free-tier OAuth (personal Google account) is sunsetted — and as of June 18, 2026, consumer subscriptions (Google AI Pro/Ultra) no longer work either. Google migrated consumer subscription access to the Antigravity family: use the antigravity-cli-pitfalls skill (agy) instead for subscription-quota delegation. Gemini CLI now only works with a GEMINI_API_KEY (paid API billing) or a Gemini Code Assist Standard/Enterprise (workspace) license.
Prerequisites
- Install:
npm install -g @google/gemini-cli - Auth (REQUIRED): Set
GEMINI_API_KEYenv var for API billing, or use a Google account with Gemini Code Assist Pro. Personal Google account OAuth no longer works for the free tier — attempts will fail withIneligibleTierError: This client is no longer supported for Gemini Code Assist for individuals. - Version check:
gemini --version - Update:
npm update -g @google/gemini-cli
Two Orchestration Modes
Mode 1: Headless / Print Mode (-p) — Non-Interactive (PREFERRED for most tasks)
Headless mode runs a one-shot task and exits. No PTY needed. Cleanest integration.