gemini-antigravity-cli

Interact with Google Gemini and Antigravity models from the terminal using slash commands and MCP servers.

4|Updated May 16, 2026
One-click install
npx skills add https://github.com/reason-machines/devtools-skills --skill gemini-antigravity-cli-reason-machines
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: gemini-antigravity-cli
Source: https://github.com/reason-machines/devtools-skills/tree/main/skills/gemini-antigravity-cli
Command: npx skills add https://github.com/reason-machines/devtools-skills --skill gemini-antigravity-cli-reason-machines

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? Developers who want AI coding assistance without leaving the terminal need a way to query Google Gemini and Antigravity models, manage conversation context, and connect external tools without building custom API integrations. ## Core Features & Use Cases - Terminal AI Agent: Chat with Gemini 2.5 Pro/Flash and Antigravity models directly in the shell, with slash commands like /model, /context, /save, and /clear. - Context-Aware Coding: Load files or directories as context for refactoring, code review, test generation, and documentation tasks. - MCP Server Integration: Connect Model Context Protocol servers such as filesystem and GitHub to extend the agent's capabilities. - Use Case: Pipe a git diff into the CLI inside a CI workflow to get an automated code review on every pull request. ## Quick Start Install the CLI globally with npm, set your GOOGLE_API_KEY environment variable, then ask the agent to review a file by loading it with the /context command.

Frequently Asked Questions about gemini-antigravity-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I install and set up the Gemini CLI in my terminal?▼

Install globally with npm install -g gemini-antigravity-cli, or download the prebuilt binary from GitHub Releases. Then set the GOOGLE_API_KEY environment variable and run the antigravity or gemini command to start.

How do I switch between Gemini models in the CLI?▼

Use the /model slash command followed by the model name, such as /model gemini-2.5-pro or /model gemini-2.5-flash. The flash model offers higher rate limits and faster responses for most tasks.

Can the Gemini CLI connect to MCP servers?▼

Yes, MCP servers are configured in the config.json file under the mcpServers array, specifying the command and args for each server. Once configured, tools like filesystem and GitHub servers can be referenced directly in prompts.

Why does the Gemini CLI return a rate limit or 429 error?▼

A 429 error means the API rate limit was exceeded for your key. Wait for the limit to reset, switch to gemini-2.5-flash for higher limits, or implement exponential backoff in scripts that call the CLI repeatedly.

How do I fix context length exceeded errors in the CLI?▼

Clear the conversation with /clear, load smaller file selections with /context instead of entire directories, or summarize large files first by piping a portion of the content into the CLI.