← ClaudeAtlas

baoyu-danger-gemini-weblisted

Image generation skill using Gemini Web. Generates images from text prompts via Google Gemini. Also supports text generation. Use as the image generation backend for other skills like cover-image, xhs-images, article-illustrator.
aiskillstore/marketplace · ★ 329 · Web & Frontend · score 79
Install: claude install-skill aiskillstore/marketplace
# Gemini Web Client Supports: - Text generation - Image generation (download + save) - Reference images for vision input (attach local images) - Multi-turn conversations via persisted `--sessionId` ## 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 `SKILL_DIR` 2. Script path = `${SKILL_DIR}/scripts/<script-name>.ts` 3. Replace all `${SKILL_DIR}` in this document with the actual path **Script Reference**: | Script | Purpose | |--------|---------| | `scripts/main.ts` | CLI entry point for text/image generation | | `scripts/gemini-webapi/*` | TypeScript port of `gemini_webapi` (GeminiClient, types, utils) | ## ⚠️ Disclaimer (REQUIRED) **Before using this skill**, the consent check MUST be performed. ### Consent Check Flow **Step 1**: Check consent file ```bash # macOS cat ~/Library/Application\ Support/baoyu-skills/gemini-web/consent.json 2>/dev/null # Linux cat ~/.local/share/baoyu-skills/gemini-web/consent.json 2>/dev/null # Windows (PowerShell) Get-Content "$env:APPDATA\baoyu-skills\gemini-web\consent.json" 2>$null ``` **Step 2**: If consent exists and `accepted: true` with matching `disclaimerVersion: "1.0"`: Print warning and proceed: ``` ⚠️ Warning: Using reverse-engineered Gemini Web API (not official). Accepted on: <acceptedAt date> ``` **Step 3**: If consent file doesn't exist or `disclaimerVersion` mismatch: Displa