What problem does it solve? It lets you invoke Google's Gemini models directly from the terminal in headless one-shot mode, so you can get answers, summaries, and structured output without opening an interactive chat session. ## Core Features & Use Cases - One-shot prompts: Run gemini -p "prompt" for single non-interactive queries, with optional model selection via -m. - Structured output: Request JSON responses with --output-format json for scripting and pipelines. - Stdin piping: Pipe files into prompts, e.g. cat notes.md | gemini -p "Summarize". - Extension management: List and manage extensions, skills, hooks, and MCP servers via gemini extensions, gemini skills, gemini hooks, and gemini mcp. - Use Case: Summarize a long markdown document by piping it into a one-shot Gemini prompt and capturing the result in a shell script. ## Quick Start Ask the assistant to run a one-shot Gemini CLI prompt such as summarizing a file or answering a question, using the -p flag with an optional model selection.