Crayfish Automatic Gemini Q&A
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.
Related Skills
A free matrix publishing assistant for Skill developers, guiding distribution to Tencent SkillHub, XiaLiao, XiaYou SkillHub, GitHub, and ClawHub with create, update, and delete safeguards.
A guide for writing Seedance 2.0 video prompts, covering @ references, camera moves, time segments, audio direction, and common pitfalls.
Collects daily conversations, task logs, and errors, then runs a nine-module review to surface blind spots, generate actions, and update memory.
Local long-term memory for AI agents that appends key facts and daily logs, supports cross-session context and search recall, and auto-archives old diaries to gzip files.