ask-opencli

Solid

Ask Grok or Gemini via opencli (browser-session based, no API cost). Use when the user says "问 grok", "问 gemini", "ask grok", "ask gemini", "用 grok 查", "grok 怎么看", "让 gemini 分析", or wants a second opinion from Grok/Gemini without paying API tokens. Routes to opencli which drives the already-logged-in Chrome session.

AI & Automation 154 stars 19 forks Updated 1 weeks ago MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
73
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Ask via OpenCLI (Grok / Gemini) Use `opencli` to query Grok or Gemini through the user's already-logged-in Chrome session. Zero API cost, fully driven by the existing browser session. > **opencli 项目**:https://github.com/jackwener/opencli > **安装**:`npm install -g @jackwener/opencli`(需要 Node ≥20) > **首次运行**:`opencli doctor` 会自动引导安装 Chrome Browser Bridge 扩展 > **登录**:用装了扩展的 Chrome profile 打开 grok.com 和 gemini.google.com 登录一次 > **必须环境变量**:`export OPENCLI_BROWSER_COMMAND_TIMEOUT=300`(写进 shell rc) > **更深度的多 AI 并行调研工作流**:use the `multi-ai-research` skill instead **When to trigger**: - User explicitly asks to query Grok or Gemini ("问一下 grok", "用 gemini 查", "让 grok 看看") - User wants a second opinion / external advisor from Grok or Gemini - User says "ask grok"/"ask gemini" or mentions these two as the information source **When NOT to trigger**: - User wants to use native Gemini CLI (`gemini -p`) → use `ask-gemini` skill instead - User wants Claude's own opinion → answer directly - User wants other AI (Doubao, Yuanbao, ChatGPT, etc.) → use other tools ## Model selection If the user doesn't specify which model, default to **Grok** for real-time / social / news / tech-trend questions, and **Gemini** for long-form reasoning, research, coding, and document analysis. If still ambiguous, ask the user which one to use before sending. ## ⚠️ 常见错误命令(直接 fail fast) | ❌ 错误 | ✅ 正确 | 原因 | |---|---|---| | `opencli gemini chat "..."` | `opencli gemini ask "..."` | 没有 `chat` 子命令 | | `opencli g...

Details

Author
majiayu000
Repository
majiayu000/spellbook
Created
6 months ago
Last Updated
1 weeks ago
Language
Python
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category