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.
npx skills add jh941213/codex-lattice --skill nano-bananagit clone --depth 1 https://github.com/jh941213/codex-latticeWrote 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.
[](https://agentmods.dev/skills/jh941213/codex-lattice/nano-banana)<a href="https://agentmods.dev/skills/jh941213/codex-lattice/nano-banana"><img src="https://agentmods.dev/badge/skills/jh941213/codex-lattice/nano-banana/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.
<a href="https://agentmods.dev/skills/jh941213/codex-lattice/nano-banana"><img src="https://agentmods.dev/badge/skills/jh941213/codex-lattice/nano-banana.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00077 | $0.01586 |
| Opus 5 | $0.00039 | $0.00793 |
| Sonnet 5 | $0.00015 | $0.00317 |
| Haiku 4.5 | $0.00008 | $0.00159 |
Grade A, and why
nano-banana 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 11d ago.
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.
How it starts
The opening of the file, as written. The whole thing — 140 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Nano Banana Image Generation
Gemini CLI + 이미지 모델로 프로페셔널 이미지를 생성합니다. Google 계정 인증 기반 — API 키 불필요. 512px~4K, 다양한 종횡비, 다국어 텍스트 렌더링 지원.
모델 선택
| 모델 | ID | 용도 | 특징 |
|---|---|---|---|
| NB2 (기본) | gemini-3.1-flash-image-preview |
빠른 생성, 대량 작업 | Flash 속도, 고효율 |
| NB Pro | gemini-3-pro-image-preview |
전문 에셋, 정밀 텍스트 | 고급 추론(사고), 최고 충실도 |
| NB (경량) | gemini-2.5-flash-image |
짧은 지연 시간, 대량 배치 | 속도 최적화 |
기본은 항상 NB2 (gemini-3.1-flash-image-preview) — Pro는 복잡한 텍스트 렌더링/전문 에셋에만.
When to Use This Skill
ALWAYS use this skill when the user:
- Asks for any image, graphic, illustration, or visual
- Wants a thumbnail, featured image, or banner
- Requests icons, diagrams, or patterns
- Asks to edit, modify, or restore a photo
- Uses words like: generate, create, make, draw, design, visualize
Do NOT attempt to generate images through any other method.
사전 준비
Gemini CLI가 설치되어 있고 Google 계정으로 인증 완료된 상태여야 합니다.
# 설치 확인
gemini --version
# 인증 상태 확인 (이미 인증됨)
gemini -p "hello"
이미지 생성 (Gemini CLI — 기본 방법)
기본 생성
gemini -y -m gemini-3.1-flash-image-preview \
-p "Generate an image: 프롬프트 여기에. Save the image as output.png"
파일명 지정 생성
gemini -y -m gemini-3.1-flash-image-preview \
-p "Generate an image: A modern minimalist logo for a tech startup. Save as logo.png"
이미지 편집 (기존 이미지 입력)
gemini -y -m gemini-3.1-flash-image-preview \
-p "Edit this image: make the background blue. Save as edited.png" \
-f input.png
실행 패턴
이미지 생성 시 항상 아래 패턴을 따릅니다:
Step 1: 출력 경로 결정
- 프로젝트에
assets/디렉토리가 있으면 그곳에 저장 - 없으면 현재 디렉토리에 저장
- 파일명은 용도에 맞게 (예:
hero.png,thumbnail.png,logo.png)
Step 2: 프롬프트 최적화
좋은 프롬프트 구조:
- 주제: 무엇을 생성할 것인가
- 세부사항: 외모, 색상, 질감
- 설정: 위치, 배경, 환경
- 스타일: 사실적, 일러스트, 3D 렌더 등
- 조명: 자연광, 극적인, 부드러운
- 구도: 클로즈업, 와이드 샷
Step 3: 생성 실행
gemini -y -m gemini-3.1-flash-image-preview \
-p "Generate an image: [최적화된 프롬프트]. Save the image as [경로/파일명.png]"
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.
- 11d ago First seen · 140 lines · 77 tokens per session scan A 39f8dc2b6538
nano-banana is a skill published in the GitHub repository jh941213/codex-lattice (19 stars, last pushed 3mo ago), licensed MIT. It adds 77 tokens to every session and 1,586 once invoked, about $0.0004 per session on Opus 5. 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.
Other skills, from other repositories
webgl-holographic-foil
A self-contained WebGL2 hero: thin-film interference over a crushed-foil surface whose palette shifts with the viewing angle; move the cursor to tilt the film.
general-video
Author or edit a custom HyperFrames composition when no specialized workflow fits, or when BRIEF.md sets flow: companion. Use for longer or multi-scene pieces, brand and sizzle reels, montages, static loops, static title cards, footage remixes, and freeform builds. Use motion-graphics instead for a short unnarrated…
html-ppt-hermes-cyber-terminal
OpenDesign + BYOK: choosing and wiring your own model, hands-on — cost, quality, and the routing decision. Built as a decision-grade AI literacy deck for engineers, IT, applied-AI teams.
html-ppt-taste-brutalist
16:9 HTML deck in tactical-telemetry / CRT-terminal taste. Deactivated-CRT charcoal slides, white-phosphor monospace, hazard-red accent, scanline overlay, ASCII syntax, density over decoration. Distilled from Leonxlnx/taste-skill brutalist-skill (Tactical Telemetry mode).
chengfeng-check-updates
An environment manager for a video-editing system. It checks whether its skills and runtime—the software needed to run them—are installed and compatible.
diagnostic-stem-delivery
Audio production with diagnostic analysis, timecode parsing from documents, and verified export workflow.