Install
$ agentstack add skill-hukusuke1007-agent-skills-nano-banana-image-gen ✓ scanned · ✓ verified — works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ● Environment & secrets Used
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
About
Nano Banana 画像生成
実行手順
- ユーザーのリクエストから画像生成プロンプトを確定する
- マルチモーダル指示(フレーム画像など入力画像あり)の場合は
--image引数を付ける - 以下のコマンドを実行する
テキストのみ:
python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト"
画像+テキスト:
python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト" --image "画像パス"
画像複数+テキスト:
python .claude/skills/nano-banana-image-gen/scripts/nano_banana_gen.py "プロンプトテキスト" --image "画像1" --image "画像2"
- 出力パスを確認してユーザーに報告する
設定
プロジェクトルートの .env に以下の環境変数を設定する:
GEMINI_API_KEY=your_api_key_here
GENERATED_IMAGE_OUTPUT_PATH=images/generated
セキュリティ: .env をプロジェクトルートに置く場合は、settings.json の denyRead に .env を追加してAIが読み込めないよう設定すること。
// .claude/settings.json
{
"permissions": {
"deny": ["Read(.env)", "Read(.env.*)"]
}
}
| 変数名 | 説明 | | ----------------------------- | ---------------------------------------------------- | | GEMINI_API_KEY | Google Gemini APIキー(必須) | | GENERATED_IMAGE_OUTPUT_PATH | 出力先ディレクトリ(デフォルト: images/generated) |
出力
- ファイル名:
YYYYMMDD_HHMMSS.png - 保存先: プロジェクトルートの
images/generated/
依存パッケージ確認
初回エラー時は以下でインストール:
pip install google-genai pillow python-dotenv
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: hukusuke1007
- Source: hukusuke1007/agent-skills
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet — be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.