# Generate Gemini Text and Images

Connects AI workflows to Gemini Web generation without a separate API integration. Produces text, images, vision responses, and multi-turn results from a command-line interface.

## Install

```bash
npx skillstore add jimliu/baoyu-danger-gemini-web
```

## Metadata

- Status: approved
- Slug: jimliu-baoyu-danger-gemini-web
- Version: 1.56.2
- Author version: 1.56.2
- Skillstore revision: r2
- Version status: valid
- Tree hash: f3d649af3c1a52ed4a2f80e7b9ffa04065946f0657b4e3f5c667708e1d951d13
- Author: jimliu
- GitHub username: jimliu
- License: MIT
- Repository: https://github.com/jimliu/baoyu-skills/tree/main/skills/baoyu-danger-gemini-web/
- Ref: 1c2ebded2116f8124f45dba86a2e567f56e64d8e
- Supported tools: Claude, Codex, Claude Code
- Audit status: complete
- Agent install advisory: confirmation\_required
- Manual install advisory: allowed
- Artifact signature: available
- Audit attestation: unavailable
- Human verification: not\_verified
- Risk factors: network, filesystem, external\_commands, env\_access
- Quality score: 38
- Quality tier: warning
- Public page: https://skillstore.pages.dev/skills/jimliu-baoyu-danger-gemini-web
- Manifest: https://skillstore.pages.dev/api/skills/jimliu-baoyu-danger-gemini-web/manifest

## Capabilities

- Sends text prompts to supported Gemini Web models.
- Generates images and saves returned image files locally.
- Accepts reference images for vision and image variation workflows.
- Maintains multi-turn conversations through named session files.
- Loads authenticated cookies from a local cache or Chrome CDP session.

## Use Cases

- Prototype Visual Concepts: Generate concept images, variations, and visual references while exploring an early creative direction.
- Run Vision Experiments: Send reference images with focused prompts to compare descriptions, transformations, and multimodal responses.
- Add Gemini to Workflows: Call Gemini text or image generation from an existing automation workflow through a simple command-line interface.

## Prompt Templates

### Simple Text Request

```
Generate a concise explanation of [topic] for [audience]. Use clear headings and three practical examples.
```

### Create an Image

```
Create a detailed image of [subject] in [style]. Use [lighting], [color direction], and a [composition] suitable for [use].
```

### Analyze a Reference

```
Review the reference image and describe its subject, composition, lighting, and visual style. List three specific improvement options.
```

### Continue a Session

```
Continue the current conversation. Use the previous constraints, then produce [requested result] with these checks: [check one], [check two].
```

## Limitations

- Requires an authenticated Google Gemini Web session and supported browser tooling.
- Uses reverse-engineered web endpoints that can change without notice.
- Does not provide official Google API guarantees, quotas, or service-level support.
- Local cookie and session files require careful permission and account isolation.

## Best Practices

- Use a dedicated Google account and browser profile for this integration.
- Review prompts, reference images, and upload destinations before each run.
- Keep cached cookies and session files outside shared directories with restrictive permissions.

## Anti Patterns

- Do not use this skill with a shared browser profile containing unrelated accounts.
- Do not send confidential prompts or images without confirming the destination and retention expectations.
- Do not rely on reverse-engineered endpoints for critical production guarantees.

## Security Audit

- Audited at: 2026-08-07T10:27:44.399\+00:00
- Summary: Most low and medium static matches are false positives from documented Google endpoints, relative imports, template literals, configuration reads, and normal session storage. Confirmed risks include cached authentication-cookie access, shell process execution for WSL detection, browser cookie reuse, and an output filename path escape; the skill should not be published until these are addressed.

## Stats

- Views: 224
- Downloads: 11
- Favorites: 0
- Popularity score: 0
