ask-opencli

Query Grok or Gemini through an authenticated Chrome session using opencli.

258|26|Updated Dec 9, 2025
One-click install
npx skills add https://github.com/majiayu000/spellbook --skill ask-opencli
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: ask-opencli
Source: https://github.com/majiayu000/spellbook/tree/main/skills/ask-opencli
Command: npx skills add https://github.com/majiayu000/spellbook --skill ask-opencli

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Enable querying Grok or Gemini without API tokens by leveraging an already-logged-in Chrome session via opencli, eliminating API costs and token limits.

Core Features & Use Cases

  • Real-time querying of Grok or Gemini through your existing browser session.
  • Model selection guidance and safe fallback to ensure reliable answers for quick opinions and research.
  • Use case: quickly verify a claim by cross-checking articles or notes without incurring API usage fees.

Quick Start

Ask Grok or Gemini to analyze your prompt using the existing Chrome session via opencli.

Frequently Asked Questions about ask-opencli

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

FAQPage Schema
How do I query Grok or Gemini without paying API costs?

You can query Grok or Gemini without API costs by using opencli to route requests through an already-logged-in Chrome browser session instead of making paid API calls.

Can I use my existing Chrome session to get AI second opinions for research?

Yes, you can get AI second opinions by leveraging opencli to send real-time research questions to Grok or Gemini using your active Chrome browser login.

What do I need to set up opencli for browser-based Grok queries?

You need opencli installed, a logged-in Chrome profile, and the OPENCLI_BROWSER_COMMAND_TIMEOUT environment variable configured to prevent session timeouts during browser-based Grok queries.

Why does my opencli browser session timeout when querying Gemini?

Your opencli browser session times out because the default command duration is exceeded; setting the OPENCLI_BROWSER_COMMAND_TIMEOUT environment variable to a higher value prevents this issue.

Does querying Grok via a browser session support model selection?

Yes, querying Grok via a browser session includes model selection guidance and safe fallback mechanisms to ensure reliable answers for your quick research tasks.