AI Agent Hub
Back to skills
Crayfish Automatic Gemini Q&A icon

Crayfish Automatic Gemini Q&A

AI Agent Updated 2026.08.30

Paste the following prompt into your AI chat to install this skill:

Please install @user_627aed5d/gemini001 according to https://skillhub.cn/install/skillhub.md.

About this skill

Problem Addressed

When engineers already know what to ask but do not want to repeatedly open a browser, switch tabs, and copy answers, this skill turns “asking Gemini” into a natural-language call. It is useful for code blockers, design trade-offs, and quick fact checks that need immediate AI input, rather than replacing local inference, retrieval, or long-running automation.

How It Works and Boundaries

It connects to an Edge browser started with --remote-debugging-port=9222 via Playwright, reusing the existing logged-in state to avoid repeated sign-in. The main steps are: locate or create a Gemini tab, identify the input box and answer region, simulate typing and submit with Enter, then wait for generation to finish. It relies on Python 3.8+, playwright, and websocket-client, treating the browser as a stateful execution environment. It fits short questions, single-turn Q&A, and answer retrieval; page layout changes, missing login, an unstarted CDP port, or multi-turn interaction may require extra handling.

Use Cases

  • When code is stuck, send the error context to Gemini for a quick fix direction.
  • During design review, ask Gemini for counterarguments and alternatives based on constraints.
  • While checking an API, submit the parameter name and target language to get examples and caveats.
  • When auditing config items, send each name and symptom to Gemini for explanations and checks.

Best For

  • Backend engineers facing errors who do not want to open a browser: get Gemini’s reading of logs and stacks.
  • Frontend engineers needing instant references: send component API or browser compatibility questions to Gemini.
  • Architects reviewing designs: ask Gemini to flag risks and alternatives for candidate approaches.
  • SREs handling multiple incidents: submit alert summaries to Gemini one by one for triage hints.