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.

ECNU-ICALKgithub.com/ECNU-ICALKGitHub ↗
claude-codeships scripts
Install
npx skills add ECNU-ICALK/AutoSkill --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: 25
SKILL.md size: 6 KB
Bundled scripts: yes
Path: SkillBank/Common/baoyu-skills/baoyu-danger-gemini-web/SKILL.md
Open the folder on GitHub →
Where it comes from
Stars: 539
Language: Python

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. ## 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) | ## 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 discl

What's inside
Steps it walks through
  1. Script Directory
  2. Consent Check (REQUIRED)
  3. Preferences (EXTEND.md)
  4. Usage
  5. Options
  6. Models
  7. Authentication
  8. Environment Variables
  9. Sessions
  10. Extension Support
Ships with 24 files
  • 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
  • scripts/gemini-webapi/utils/upload-file.ts
  • scripts/main.ts
first 24 of 25
Commands it runs
Check project-level first
test -f .baoyu-skills/baoyu-danger-gemini-web/EXTEND.md && echo "project"
Then user-level (cross-platform: $HOME works on macOS/Linux/WSL)
test -f "$HOME/.baoyu-skills/baoyu-danger-gemini-web/EXTEND.md" && echo "user"
Text generation
npx -y bun ${SKILL_DIR}/scripts/main.ts "Your prompt"
npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "Your prompt" --model gemini-2.5-pro
Image generation
npx -y bun ${SKILL_DIR}/scripts/main.ts --prompt "A cute cat" --image cat.png
npx -y bun ${SKILL_DIR}/scripts/main.ts --promptfiles system.md content.md --image out.png
More from AutoSkill
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 ECNU-ICALK/AutoSkill --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 ECNU-ICALK/AutoSkill, a repository with 539 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