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. Skill: baoyu-danger-gemini-web Owner: jimliu Summary: 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. Tags: lat
Rank
62
Safety
84
Downloads
2.5k
Updated
Oct 9, 2026
Version
1.56.1
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.5K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.5K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.56.1release · observed May 24, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s17dfbhg0khk4fvtnx0stqg0yx83j25z:baoyu-danger-gemini-web- Node.js workspace detected. Install dependencies securely: run `npm ci --ignore-scripts` to prevent post-install lifecycle triggers from running arbitrary code, then selectively audit the dependency tree.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-danger-gemini-web/snapshot"
Documentation
CLAWHUB
19,856 characters of source documentation, loaded on request.
Extracted files
4 files captured from the source.
SKILL.md
---
name: baoyu-danger-gemini-web
description: 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.
version: 1.56.1
metadata:
openclaw:
homepage: https://github.com/JimLiu/baoyu-skills#baoyu-danger-gemini-web
requires:
anyBins:
- bun
- npx
---
# 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`, `request_user_input`, `clarify`, `ask_user`, 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 `${BUN_X}` runtime: if `bun` installed → `bun`; if `npx` available → `npx -y bun`; else suggest installing bun
4. Replace all `{baseDir}` and `${BUN_X}` 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 `gemini_webapi` (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. If no consent → show disclaimer, ask user via `AskUserQuestion`:
- "Yes, I accept" → create consent file with ISO timestamp, proceed
- "No, I decline" → output decline message, stop
4. Consent file format: `{"version":1,"accepted":true,"acceptedAt":"<ISO>","disclaimerVersion":"1.0"}`
---
## Preferences (EXTEND.md)
Check EXTEND.md in priority order — the first one found wi_meta.json
{
"ownerId": "kn7csrrndw79hpke5d0gsnx93d82k67r",
"slug": "baoyu-danger-gemini-web",
"version": "1.56.1",
"publishedAt": 1779660539801
}scripts/package.json
{
"name": "baoyu-danger-gemini-web-scripts",
"private": true,
"type": "module",
"dependencies": {
"baoyu-chrome-cdp": "^0.1.0"
}
}skill-card.md
## Description: <br> Generates images and text via reverse-engineered Gemini Web API. <br> This skill is ready for commercial/non-commercial use. <br> ## Publisher: <br> [jimliu](https://clawhub.ai/user/jimliu) <br> ### License/Terms of Use: <br> MIT-0 <br> ## Use Case: <br> Developers and agents use this skill to generate Gemini Web text responses, image files, JSON responses, and multi-turn conversation outputs from prompts and optional reference images. <br> ### Deployment Geography for Use: <br> Global <br> ## Known Risks and Mitigations: <br> Risk: The skill is an unofficial Gemini Web client that can reuse a Google browser session and cache live session cookies locally. <br> Mitigation: Use a dedicated Chrome profile or custom data directory, avoid reusing normal browsing sessions, and delete stored cookies and session files when finished. <br> Risk: Prompts and reference files may be sent to Gemini Web during text, vision, or image generation. <br> Mitigation: Avoid sending sensitive local files, private prompts, secrets, or regulated data unless the user has explicitly approved that use. <br> ## Reference(s): <br> - [ClawHub skill page](https://clawhub.ai/jimliu/baoyu-danger-gemini-web) <br> - [Project homepage from ClawHub metadata](https://github.com/JimLiu/baoyu-skills#baoyu-danger-gemini-web) <br> ## Skill Output: <br> **Output Type(s):** [Text, Files, JSON] <br> **Output Format:** [Plain text, JSON, saved image files, or saved image file paths] <br> **Output Parameters:** [1D] <br> **Other Properties Related to Output:** [Can preserve multi-turn session state in local session files when a session ID is used.] <br> ## Skill Version(s): <br> 1.56.1 (source: frontmatter and release evidence) <br> ## Ethical Considerations: <br> Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment. <br>
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jimliu/skills/baoyu-danger-gemini-web",
"sourceUrl": "https://clawhub.ai/jimliu/skills/baoyu-danger-gemini-web",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T14:36:44.262Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-danger-gemini-web/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-danger-gemini-web/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T14:36:44.262Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.5K downloads",
"href": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T14:36:44.262Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.56.1",
"href": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-24T22:08:59.801Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-danger-gemini-web/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jimliu-baoyu-danger-gemini-web/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.56.1",
"description": "Version 1.56.1 - Added: `version` and `metadata` fields to SKILL.md for improved compatibility and discoverability. - Updated: User input tool selection guidelines for better integration across diverse runtimes. - Enhanced: Script instructions now support both `bun` and `npx` fallback, with runtime variable `${BUN_X}`. - Improved: Preferences section now supports XDG config spec for EXTEND.md location; updated priority/search order. - Clarified: Authentication instructions regarding Chrome profile reuse and session handling. - Added: New scripts - `scripts/bun.lock`, `scripts/gemini-webapi/client.test.ts`, `scripts/package.json` for reproducible builds and improved testability.",
"href": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceUrl": "https://clawhub.ai/jimliu/baoyu-danger-gemini-web",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-05-24T22:08:59.801Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
