gemini-image-analysis

Gemini Image Analysis (Bun + TypeScript)

Safety Notice

This listing is imported from skills.sh public index metadata. Review upstream SKILL.md and repository scripts before running.

Copy this and send it to your AI assistant to learn

Install skill "gemini-image-analysis" with this command: npx skills add cjkihl/cjkihl/cjkihl-cjkihl-gemini-image-analysis

Gemini Image Analysis (Bun + TypeScript)

When to use

Use this Skill when you need to analyze one or multiple images (screenshots, photos, diagrams) with Gemini Flash via the REST API.

Quick start

GEMINI_API_KEY="YOUR_KEY"
bun .claude/skills/gemini-image-analysis/scripts/gemini-image-analyze.ts
--prompt "Caption this image."
/path/to/image.jpg

macOS Keychain (optional)

If you store GEMINI_API_KEY in the macOS Keychain:

GEMINI_API_KEY="$(security find-generic-password -a "$(whoami)" -s "GEMINI_API_KEY" -w)"
bun .claude/skills/gemini-image-analysis/scripts/gemini-image-analyze.ts
--prompt "Caption this image."
/path/to/image.jpg

Multiple images

Send multiple images in one request (useful for comparison or “before/after”):

GEMINI_API_KEY="YOUR_KEY"
bun .claude/skills/gemini-image-analysis/scripts/gemini-image-analyze.ts
--prompt "Compare these images and describe the differences."
/path/to/image1.jpg
/path/to/image2.png

Options

  • --prompt <text> : Text instruction for the model (default: Caption this image. )

  • --model <model> : Model name (default: gemini-3-flash-preview )

  • --json : Print the full JSON response instead of extracted text

Notes

  • The script reads GEMINI_API_KEY from the environment and never stores it.

  • Supported image types: .jpg , .jpeg , .png , .webp , .gif .

Source Transparency

This detail page is rendered from real SKILL.md content. Trust labels are metadata-based hints, not a safety guarantee.

Related Skills

Related by shared tags or category signals.

Coding

CP2K Cross-Code Input Studio

Generate, refine, explain, and cross-convert CP2K-centered input drafts for computational chemistry and materials workflows. Use when a user wants a CP2K .in...

Registry SourceRecently Updated
Coding

PDF to markdown converter

Convert PDF and image documents to clean Markdown via the PDF2Markdown CLI. Use when the user wants to extract text from PDFs, convert PDFs to markdown, pars...

Registry SourceRecently Updated
Coding

VMware Monitor

VMware vCenter/ESXi read-only monitoring skill. Code-level enforced safety — no destructive operations exist in this codebase. Query inventory, check health/...

Registry SourceRecently Updated
0318
zw008