Agent skill · Backend & API

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.

JimLiugithub.com/JimLiuGitHub ↗
claude-codecodexships scriptsMIT
Install
npx skills add JimLiu/baoyu-skills --skill baoyu-danger-gemini-web --agent claude-code

Same command for any agent — swap --agent for codex, cursor, copilot.

Facts
Files in the skill folder: 28
SKILL.md size: 6 KB
Bundled scripts: yes
Version: 1.56.2
Path: skills/baoyu-danger-gemini-web/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 24,562
Language: TypeScript
Read our review of the source →

Weekly change comes from our own snapshots, not the repository page — it measures attention, not adoption.

From the SKILL.md

# 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 sugges

What's inside
Steps it walks through
  1. User Input Tools
  2. Script Directory
  3. Consent Check (REQUIRED)
  4. Preferences (EXTEND.md)
  5. Usage
  6. Options
  7. Models
  8. Authentication
  9. Environment Variables
  10. Sessions
  11. Extension Support
Ships with 24 files
  • scripts/bun.lock
  • scripts/gemini-webapi/client.test.ts
  • scripts/gemini-webapi/client.ts
  • scripts/gemini-webapi/components/gem-mixin.ts
  • scripts/gemini-webapi/components/index.ts
  • scripts/gemini-webapi/constants.ts
  • scripts/gemini-webapi/exceptions.ts
  • scripts/gemini-webapi/index.ts
  • scripts/gemini-webapi/types/candidate.ts
  • scripts/gemini-webapi/types/gem.ts
  • scripts/gemini-webapi/types/grpc.ts
  • scripts/gemini-webapi/types/image.ts
  • scripts/gemini-webapi/types/index.ts
  • scripts/gemini-webapi/types/modeloutput.ts
  • scripts/gemini-webapi/utils/cookie-file.ts
  • scripts/gemini-webapi/utils/decorators.ts
  • scripts/gemini-webapi/utils/get-access-token.ts
  • scripts/gemini-webapi/utils/http.ts
  • scripts/gemini-webapi/utils/index.ts
  • scripts/gemini-webapi/utils/load-browser-cookies.ts
  • scripts/gemini-webapi/utils/logger.ts
  • scripts/gemini-webapi/utils/parsing.ts
  • scripts/gemini-webapi/utils/paths.ts
  • scripts/gemini-webapi/utils/rotate-1psidts.ts
first 24 of 28
Commands it runs
Text generation
Image generation
Vision input (reference images)
Multi-turn conversation
JSON output
More from baoyu-skills
All skills →
About this skill
What does the baoyu-danger-gemini-web skill do?

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.

How do I install it?

Run `npx skills add JimLiu/baoyu-skills --skill baoyu-danger-gemini-web --agent claude-code` — it drops the skill into your project so the agent can pick it up. Swap the --agent value for codex, cursor or copilot if you use one of those.

Where does this skill come from?

From JimLiu/baoyu-skills, a repository with 24,562 stars. We read it straight from the repository tree rather than a submitted listing, so what you see here is what is actually published.

Is a popular skill a good skill?

Not necessarily. Stars measure attention, not adoption — a repository can trend for a week and be abandoned. That is why we show the weekly change from our own snapshots next to the total, instead of a single flattering number.

Keep going