Tooluck logoTooluck
SKILL.md

baoyu-danger-gemini-web

Agent skill fromJimLiu/baoyu-skills

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 to install baoyu-danger-gemini-web

install baoyu-danger-gemini-web
# install the baoyu-skills pack with the skills CLI
npx skills add JimLiu/baoyu-skills

# or add only this skill to Claude Code: copy the folder

skills/baoyu-danger-gemini-web/

# into

~/.claude/skills/baoyu-danger-gemini-web/ (all projects)

.claude/skills/baoyu-danger-gemini-web/ (one project)

skills/baoyu-danger-gemini-web/SKILL.md

MITFull file
1# Gemini Web Client
2
3## User Input Tools
4
5When this skill prompts the user, follow this tool-selection rule (priority order):
6
71. **Prefer built-in user-input tools** exposed by the current agent runtime — e.g., `AskUserQuestion`, `request_user_input`, `clarify`, `ask_user`, or any equivalent.
82. **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.
93. **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.
10
11Concrete `AskUserQuestion` references below are examples — substitute the local equivalent in other runtimes.
12
13## Script Directory
14
15`{baseDir}` = this SKILL.md's directory; scripts are at `{baseDir}/scripts/<script-name>.ts`. Resolve `${BUN_X}`: `bun` if installed; else `npx -y bun`; else suggest installing bun. Replace `{baseDir}` and `${BUN_X}` with actual values.
16
17| Script | Purpose |
18|--------|---------|
19| `scripts/main.ts` | CLI entry point for text/image generation |
20| `scripts/gemini-webapi/*` | TypeScript port of `gemini_webapi` (GeminiClient, types, utils) |
21
22## Consent Check (REQUIRED)
23
24Before first use, verify user consent for reverse-engineered API usage. Consent file:
25- macOS: `~/Library/Application Support/baoyu-skills/gemini-web/consent.json`
26- Linux: `~/.local/share/baoyu-skills/gemini-web/consent.json`
27…

Excerpt shown under the repository's MIT license.

More skills in baoyu-skills

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates