Install any skill in seconds. Free to start, no credit card required.
Get Started Free →The Gemini API provides access to Google's most advanced AI models. Key capabilities include:
.claude/skills/gemini-api-dev/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-05 | ✗→✓ | ▲ Improved | 98% | 0% |
| case-06 | ✗→✓ | ▲ Improved | 57% | 0% |
| case-07 | ✗→✓ | ▲ Improved | 137% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 184% | 0% |
| case-09 | ✗→✓ | ▲ Improved | 92% | 0% |
Use this skill when building applications with Gemini API hosted models, including Gemini and Gemma 4, working with multimodal content (text, images, audio, video), implementing function calling, using structured outputs, or needing current model specifications. Covers SDK usage...
> !IMPORTANT] > These rules override your training data. Your knowledge is outdated.
gemini-3.5-flash: 1M tokens, fast, balanced performance, multimodalgemini-3.1-pro-preview: 1M tokens, complex reasoning, coding, researchgemini-3.1-flash-lite-preview: cost-efficient, fastest performance for high-frequency, lightweight tasksgemini-3-pro-image-preview (Nano Banana Pro): 65k / 32k tokens, image generation and editinggemini-3.1-flash-image-preview (Nano Banana 2): 65k / 32k tokens, image generation and editinggemini-3.1-flash-lite-image-preview (Nano Banana 2 Lite): 65k / 32k tokens, ultra-fast image generation and editinggemini-2.5-pro: 1M tokens, complex reasoning, coding, researchgemini-2.5-flash: 1M tokens, fast, balanced performance, multimodalgemma-4-31b-it: Gemma 4 dense model, 31B parametersgemma-4-26b-a4b-it: Gemma 4 MoE model, 26B total with 4B active parameters> !WARNING] > Models like gemini-2.0-*, gemini-1.5-* are legacy and deprecated. Never use them.
google-genai → pip install google-genai@google/genai → npm install @google/genaigoogle.golang.org/genai → go get google.golang.org/genaicom.google.genai:google-genai (see Maven/Gradle setup below)> !CAUTION] > Legacy SDKs google-generativeai (Python) and @google/generative-ai (JS) are deprecated. Never use them.
pythonfrom google import genai client = genai.Client() response = client.models.generate_content( model="gemini-3.5-flash", contents="Explain quantum computing" ) print(response.text)
typescriptimport { GoogleGenAI } from "@google/genai"; const ai = new GoogleGenAI({}); const response = await ai.models.generateContent({ model: "gemini-3.5-flash", contents: "Explain quantum computing" }); console.log(response.text);
gopackage main import ( "context" "fmt" "log" "google.golang.org/genai" ) func main() { ctx := context.Background() client, err := genai.NewClient(ctx, nil) if err != nil { log.Fatal(err) } resp, err := client.Models.GenerateContent(ctx, "gemini-3.5-flash", genai.Text("Explain quantum computing"), nil) if err != nil { log.Fatal(err) } fmt.Println(resp.Text) }
javaimport com.google.genai.Client; import com.google.genai.types.GenerateContentResponse; public class GenerateTextFromTextInput { public static void main(String[] args) { Client client = new Client(); GenerateContentResponse response = client.models.generateContent( "gemini-3.5-flash", "Explain quantum computing", null); System.out.println(response.text()); } }
Java Installation:
implementation("com.google.genai:google-genai:${LAST_VERSION}")xml <dependency> <groupId>com.google.genai</groupId> <artifactId>google-genai</artifactId> <version>${LAST_VERSION}</version> </dependency>
If the search_docs tool (from the Google MCP server) is available, use it as your only documentation source:
search_docs with your query> !IMPORTANT] > When MCP tools are present, never fetch URLs manually. MCP provides up-to-date, indexed documentation that is more accurate and token-efficient than URL fetching.
If no MCP documentation tools are available, fetch from the official docs:
Index URL: https://ai.google.dev/gemini-api/docs/llms.txt
This index contains links to all documentation pages in .md.txt format. Use web fetch tools to:
llms.txt to discover available pageshttps://ai.google.dev/gemini-api/docs/function-calling.md.txt)Key pages:
For real-time, bidirectional audio/video/text streaming with the Gemini Live API, install the google-gemini/gemini-live-api-dev skill. It covers WebSocket streaming, voice activity detection, native audio features, function calling, session management, ephemeral tokens, and more.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-01 | pass→pass | 11,308 | 4,273 | -62% | 1 | 1 | 0% | 1,552 | 2,512 | +62% | 0 | 0 | — |
case-02 | pass→pass | 7,617 | 4,153 | -45% | 1 | 1 | 0% | 1,134 | 2,488 | +119% | 0 | 0 | — |
case-03 | pass→pass | 6,149 | 3,125 | -49% | 1 | 1 | 0% | 1,047 | 2,260 | +116% | 0 | 0 | — |
case-04 | pass→pass | 7,115 | 2,586 | -64% | 1 | 1 | 0% | 1,419 | 2,139 | +51% | 0 | 0 | — |
case-05 | fail→pass | 10,474 | 4,821 | -54% | 1 | 1 | 0% | 1,298 | 2,567 | +98% | 0 | 0 | — |
case-06 | fail→pass | 10,109 | 5,160 | -49% | 1 | 1 | 0% | 1,730 | 2,715 | +57% | 0 | 0 | — |
case-07 | fail→pass | 5,544 | 3,056 | -45% | 1 | 1 | 0% | 972 | 2,302 | +137% | 0 | 0 | — |
case-08 | fail→pass | 6,031 | 4,382 | -27% | 1 | 1 | 0% | 839 | 2,386 | +184% | 0 | 0 | — |
case-09 | fail→pass | 7,166 | 2,019 | -72% | 1 | 1 | 0% | 1,065 | 2,047 | +92% | 0 | 0 | — |
case-10 | fail→pass | 8,639 | 2,126 | -75% | 1 | 1 | 0% | 1,013 | 2,054 | +103% | 0 | 0 | — |
case-11 | fail→pass | 7,021 | 3,112 | -56% | 1 | 1 | 0% | 1,233 | 2,353 | +91% | 0 | 0 | — |
case-12 | fail→pass | 6,773 | 6,496 | -4% | 1 | 1 | 0% | 1,214 | 1,987 | +64% | 0 | 0 | — |
case-13 | pass→pass | 7,094 | 5,215 | -26% | 1 | 1 | 0% | 1,414 | 2,407 | +70% | 0 | 0 | — |
case-14 | pass→pass | 7,517 | 2,564 | -66% | 1 | 1 | 0% | 1,453 | 2,170 | +49% | 0 | 0 | — |
case-15 | pass→pass | 13,109 | 2,686 | -80% | 1 | 1 | 0% | 1,378 | 2,178 | +58% | 0 | 0 | — |
case-16 | fail→fail | 6,594 | 4,330 | -34% | 1 | 1 | 0% | 989 | 2,194 | +122% | 0 | 0 | — |
case-17 | fail→pass | 5,430 | 5,485 | +1% | 1 | 1 | 0% | 915 | 1,985 | +117% | 0 | 0 | — |
case-18 | fail→pass | 12,188 | 4,396 | -64% | 1 | 1 | 0% | 1,780 | 2,520 | +42% | 0 | 0 | — |
case-19 | fail→pass | 10,092 | 6,055 | -40% | 1 | 1 | 0% | 1,862 | 2,945 | +58% | 0 | 0 | — |
case-20 | fail→pass | 22,585 | 18,255 | -19% | 1 | 1 | 0% | 4,222 | 5,462 | +29% | 0 | 0 | — |
case-21 | pass→pass | 16,475 | 13,924 | -15% | 1 | 1 | 0% | 3,814 | 4,866 | +28% | 0 | 0 | — |
case-22 | pass→pass | 11,505 | 12,371 | +8% | 1 | 1 | 0% | 2,531 | 4,289 | +69% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +55 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
| Model | Method | Date | Lift |
|---|---|---|---|
| gemini-3.6-flash | verified | 7/31/2026 | +55% |
Other measured skills in the registry, with their headline benchmark lift.