Agent skill · creative production · aiskillstore
baoyu-danger-gemini-web
Generates images and text via reverse-engineered Gemini Web API. Supports text generation, image generation from prompts, reference images for vision input, and multi-turn conversations. Use when other skills need image generation backend, or when user requests "generate image with Gemini", "Gemini text generation", or needs vision-capable AI generation.
Why this skill is useful
Adds executable scripts for image and text generation using the Gemini Web API, which are not available in public documentation.
What it needs
Requires bun installed locally. About 3k tokens when loaded. Last updated 2026-08-07. 405 stars on the source repository.
What this skill does
Gemini Web Client Text/image generation via Gemini Web API. Supports reference images and multi-turn conversations. User Input Tools When this skill prompts the user, follow this tool-selection rule (priority order): 1. Prefer built-in user-input tools exposed by the current agent runtime — e.g., AskUserQuestion, requestuserinput, clarify, askuser, or any equivalent. 2. Fallback: if no such tool exists, emit a numbered plain-text message and ask the user to reply with the chosen number/answer for each question. 3. Batching: if the tool supports multiple questions per call, combine all applicable questions into a single call; if only single-question, ask them one at a time in priority order. Concrete AskUserQuestion references below are examples — substitute the local equivalent in other runtimes. Script Directory Important: All scripts are located in the scripts/ subdirectory of this skill. Agent Execution Instructions: 1. Determine this SKILL.md file's directory path as {baseDir} 2. Script path = {baseDir}/scripts/<script-name>.ts 3. Resolve ${BUNX} runtime: if bun installed → bun; if npx available → npx -y bun; else suggest installing bun 4. Replace all {baseDir} and ${BUNX} in this document with actual values Script Reference: Script Purpose -------- --------- scripts/main.ts CLI entry point for text/image generation scripts/gemini-webapi/ TypeScript port of geminiwebapi (GeminiClient, types, utils) Consent Check (REQUIRED) Before first use, verify user consent for reverse-engineered API usage. Consent file locations: macOS: ~/Library/Application Support/baoyu-skills/gemini-web/consent.json Linux: ~/.local/share/baoyu-skills/gemini-web/consent.json Windows: %APPDATA%\baoyu-skills\gemini-web\consent.json Flow: 1. Check if consent file exists with accepted: true and disclaimerVersion: "1.0" 2. If valid consent exists → print warning with acceptedAt date, proceed 3. …
How to use it
Reference it in AdaL, Claude Code, Cursor or any coding agent — nothing to install:
@skills aiskillstore/baoyu-danger-gemini-web