gemini-image-skill

gemini-image-skill is a skill for Claude Code, Codex from jykim/claude-obsidian-skills. It costs 0 tokens per session (1,689 once invoked), scanned A, original, MIT.

An image-generation workflow that uses Google's Gemini API to create images for documents and presentations. It covers choosing a visual style, image model, resolution, and aspect ratio, with an approval step.

In plain words
What is it for?
Use it to create infographics, technical diagrams, cartoons, minimalist graphics, or other configured images for slides and documents.
Why use it?
Creating presentation or document visuals can require deciding what each section needs and configuring an image service correctly. This workflow organizes those decisions and the generation process.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit Use it to create infographics, technical diagrams, cartoons, minimalist graphics, or other configured images for slides and documents.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/jykim/claude-obsidian-skills/gemini-image-skill
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add jykim/claude-obsidian-skills --skill gemini-image-skill
Clone the repo
git clone --depth 1 https://github.com/jykim/claude-obsidian-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for gemini-image-skill

README.md
[![agentmods](https://agentmods.dev/badge/skills/jykim/claude-obsidian-skills/gemini-image-skill/github.svg)](https://agentmods.dev/skills/jykim/claude-obsidian-skills/gemini-image-skill)
Your own site
<a href="https://agentmods.dev/skills/jykim/claude-obsidian-skills/gemini-image-skill"><img src="https://agentmods.dev/badge/skills/jykim/claude-obsidian-skills/gemini-image-skill/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for gemini-image-skill

Your own site · 80×15
<a href="https://agentmods.dev/skills/jykim/claude-obsidian-skills/gemini-image-skill"><img src="https://agentmods.dev/badge/skills/jykim/claude-obsidian-skills/gemini-image-skill.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,689 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 4 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Excessive Agency · line 71
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 158
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 71
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Excessive Agency · line 158
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.01689
Opus 5 $0.00000 $0.00844
Sonnet 5 $0.00000 $0.00338
Haiku 4.5 $0.00000 $0.00169

Measured 12d ago against content hash c32f4f8a3255, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

gemini-image-skill scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (generate_gemini_image.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

gemini-image-skill/SKILL.md · 184 lines

How it starts

The opening of the file, as written. The whole thing — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Gemini Image Generation Skill

Google Gemini API를 사용한 이미지 생성 스킬. 슬라이드 및 문서용 이미지를 생성합니다.

Purpose

Gemini 2.0 Flash 또는 Imagen 3 모델을 사용하여 문서/슬라이드에 필요한 이미지를 생성합니다. 해상도와 종횡비 선택을 지원하며, 사용자 승인 워크플로우를 포함합니다.

When to Use This Skill

  • "Gemini로 이미지 생성해줘"
  • "슬라이드용 그림을 Gemini API로 만들어줘"
  • "프레젠테이션에 넣을 일러스트 생성"
  • 무료 티어 이미지 생성이 필요할 때 (Gemini 2.0 Flash)
  • 특정 종횡비가 필요할 때 (16:9, 9:16 등)

Environment Setup

# 1. API 키 설정
export GEMINI_API_KEY="your-api-key"

# 2. 의존성 설치
pip install google-genai Pillow

Workflow

Phase 1: Analysis

  1. 대상 문서/슬라이드 읽기
  2. 이미지가 필요한 섹션/슬라이드 식별
  3. 각 섹션의 핵심 컨셉 추출

Phase 2: Style & Configuration Selection

스타일 옵션:

# 스타일 설명 적합한 용도
1 Infographic (기본) 레이블/텍스트 포함, dense 문서, 발표
2 Technical Diagram 깔끔한 선, 플로우차트 기술 문서
3 Vibrant Modern Cartoon 밝은 그라데이션, 플랫 비즈니스, 교육
4 Professional Minimalist 절제된 색상, 기하학 공식 발표
5 Bold Graphic 고대비, 팝아트 마케팅
6 Custom 사용자 지정 자유

기본값: Infographic 스타일 (텍스트/레이블 포함)

모델 선택:

모델 비용 특징
gemini-3-pro-image-preview $0.06/장 기본값, 한글 완벽, 최고 품질
gemini-2.5-flash-image $0.039/장 종횡비 지원, 빠름
gemini-2.0-flash-exp 무료 빠름, 반복용 (한글 깨짐)
imagen-4.0-generate-001 $0.03/장 Imagen 4.0, 고품질

종횡비 옵션: 1:1, 9:16, 16:9, 3:4, 4:3, 3:2, 2:3, 21:9

슬라이드용: --aspect-ratio 16:9 (기본 모델이 gemini-3-pro-image-preview)

Phase 3: Image Generation

python3 "generate_gemini_image.py" \
    "[상세 설명]" \
    --output-path "[경로]" \
    --style "[스타일]" \
    --model "[모델]" \
    --aspect-ratio "[종횡비]" \
    --auto-approve

Phase 4: Integration

슬라이드:

![right fit](_files_/filename.png)

문서:

![](path/to/image.png)

Style Descriptions for Script

스타일 --style 값
Infographic (기본) "clean infographic with labeled sections, icons, and visual hierarchy"
Technical Diagram "technical diagram with flowchart elements, arrows, and labeled components"
Vibrant Modern Cartoon "vibrant modern minimalist cartoon illustration"
Professional Minimalist "professional minimalist illustration with muted colors and clean geometric shapes"
Bold Graphic "bold graphic illustration with high contrast colors and strong geometric shapes"

Read the full file on GitHub · 184 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 184 lines · 0 tokens per session scan A c32f4f8a3255

Subscribe to this mod's changes

gemini-image-skill is a skill published in the GitHub repository jykim/claude-obsidian-skills (50 stars, last pushed 19d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,689 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories