Ccskill Nanobananaのロゴ

Ccskill Nanobanana

組織
feedtailor
ccskill-nanobanana

Skill for image generation needs. Generate and edit high-quality images via Google Nano Banana (Gemini Image API). Two models: Nano Banana 2 Lite (fast, low-cost, default) and Nano Banana Pro (high-resolution, dense text, complex instruction following). Supports logos, infographics, illustrations, photorealistic images, and more.

概要

公開者feedtailor
リポジトリccskill-nanobanana
スキル名ccskill-nanobanana
スター
29
フォーク
8
同梱ファイル
3
ライセンスMIT
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 3個の同梱ファイル

    モデルが作業中に読み取れるスクリプト、テンプレート、参考資料です。ファイルは読み取り専用で、実行されることはありません。

  • オープンソース

    feedtailorがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Ccskill Nanobanana」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/feedtailor/ccskill-nanobanana/tree/main/.claude/skills/ccskill-nanobanana
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをそのAIエージェントのスキルディレクトリにコピーしてください。

Claude Code — .claude/skills
git clone --depth 1 https://github.com/feedtailor/ccskill-nanobanana.git /tmp/ccskill-nanobanana
mkdir -p .claude/skills
cp -r /tmp/ccskill-nanobanana/.claude/skills/ccskill-nanobanana .claude/skills/ccskill-nanobanana
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでCcskill Nanobananaを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にCcskill Nanobananaを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Ccskill Nanobananaは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

ccskill-nanobanana — Nano Banana Image Generation Skill

Overview

This skill generates images with the Google Nano Banana family (Gemini Image API). The user states their intent ("I want a hero image for my blog post"); Claude picks the model, crafts a structured prompt, chooses parameters, and runs the command. Users are not expected to write prompts themselves.

Sister skill: ccskill-gptimage (OpenAI gpt-image-2). If both are installed, see "Sister skill comparison" below for which to reach for first.

Prerequisites

  • The repository is installed via ./install.sh, which registers the ccskill-nanobanana command in ~/.local/bin.
  • If the command is not on PATH, fall back to the venv directly: $CCSKILL_NANOBANANA_DIR/venv/bin/python $CCSKILL_NANOBANANA_DIR/generate_image.py "prompt"
  • A Gemini API key must be configured (GEMINI_API_KEY env var, or .env in the repository root). Get one at https://aistudio.google.com/apikey
  • If anything fails, run ccskill-nanobanana doctor to diagnose.

Usage

bash
ccskill-nanobanana generate "prompt" [options...]

Options

OptionDescriptionDefaultChoices
--modelModel to uselitelite, pro, or any Gemini image model ID
--resolutionOutput resolutionlite: 1K / pro: 2K1K, 2K, 4K (lite supports 1K only)
--aspectAspect ratio16:91:1, 16:9, 9:16, 4:3, 3:2, etc.
--outputOutput directory./generated_imagesany path
--referenceReference image(s), repeatablenoneimage file path (up to 14)

Model Selection

Nano Banana 2 Lite (lite)Nano Banana Pro (pro)
Model IDgemini-3.1-flash-lite-imagegemini-3-pro-image
Cost (approx.)~$0.034 / image (1K)~$0.134 (1K/2K) – $0.24 (4K) / image
Resolution1K only1K / 2K / 4K
SpeedLightning fastSlower ("thinking" model)
Best forEveryday images, iteration, drafts, illustrations, photosDense text, complex infographics, 2K/4K output, strict multi-reference composition

Default to lite. Switch to pro when the request needs:

  • 2K/4K resolution output
  • Long or dense legible text (infographics, posters with paragraphs)
  • Complex multi-step instruction following or strict layout control

Examples

Basic generation (lite, 1K):

bash
ccskill-nanobanana generate "a cat playing piano in watercolor style"

High-resolution wide image with Pro:

bash
ccskill-nanobanana generate "sunset coastline, cinematic" --model pro --resolution 4K --aspect 16:9

Edit with reference images:

bash
ccskill-nanobanana generate "change background to sunset" --reference ./original.png
ccskill-nanobanana generate "draw this person in this pose" --reference ./person.png --reference ./pose.png

Reference image use cases: partial editing (background, colors), style transfer, character consistency, image compositing.

Prompting Guides (read before crafting prompts)

Pick the guide matching the selected model and Read it when crafting non-trivial prompts:

  • Lite (default): guides/prompting-lite.md — 5 core components (Style/Subject/Setting/Action/Composition), editing strategies, fast-iteration workflow.
  • Pro: guides/prompting-pro.md — Creative Director approach, text rendering & infographics, identity locking, structural control, 2D→3D.

Universal principles (both models):

  • Use natural language and full sentences, not keyword soups.
  • Be specific: subject, setting, lighting, mood, materiality.
  • When editing, state the change directly ("change the tie to green").
  • For text in images, put the exact string in quotes and describe typography.

Output

  • Images are saved to the output directory (default: ./generated_images), filename is a timestamp (e.g., 20260702_153045.png); the extension is auto-detected from the API response (PNG/JPEG/WebP).
  • A JSON metadata sidecar {image}.json is written next to each image, recording model, prompt, resolution, aspect ratio, and reference images.
  • Every image is also stocked into the user-wide gallery store (~/.ccskill-nanobanana/gallery/, override with CCSKILL_NANOBANANA_GALLERY_DIR), regardless of which project it was generated from.

Browsing Generated Images

bash
ccskill-nanobanana browse            # delegates to ccskill-gallery if installed
ccskill-nanobanana browse --port 9000
ccskill-nanobanana browse --bind 0.0.0.0   # for remote-dev: view from another machine

browse has no built-in viewer. If ccskill-gallery is installed, it launches that (a cross-skill viewer that also covers ccskill-omniflash and ccskill-gptimage output); --port/--bind/--no-open are passed through as-is. If it isn't installed, browse just prints where the files live — the gallery store itself is always written to regardless.

Sister skill comparison (vs ccskill-gptimage)

Use caseFirst choice
Fast, cheap everyday generation & iterationnanobanana (lite)
Dense Japanese/multilingual text, complex instructionsgptimage or nanobanana (pro) — compare
2K/4K high-resolution outputnanobanana (pro)
Transparent backgroundnanobanana (gptimage's gpt-image-2 cannot)
Reference-image fidelity with masksgptimage (supports --mask)

Notes

  • Nano Banana is a paid API; charges apply per image. Prefer lite unless the task needs Pro (see Model Selection).
  • Generated images include a SynthID watermark.
  • Verify factual accuracy of generated diagrams/infographics before use.

Troubleshooting

Run ccskill-nanobanana doctor first. Common issues:

SymptomFix
command not found: ccskill-nanobananacd <repo> && ./install.sh, ensure ~/.local/bin is in PATH
API error mentioning keyConfigure GEMINI_API_KEY (env or repo .env)
モデル ... は解像度 ... に対応していませんlite is 1K-only; drop --resolution or use --model pro
Old skill nano-banana-pro still appearsRe-run ./install.sh (it migrates the old registration)

同梱ファイル

スキルが読み込まれている間、モデルは必要に応じてこれらを読み取ります。読み取り可能なファイルとして提供され、実行されることはありません。

よくある質問

AIスキル「Ccskill Nanobanana」では何ができますか?

Skill for image generation needs. Generate and edit high-quality images via Google Nano Banana (Gemini Image API). Two models: Nano Banana 2 Lite (fast, low-cost, default) and Nano Banana Pro (high-resolution, dense text, complex instruction following). Supports logos, infographics, illustrations, photorealistic images, and more.

TypingMindでCcskill Nanobananaを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Ccskill Nanobananaはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにCcskill Nanobananaをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/feedtailor/ccskill-nanobanana/tree/main/.claude/skills/ccskill-nanobananaを貼り付けてください。TypingMindがSKILL.mdを読み込み、関連ファイルをまとめて、チャットごとに有効にできるスキルとしてインストールします。

Ccskill Nanobananaを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Ccskill Nanobananaで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもCcskill Nanobananaを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Ccskill Nanobanana」は無料ですか?

はい。feedtailorがMITライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇