Przejdź do treści
Biblioteka skilli
AI i agenci · Research

gemini

/gemini

Obsługuje Gemini: generuje obrazy, analizuje wideo i YouTube oraz odpowiada na pytania z podanych źródeł z cytowaniem.

Repozytorium
switchboard ↗
Licencja
Apache-2.0
Ostatnia zmiana repozytorium
10.11.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
3
Skrypty
2
Komentarze HTML
1
Adresy URL w SKILL.md
0
Przestarzałość

Brak sygnałów. Repozytorium zmienione 10.11.2026, bez odwołań do wycofanych modeli i API.

Licencja

Apache-2.0, otwarta: można używać i zmieniać, z zachowaniem licencji i informacji o zmianach.

Co sprawdzić przed instalacją
  • 2 skrypty w paczce. Przejrzyj je przed instalacją, bo Claude może je uruchomić.
  • SKILL.md zawiera komentarze HTML (1). Nie widać ich w podglądzie Markdown, a model je czyta.

Skrypty: gemini.py, test_gemini.py

Co robi i kiedy

Obsługuje Gemini: generuje obrazy, analizuje wideo i YouTube oraz odpowiada na pytania z podanych źródeł z cytowaniem.

Wyzwalacze z opisu

gemininano bananamake an imagegenerate imagesmake a picture or thumbnail or posterwatch this videowhat happens in this videosummarize this YouTube
Oryginalny opis (EN)

Use when the user says "gemini", "nano banana", "make an image", "generate images", "make a picture or thumbnail or poster", "watch this video", "what happens in this video", "summarize this YouTube", "notebook", "notebooklm", "answer from these sources", "cite the sources", or hands over a video file, a YouTube link, or a folder of md, txt or pdf sources with a question.

Jak działa

  1. image
  2. video
  3. ask (notebook)
  4. Setup and errors
Sekcje z nagłówków SKILL.md, w oryginale · 55 linii, 543 słów
Podgląd SKILL.md
---
name: gemini
description: Use when the user says "gemini", "nano banana", "make an image", "generate images", "make a picture or thumbnail or poster", "watch this video", "what happens in this video", "summarize this YouTube", "notebook", "notebooklm", "answer from these sources", "cite the sources", or hands over a video file, a YouTube link, or a folder of md, txt or pdf sources with a question.
---

# Gemini

One script, three jobs: images with Nano Banana, answers about a video, and notebook answers grounded in a folder of sources.

The key comes from `GEMINI_API_KEY` in the env, else the one saved in Switchboard (Settings, Accounts, API keys). `zsh -ic` also picks up an old one from `~/.zshrc`:

```bash
zsh -ic 'python3 ~/.claude/skills/gemini/gemini.py "$@"' _ image "a lighthouse at dawn, film grain"
zsh -ic 'python3 ~/.claude/skills/gemini/gemini.py "$@"' _ video ~/Movies/talk.mp4 "What are the main points?"
zsh -ic 'python3 ~/.claude/skills/gemini/gemini.py "$@"' _ ask ./sources "What changed in v2?" --report report.md
```

The `_` fills `$0`; everything after it reaches the script as-is, so quote each argument once.

## image

`image PROMPT [-n 4] [--aspect 16:9] [--ref IMAGE] [--out gemini-images]`

- Makes N images (one call each) and prints each saved path.
- `--aspect`: 1:1, 3:4, 4:3, 9:16, 16:9, 21:9 and the other ratios the model takes.
- `--ref`: a style or reference image sent with the prompt ("in the style of this", "keep this character").
- Model: `gemini-nano-banana-2.1`. Set `GEMINI_IMAGE_MODEL=gemini-3-pro-image` for Nano Banana Pro.
- After it runs, Read one or two of the files to check them before telling the user they are good.

## video

`video FILE_OR_YOUTUBE_URL QUESTION [--out FILE]`

- Local file: uploaded through the Files API, then asked. Long uploads take minutes; run it in the background for big files.
- YouTube URL (public only; watch, shorts, live, embed, music.youtube.com, youtu.be): sent as a link, no download.
- Any other URL (Instagram, TikTok, X): refused. If a local download already exists, pass that file. Do not download it.
- If the call fails (503 or 429), do not cycle models: pull frames with `ffmpeg -i FILE -vf "fps=1,scale=360:-2,tile=4x3" sheet%02d.jpg` and Read the sheets. On-screen text and captions read fine.
- The answer asks for a MM:SS timestamp per point and is saved next to the video as `<name>.gemini.md` (YouTube: `youtube-<id>.gemini.md` in the current folder).

## ask (notebook)

`ask SOURCES_DIR QUESTION [--report FILE]`

- Sources: every `.md`, `.markdown`, `.txt` and `.pdf` in the folder, plus `urls.txt` (one URL per line, `#` comments allowed, first 20 used). Other files are skipped with a note.
- PDFs go inline until the request nears 20MB, then through the Files API. Text sources over 100MB in total are refused.
- Gemini answers only from those sources and cites each claim as `[file name]` or `[url]`. If the sources do not cover it, it says so.
- `--report` writes the answer and the source list to a markdown file.
- Pass the answer on with its citations intact. Do not fill gaps from your own knowledge without saying so.

## Setup and errors

- Key: paste it in Switchboard, Settings, Accounts, API keys (from aistudio.google.com/apikey); it lives in the macOS Keychain (service `switchboard`). `GEMINI_API_KEY` in the env wins. Missing key prints one line saying so and exits 1.
- Never print, echo or log the key, and never put it in a URL. The script sends it as the `x-goog-api-key` header and masks it in errors.
- Text model: `gemini-3.8-flash`, change with `GEMINI_MODEL`.
- Exit 0 ok, 1 config or API error (one line on stderr starting `gemini:`), 2 bad arguments.
- Tests (offline, fake server): `python3 ~/.claude/skills/gemini/test_gemini.py`

<!-- switchboard generic copy -->
Pliki w paczce (3)
  • SKILL.md 4 KB
  • gemini.py 12 KB
  • test_gemini.py 16 KB

Wersje

RepozytoriumWynikLicencja
Ta strona · kennykennethkkang/switchboard100Apache-2.0
chrishuffman5/domain-expert100MIT
davila7/claude-code-templates100MIT
machina-sports/sports-skills100MIT
cloro-dev/skills100MIT
G1Joshi/Agent-Skills100MIT
giuseppe-trisciuoglio/developer-kit100MIT
jdrhyne/agent-skills100MIT
ondrej-svec/heart-of-gold-toolkit100MIT

Migawka bazy z 13.11.2026 · wersja paczki 5da14d6e0c57 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 0 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100gemini-image
    Generuje i edytuje obrazy narzędziem Antigravity z rodziny Nano Banana na subskrypcji Google AI, uruchamiając CLI agy bez interfejsu.
  • 100analyze-youtube
    Analizuje filmy z YouTube natywnym rozumieniem wideo Gemini: streszcza, wydobywa wnioski i odpowiada na pytania o film.
  • 100video-query
    Analizuje pliki wideo przez Google Gemini API i odpowiada na pytania o ich zawartość.
  • 100ac-tools-video-query
    Analizuje pliki wideo przez Google Gemini API i odpowiada na pytania o ich zawartość.
  • 100banana-youtube
    Generuje wyraziste, kontrastowe miniatury YouTube z dramatycznym kadrowaniem i przesadzonymi minami, w kompozycjach nastawionych na kliknięcia, przez Gemini.
  • 100google-image-gen
    Generuje lub edytuje obrazy przez API Gemini z kluczem użytkownika i zapisuje je w pliku, gdy użytkownik wprost prosi o Google.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.