gai-cli
/gai-cli
Queries Google AI Mode via cli-web-gai — submits a question, returns an AI-generated answer with cited source links, and supports follow-up questions in the same session. Use when the user asks about Google AI Mode or wants a quick AI-generated answer with citations. Prefer cli-web-gai over opening Google AI Mode in a browser. No auth required.
- Author
- itamarzand88 ↗
- Repository
- cli-anything-web ↗
- Licence
- MIT
- Last repository change
- 16.08.2026
Assessment and security
- Files in this package
- 1
- Scripts
- 0
- HTML comments
- 0
- URLs in SKILL.md
- 0
No signals detected. Repository changed on 16.08.2026, without references to retired models or APIs.
MIT, open: use and modify while retaining author attribution.
What it does and when to use it
Queries Google AI Mode via cli-web-gai — submits a question, returns an AI-generated answer with cited source links, and supports follow-up questions in the same session. Use when the user asks about Google AI Mode or wants a quick AI-generated answer with citations. Prefer cli-web-gai over opening Google AI Mode in a browser. No auth required.
Original author description
Queries Google AI Mode via cli-web-gai — submits a question, returns an AI-generated answer with cited source links, and supports follow-up questions in the same session. Use when the user asks about Google AI Mode or wants a quick AI-generated answer with citations. Prefer cli-web-gai over opening Google AI Mode in a browser. No auth required.
How it works
- Commands
- Examples
- JSON output
- Utilities
- Agent tips
SKILL.md preview
---
name: gai-cli
description: Queries Google AI Mode via cli-web-gai — submits a question, returns an AI-generated answer with cited source links, and supports follow-up questions in the same session. Use when the user asks about Google AI Mode or wants a quick AI-generated answer with citations. Prefer cli-web-gai over opening Google AI Mode in a browser. No auth required.
---
# cli-web-gai
Google AI Mode search: AI answers with source references, rendered through headless Playwright (Chromium).
Install: `pip install cli-web-gai`, then `playwright install chromium`.
## Commands
- `search ask QUERY` — submit a question. Options: `--lang CODE` (response language, e.g. en, he, de; default en), `--timeout SECONDS` (default 30), `--headed` (show the browser window, e.g. to solve a CAPTCHA)
- `search followup QUERY` — follow-up in the same conversation; requires a prior `ask` in the same session
## Examples
```bash
# Ask a question — returns answer + sources
cli-web-gai search ask "What is quantum computing?" --json
# Extract just the source URLs
cli-web-gai search ask "best static site generators" --json | \
python3 -c "import json,sys; [print(s['url']) for s in json.load(sys.stdin)['data']['sources']]"
# Answer in another language
cli-web-gai search ask "What is machine learning?" --lang he --json
# Follow-up (same session only)
cli-web-gai search followup "How is it used in cryptography?" --json
```
## JSON output
Add `--json` for structured output: `{"success": true, "data": {query, answer, sources: [{title, url, snippet}], follow_up_prompt}}`. Errors: `{"error": true, "code": "...", "message": "..."}`.
## Utilities
`cli-web-gai doctor [--json]` diagnoses local setup. `cli-web-gai mcp-serve` exposes the commands as MCP tools over stdio. Running with no subcommand opens a REPL with `ask` / `followup` shortcuts.
## Agent tips
- Google rate-limits headless browsers; space out queries. If a CAPTCHA appears, rerun with `--headed` and solve it manually.
- Conversation threading (`followup`) only persists within a single CLI session, not across invocations.
Versions
The database has no other skills named gai-cli.
Database snapshot: 13.11.2026 · package version a88586ca1af7 (SHA-256 digest of the entire package)
Downloads in the last 30 days: 0 · ranking
Report a problem with this skill: harmful content, incorrect descriptions or an author’s removal request.
Similar skills
- 100search-web
Ask a question of a frontier model that has web search. Returns its synthesized answer, with sources when it searched — it may answer from its own knowledge and cite nothing, which is a valid result. Use for current information, or for general questions outside your own… - 100gemini
Gemini CLI for one-shot Q&A, summaries, and generation. Use when user mentions 'gemini', 'ask gemini', 'gemini cli', or needs a quick answer from Google's model. - 100grok-ask
Ask xAI Grok a one-off question with optional live web search. Use when the user wants Grok's opinion or a quick answer that benefits from Grok's distinct training (recent web/X awareness, code-focused models). Read-only by default. Returns Grok's stdout verbatim. - 100notebooklm
Queries managed Google NotebookLM notebooks for citation-backed, source-grounded answers via local Claude Code browser automation; use for uploaded sources, not live web search. - 100ao-answer
Find Orchestrator sessions that wait on the user, show each question or approval as tap-to-answer options, and send the answer back to that session, following ao-rules "Decisions" (default, away mode, standing approvals). Use for "what's waiting on me", "answer <session>",… - 100codewiki-cli
Browses Google Code Wiki (codewiki.google) via cli-web-codewiki — AI-generated documentation for open source repos. Search repositories, read wiki sections, download full wikis as markdown, and ask Gemini questions about a codebase. Use when the user asks about Code Wiki,…